public interface TableReader extends TableOperation
Acts as a container for one or more RowReader elements and
encapsulates the HBase client Get operations for use in read operations across one or more graph rows.
RowReader| Modifier and Type | Method and Description |
|---|---|
void |
addRowReader(String rowKey,
RowReader rowContext) |
void |
addRowReader(UUID uuid,
RowReader rowContext)
Adds the given row reader context mapping it to the given UUID.
|
void |
clear()
Frees resources associated with this reader and any component readers.
|
RowReader |
createRowReader(commonj.sdo.DataObject dataObject,
CellValues resultRow)
Creates and adds a row reader based on the given data object and result
row.
|
List<RowReader> |
getAllRowReaders()
Returns all row reader context values for this table context.
|
String |
getQualifiedLogicalTableName()
Returns the qualified logical table name associated with this reader.
|
String |
getQualifiedPhysicalTableName()
Returns the qualified physical table name associated with this reader.
|
String |
getQualifiedPhysicalTableNamespace()
Returns the qualified physical table namespace associated with this reader.
|
RowReader |
getRowReader(byte[] rowKey)
Returns the row reader context for the given row key or null if null exists
|
RowReader |
getRowReader(commonj.sdo.DataObject dataObject)
Returns the row reader context for the given data object or null if null
exists
|
RowReader |
getRowReader(String rowKey)
Returns the row reader context for the given row key or null if null exists
|
RowReader |
getRowReader(UUID uuid)
Returns the row reader context for the given UUID or null if null exists
|
close, getDistributedOperation, getTablegetMappingContext, getTableConfigString getQualifiedLogicalTableName()
String getQualifiedPhysicalTableName()
String getQualifiedPhysicalTableNamespace()
RowReader getRowReader(UUID uuid)
uuid - the UUIDRowReader getRowReader(byte[] rowKey)
rowKey - the row key bytesRowReader getRowReader(String rowKey)
rowKey - the row key stringRowReader getRowReader(commonj.sdo.DataObject dataObject)
dataObject - the data objectvoid addRowReader(UUID uuid, RowReader rowContext) throws IllegalArgumentException
uuid - the UUIDrowContext - the row reader contextIllegalArgumentException - if an existing row reader is already mapped for the given UUIDvoid addRowReader(String rowKey, RowReader rowContext) throws IllegalArgumentException
IllegalArgumentExceptionRowReader createRowReader(commonj.sdo.DataObject dataObject, CellValues resultRow) throws IllegalArgumentException
dataObject - the data objectIllegalArgumentException - if an existing row reader is already mapped for the given data
object UUIDList<RowReader> getAllRowReaders()
void clear()
Copyright © 2021. All Rights Reserved.