@Deprecated public class BatchInputSplit extends RangeInputSplit
Constructor and Description |
---|
BatchInputSplit()
Deprecated.
|
BatchInputSplit(BatchInputSplit split)
Deprecated.
|
BatchInputSplit(String table,
Table.ID tableId,
Collection<Range> ranges,
String[] locations)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
getLength()
Deprecated.
This implementation of length is only an estimate, it does not provide exact values.
|
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
|
Range |
getRange()
Deprecated.
|
Collection<Range> |
getRanges()
Deprecated.
|
Boolean |
isIsolatedScan()
Deprecated.
|
Boolean |
isOffline()
Deprecated.
|
void |
readFields(DataInput in)
Deprecated.
|
void |
setIsolatedScan(Boolean isolatedScan)
Deprecated.
|
void |
setOffline(Boolean offline)
Deprecated.
|
void |
setRange(Range range)
Deprecated.
|
void |
setRanges(Collection<Range> ranges)
Deprecated.
|
void |
setUsesLocalIterators(Boolean localIterators)
Deprecated.
|
String |
toString()
Deprecated.
|
Boolean |
usesLocalIterators()
Deprecated.
|
void |
write(DataOutput out)
Deprecated.
|
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
public BatchInputSplit()
public BatchInputSplit(BatchInputSplit split) throws IOException
IOException
public BatchInputSplit(String table, Table.ID tableId, Collection<Range> ranges, String[] locations)
public float getProgress(Key currentKey)
getProgress
in class RangeInputSplit
public long getLength()
getLength
in class RangeInputSplit
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class RangeInputSplit
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class RangeInputSplit
IOException
public String toString()
toString
in class RangeInputSplit
public void setRanges(Collection<Range> ranges)
public Collection<Range> getRanges()
public Range getRange()
getRange
in class RangeInputSplit
public void setRange(Range range)
setRange
in class RangeInputSplit
public Boolean isIsolatedScan()
isIsolatedScan
in class RangeInputSplit
public void setIsolatedScan(Boolean isolatedScan)
setIsolatedScan
in class RangeInputSplit
public Boolean isOffline()
isOffline
in class RangeInputSplit
public void setOffline(Boolean offline)
setOffline
in class RangeInputSplit
public Boolean usesLocalIterators()
usesLocalIterators
in class RangeInputSplit
public void setUsesLocalIterators(Boolean localIterators)
setUsesLocalIterators
in class RangeInputSplit
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.