@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public class TableRecordReaderImpl extends Object
Constructor and Description |
---|
TableRecordReaderImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
|
ImmutableBytesWritable |
createKey()
Deprecated.
|
Result |
createValue()
Deprecated.
|
long |
getPos()
Deprecated.
|
float |
getProgress()
Deprecated.
|
void |
init()
Deprecated.
Build the scanner.
|
boolean |
next(ImmutableBytesWritable key,
Result value)
Deprecated.
|
void |
restart(byte[] firstRow)
Deprecated.
Restart from survivable exceptions by creating a new scanner.
|
void |
setEndRow(byte[] endRow)
Deprecated.
|
void |
setHTable(HTable htable)
Deprecated.
|
void |
setInputColumns(byte[][] inputColumns)
Deprecated.
|
void |
setRowFilter(Filter rowFilter)
Deprecated.
|
void |
setStartRow(byte[] startRow)
Deprecated.
|
public void restart(byte[] firstRow) throws IOException
firstRow
- IOException
public void init() throws IOException
IOException
public void setInputColumns(byte[][] inputColumns)
inputColumns
- the columns to be placed in Result
.public void setStartRow(byte[] startRow)
startRow
- the first row in the splitpublic void setEndRow(byte[] endRow)
endRow
- the last row in the splitpublic void setRowFilter(Filter rowFilter)
rowFilter
- the Filter
to be used.public void close()
public ImmutableBytesWritable createKey()
RecordReader.createKey()
public Result createValue()
RecordReader.createValue()
public long getPos()
public float getProgress()
public boolean next(ImmutableBytesWritable key, Result value) throws IOException
key
- HStoreKey as input key.value
- MapWritable as input valueIOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.