Class BatchInputSplit
- java.lang.Object
-
- org.apache.hadoop.mapreduce.InputSplit
-
- org.apache.accumulo.core.client.mapreduce.RangeInputSplit
-
- org.apache.accumulo.core.clientImpl.mapreduce.BatchInputSplit
-
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
- Direct Known Subclasses:
BatchInputSplit
@Deprecated public class BatchInputSplit extends RangeInputSplit
Deprecated.since 2.0.0The Class BatchInputSplit. Encapsulates a set of Accumulo ranges on a single tablet for use in Map Reduce jobs. Can contain several Ranges per split.
-
-
Constructor Summary
Constructors Constructor Description BatchInputSplit()Deprecated.BatchInputSplit(String table, TableId tableId, Collection<Range> ranges, String[] locations)Deprecated.BatchInputSplit(BatchInputSplit split)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description longgetLength()Deprecated.This implementation of length is only an estimate, it does not provide exact values.floatgetProgress(Key currentKey)Deprecated.Save progress on each call to this function, implied by value of currentKey, and return average ranges in the splitRangegetRange()Deprecated.Collection<Range>getRanges()Deprecated.BooleanisIsolatedScan()Deprecated.BooleanisOffline()Deprecated.voidreadFields(DataInput in)Deprecated.voidsetIsolatedScan(Boolean isolatedScan)Deprecated.voidsetOffline(Boolean offline)Deprecated.voidsetRange(Range range)Deprecated.voidsetRanges(Collection<Range> ranges)Deprecated.voidsetUsesLocalIterators(Boolean localIterators)Deprecated.StringtoString()Deprecated.BooleanusesLocalIterators()Deprecated.voidwrite(DataOutput out)Deprecated.-
Methods inherited from class org.apache.accumulo.core.client.mapreduce.RangeInputSplit
getAuths, getFetchedColumns, getInstance, getInstance, getInstanceName, getIterators, getLocations, getLogLevel, getPrincipal, getProgress, getSamplerConfiguration, getTable, getTableId, getTableName, getToken, getZooKeepers, setAuths, setFetchedColumns, setFetchedColumns, setInstanceName, setIterators, setLocations, setLogLevel, setPrincipal, setSamplerConfiguration, setTable, setTableId, setTableName, setToken, setToken, setZooKeepers
-
-
-
-
Constructor Detail
-
BatchInputSplit
public BatchInputSplit()
Deprecated.
-
BatchInputSplit
public BatchInputSplit(BatchInputSplit split) throws IOException
Deprecated.- Throws:
IOException
-
BatchInputSplit
public BatchInputSplit(String table, TableId tableId, Collection<Range> ranges, String[] locations)
Deprecated.
-
-
Method Detail
-
getProgress
public float getProgress(Key currentKey)
Deprecated.Save progress on each call to this function, implied by value of currentKey, and return average ranges in the split- Overrides:
getProgressin classRangeInputSplit
-
getLength
public long getLength()
Deprecated.This implementation of length is only an estimate, it does not provide exact values. Do not have your code rely on this return value.- Overrides:
getLengthin classRangeInputSplit
-
readFields
public void readFields(DataInput in) throws IOException
Deprecated.- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable- Overrides:
readFieldsin classRangeInputSplit- Throws:
IOException
-
write
public void write(DataOutput out) throws IOException
Deprecated.- Specified by:
writein interfaceorg.apache.hadoop.io.Writable- Overrides:
writein classRangeInputSplit- Throws:
IOException
-
toString
public String toString()
Deprecated.- Overrides:
toStringin classRangeInputSplit
-
setRanges
public void setRanges(Collection<Range> ranges)
Deprecated.
-
getRanges
public Collection<Range> getRanges()
Deprecated.
-
getRange
public Range getRange()
Deprecated.- Overrides:
getRangein classRangeInputSplit
-
setRange
public void setRange(Range range)
Deprecated.- Overrides:
setRangein classRangeInputSplit
-
isIsolatedScan
public Boolean isIsolatedScan()
Deprecated.- Overrides:
isIsolatedScanin classRangeInputSplit
-
setIsolatedScan
public void setIsolatedScan(Boolean isolatedScan)
Deprecated.- Overrides:
setIsolatedScanin classRangeInputSplit
-
isOffline
public Boolean isOffline()
Deprecated.- Overrides:
isOfflinein classRangeInputSplit
-
setOffline
public void setOffline(Boolean offline)
Deprecated.- Overrides:
setOfflinein classRangeInputSplit
-
usesLocalIterators
public Boolean usesLocalIterators()
Deprecated.- Overrides:
usesLocalIteratorsin classRangeInputSplit
-
setUsesLocalIterators
public void setUsesLocalIterators(Boolean localIterators)
Deprecated.- Overrides:
setUsesLocalIteratorsin classRangeInputSplit
-
-