Modifier and Type | Method and Description |
---|---|
Range |
Scanner.getRange()
Returns the range of keys to scan over.
|
Range |
IsolatedScanner.getRange() |
Range |
ClientSideIteratorScanner.getRange() |
Modifier and Type | Method and Description |
---|---|
void |
Scanner.setRange(Range range)
Sets the range of keys to scan over.
|
void |
IsolatedScanner.setRange(Range range) |
void |
ClientSideIteratorScanner.setRange(Range range) |
Modifier and Type | Method and Description |
---|---|
void |
BatchDeleter.setRanges(Collection<Range> ranges)
Allows deleting multiple ranges efficiently.
|
void |
BatchScanner.setRanges(Collection<Range> ranges)
Allows scanning over multiple ranges efficiently.
|
Modifier and Type | Method and Description |
---|---|
Map<Range,List<TabletId>> |
Locations.groupByRange()
For all of the ranges passed to
TableOperations.locate(String, java.util.Collection) ,
return a map of the tablets each range overlaps. |
Map<TabletId,List<Range>> |
Locations.groupByTablet()
For all of the ranges passed to
TableOperations.locate(String, java.util.Collection) ,
return a map of the ranges each tablet overlaps. |
Set<Range> |
TableOperations.splitRangeByTablets(String tableName,
Range range,
int maxSplits) |
Modifier and Type | Method and Description |
---|---|
Set<Range> |
TableOperations.splitRangeByTablets(String tableName,
Range range,
int maxSplits) |
Modifier and Type | Method and Description |
---|---|
Locations |
TableOperations.locate(String tableName,
Collection<Range> ranges)
Locates the tablet servers and tablets that would service a collections of ranges.
|
Modifier and Type | Method and Description |
---|---|
protected static List<Range> |
InputFormatBase.getRanges(org.apache.hadoop.mapred.JobConf job)
Gets the ranges to scan over from a job.
|
Modifier and Type | Method and Description |
---|---|
static void |
InputFormatBase.setRanges(org.apache.hadoop.mapred.JobConf job,
Collection<Range> ranges)
Sets the input ranges to scan for this job.
|
Constructor and Description |
---|
RangeInputSplit(String table,
Range range,
String[] locations)
Deprecated.
|
RangeInputSplit(String table,
String tableId,
Range range,
String[] locations)
Deprecated.
|
RangeInputSplit(String table,
String tableId,
Range range,
String[] locations) |
Modifier and Type | Method and Description |
---|---|
Range |
RangeInputSplit.getRange() |
Modifier and Type | Method and Description |
---|---|
List<Range> |
InputTableConfig.getRanges()
Returns the ranges to be queried in the configuration
|
protected static List<Range> |
InputFormatBase.getRanges(org.apache.hadoop.mapreduce.JobContext context)
Gets the ranges to scan over from a job.
|
Modifier and Type | Method and Description |
---|---|
void |
RangeInputSplit.setRange(Range range) |
Modifier and Type | Method and Description |
---|---|
static void |
InputFormatBase.setRanges(org.apache.hadoop.mapreduce.Job job,
Collection<Range> ranges)
Sets the input ranges to scan for the single input table associated with this job.
|
InputTableConfig |
InputTableConfig.setRanges(List<Range> ranges)
Sets the input ranges to scan for all tables associated with this job.
|
Constructor and Description |
---|
RangeInputSplit(String table,
Range range,
String[] locations)
Deprecated.
|
RangeInputSplit(String table,
String tableId,
Range range,
String[] locations)
Deprecated.
|
RangeInputSplit(String table,
String tableId,
Range range,
String[] locations) |
Modifier and Type | Method and Description |
---|---|
static List<Range> |
InputConfigurator.getRanges(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf)
Deprecated.
since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat.
|
Modifier and Type | Method and Description |
---|---|
static void |
InputConfigurator.setRanges(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf,
Collection<Range> ranges)
Deprecated.
since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat.
|
Modifier and Type | Method and Description |
---|---|
Range |
MockScanner.getRange()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MockScanner.setRange(Range range)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MockBatchScanner.setRanges(Collection<Range> ranges)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RFile.ScannerOptions |
RFile.ScannerOptions.withBounds(Range range)
This option allows limiting the
Scanner from reading data outside of a given range. |
Modifier and Type | Method and Description |
---|---|
Range |
Range.bound(Column min,
Column max)
Creates a new range that is bounded by the columns passed in.
|
Range |
Range.clip(Range range)
Creates a range which represents the intersection of this range and the passed in range.
|
Range |
Range.clip(Range range,
boolean returnNullIfDisjoint)
Creates a range which represents the intersection of this range and the passed in range.
|
static Range |
Range.exact(CharSequence row)
Creates a range that covers an exact row.
|
static Range |
Range.exact(CharSequence row,
CharSequence cf)
Creates a range that covers an exact row and column family.
|
static Range |
Range.exact(CharSequence row,
CharSequence cf,
CharSequence cq)
Creates a range that covers an exact row, column family, and column qualifier.
|
static Range |
Range.exact(CharSequence row,
CharSequence cf,
CharSequence cq,
CharSequence cv)
Creates a range that covers an exact row, column family, column qualifier, and column
visibility.
|
static Range |
Range.exact(CharSequence row,
CharSequence cf,
CharSequence cq,
CharSequence cv,
long ts)
Creates a range that covers an exact row, column family, column qualifier, column visibility,
and timestamp.
|
static Range |
Range.exact(org.apache.hadoop.io.Text row)
Creates a range that covers an exact row.
|
static Range |
Range.exact(org.apache.hadoop.io.Text row,
org.apache.hadoop.io.Text cf)
Creates a range that covers an exact row and column family.
|
static Range |
Range.exact(org.apache.hadoop.io.Text row,
org.apache.hadoop.io.Text cf,
org.apache.hadoop.io.Text cq)
Creates a range that covers an exact row, column family, and column qualifier.
|
static Range |
Range.exact(org.apache.hadoop.io.Text row,
org.apache.hadoop.io.Text cf,
org.apache.hadoop.io.Text cq,
org.apache.hadoop.io.Text cv)
Creates a range that covers an exact row, column family, column qualifier, and column
visibility.
|
static Range |
Range.exact(org.apache.hadoop.io.Text row,
org.apache.hadoop.io.Text cf,
org.apache.hadoop.io.Text cq,
org.apache.hadoop.io.Text cv,
long ts)
Creates a range that covers an exact row, column family, column qualifier, column visibility,
and timestamp.
|
static Range |
Range.prefix(CharSequence rowPrefix)
Returns a Range that covers all rows beginning with a prefix.
|
static Range |
Range.prefix(CharSequence row,
CharSequence cfPrefix)
Returns a Range that covers all column families beginning with a prefix within a given row.
|
static Range |
Range.prefix(CharSequence row,
CharSequence cf,
CharSequence cqPrefix)
Returns a Range that covers all column qualifiers beginning with a prefix within a given row
and column family.
|
static Range |
Range.prefix(CharSequence row,
CharSequence cf,
CharSequence cq,
CharSequence cvPrefix)
Returns a Range that covers all column visibilities beginning with a prefix within a given row,
column family, and column qualifier.
|
static Range |
Range.prefix(org.apache.hadoop.io.Text rowPrefix)
Returns a Range that covers all rows beginning with a prefix.
|
static Range |
Range.prefix(org.apache.hadoop.io.Text row,
org.apache.hadoop.io.Text cfPrefix)
Returns a Range that covers all column families beginning with a prefix within a given row.
|
static Range |
Range.prefix(org.apache.hadoop.io.Text row,
org.apache.hadoop.io.Text cf,
org.apache.hadoop.io.Text cqPrefix)
Returns a Range that covers all column qualifiers beginning with a prefix within a given row
and column family.
|
static Range |
Range.prefix(org.apache.hadoop.io.Text row,
org.apache.hadoop.io.Text cf,
org.apache.hadoop.io.Text cq,
org.apache.hadoop.io.Text cvPrefix)
Returns a Range that covers all column visibilities beginning with a prefix within a given row,
column family, and column qualifier.
|
Range |
KeyExtent.toDataRange()
Deprecated.
|
Range |
KeyExtent.toMetadataRange()
Deprecated.
|
Range |
TabletId.toRange() |
Modifier and Type | Method and Description |
---|---|
static List<Range> |
Range.mergeOverlapping(Collection<Range> ranges)
Merges overlapping and adjacent ranges.
|
Modifier and Type | Method and Description |
---|---|
Range |
Range.clip(Range range)
Creates a range which represents the intersection of this range and the passed in range.
|
Range |
Range.clip(Range range,
boolean returnNullIfDisjoint)
Creates a range which represents the intersection of this range and the passed in range.
|
int |
Range.compareTo(Range o)
Compares this range to another range.
|
boolean |
Range.equals(Range otherRange)
Determines if this range equals another.
|
Modifier and Type | Method and Description |
---|---|
static List<Range> |
Range.mergeOverlapping(Collection<Range> ranges)
Merges overlapping and adjacent ranges.
|
Constructor and Description |
---|
Range(Range range)
Copies a range.
|
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.