public class RangeInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
Modifier | Constructor and Description |
---|---|
|
RangeInputSplit() |
|
RangeInputSplit(RangeInputSplit split) |
protected |
RangeInputSplit(String table,
String tableId,
Range range,
String[] locations) |
Modifier and Type | Method and Description |
---|---|
Authorizations |
getAuths() |
Set<org.apache.accumulo.core.util.Pair<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>> |
getFetchedColumns() |
Instance |
getInstance()
Deprecated.
since 1.7.0, use getInstance(ClientConfiguration) instead.
|
Instance |
getInstance(ClientConfiguration base) |
String |
getInstanceName() |
List<IteratorSetting> |
getIterators() |
long |
getLength()
This implementation of length is only an estimate, it does not provide exact values.
|
String[] |
getLocations() |
org.apache.log4j.Level |
getLogLevel() |
String |
getPrincipal() |
static float |
getProgress(ByteSequence start,
ByteSequence end,
ByteSequence position) |
float |
getProgress(Key currentKey) |
Range |
getRange() |
SamplerConfiguration |
getSamplerConfiguration() |
String |
getTable()
Deprecated.
since 1.6.1, use getTableName() instead.
|
String |
getTableId() |
String |
getTableName() |
AuthenticationToken |
getToken() |
String |
getZooKeepers() |
Boolean |
isIsolatedScan() |
Boolean |
isMockInstance()
Deprecated.
since 1.8.0; use MiniAccumuloCluster or a standard mock framework
|
Boolean |
isOffline() |
void |
readFields(DataInput in) |
void |
setAuths(Authorizations auths) |
void |
setFetchedColumns(Collection<org.apache.accumulo.core.util.Pair<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>> fetchedColumns) |
void |
setFetchedColumns(Set<org.apache.accumulo.core.util.Pair<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>> fetchedColumns) |
void |
setInstanceName(String instanceName) |
void |
setIsolatedScan(Boolean isolatedScan) |
void |
setIterators(List<IteratorSetting> iterators) |
void |
setLocations(String[] locations) |
void |
setLogLevel(org.apache.log4j.Level level) |
void |
setMockInstance(Boolean mockInstance)
Deprecated.
since 1.8.0; use MiniAccumuloCluster or a standard mock framework
|
void |
setOffline(Boolean offline) |
void |
setPrincipal(String principal) |
void |
setRange(Range range) |
void |
setSamplerConfiguration(SamplerConfiguration samplerConfiguration) |
void |
setTable(String table)
Deprecated.
since 1.6.1, use setTableName() instead.
|
void |
setTableId(String tableId) |
void |
setTableName(String table) |
void |
setToken(AuthenticationToken token) |
void |
setToken(String tokenFile) |
void |
setUsesLocalIterators(Boolean localIterators) |
void |
setZooKeepers(String zooKeepers) |
String |
toString() |
Boolean |
usesLocalIterators() |
void |
write(DataOutput out) |
public RangeInputSplit()
public RangeInputSplit(RangeInputSplit split) throws IOException
IOException
public Range getRange()
public static float getProgress(ByteSequence start, ByteSequence end, ByteSequence position)
public float getProgress(Key currentKey)
public long getLength() throws IOException
getLength
in class org.apache.hadoop.mapreduce.InputSplit
IOException
public String[] getLocations() throws IOException
getLocations
in class org.apache.hadoop.mapreduce.InputSplit
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
@Deprecated public String getTable()
getTableName()
public String getTableName()
@Deprecated public void setTable(String table)
public void setTableName(String table)
public void setTableId(String tableId)
public String getTableId()
@Deprecated public Instance getInstance()
getInstance(ClientConfiguration)
public Instance getInstance(ClientConfiguration base)
public String getInstanceName()
public void setInstanceName(String instanceName)
public String getZooKeepers()
public void setZooKeepers(String zooKeepers)
public String getPrincipal()
public void setPrincipal(String principal)
public AuthenticationToken getToken()
public void setToken(AuthenticationToken token)
public void setToken(String tokenFile)
public Boolean isOffline()
public void setOffline(Boolean offline)
public void setLocations(String[] locations)
@Deprecated public Boolean isMockInstance()
@Deprecated public void setMockInstance(Boolean mockInstance)
public Boolean isIsolatedScan()
public void setIsolatedScan(Boolean isolatedScan)
public Authorizations getAuths()
public void setAuths(Authorizations auths)
public void setRange(Range range)
public Boolean usesLocalIterators()
public void setUsesLocalIterators(Boolean localIterators)
public Set<org.apache.accumulo.core.util.Pair<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>> getFetchedColumns()
public void setFetchedColumns(Collection<org.apache.accumulo.core.util.Pair<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>> fetchedColumns)
public void setFetchedColumns(Set<org.apache.accumulo.core.util.Pair<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>> fetchedColumns)
public List<IteratorSetting> getIterators()
public void setIterators(List<IteratorSetting> iterators)
public org.apache.log4j.Level getLogLevel()
public void setLogLevel(org.apache.log4j.Level level)
public void setSamplerConfiguration(SamplerConfiguration samplerConfiguration)
public SamplerConfiguration getSamplerConfiguration()
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.