public class GraphRowReader extends DefaultRowOperation implements RowReader
Acts as a single component within a TableReader container and
encapsulates the HBase client Get operation for use in read operations across multiple logical
entities within a graph row.
TableReadercolumnKeyFactory, graphConfig, ROOT_TYPE_DELIM, rootDataObject, rowKey, sequenceMapping| Constructor and Description |
|---|
GraphRowReader(byte[] rowKey,
CellValues result,
commonj.sdo.DataObject rootDataObject,
TableReader tableReader,
StoreMappingContext mappingContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Frees resources associated with this reader.
|
org.plasma.sdo.PlasmaType |
decodeType(byte[] bytes) |
boolean |
edgeExists(org.plasma.sdo.PlasmaType type,
org.plasma.sdo.PlasmaProperty property,
long sequence) |
EdgeReader |
getEdgeReader(org.plasma.sdo.PlasmaType type,
org.plasma.sdo.PlasmaProperty property,
long sequence) |
StoreMappingContext |
getMappingContext() |
CellValues |
getRow() |
TableReader |
getTableReader() |
addDataObject, addDataObject, contains, contains, contains, contains, getColumnKeyFactory, getDataGraph, getDataObject, getDataObject, getHashCode, getHashCode, getHashCode, getHashCode, getHashCode, getHashCode, getRootDataObject, getRootType, getRowKey, getSequenceMappingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDataObject, addDataObject, contains, contains, contains, contains, getColumnKeyFactory, getDataGraph, getDataObject, getDataObject, getRootDataObject, getRootType, getRowKey, getSequenceMappingpublic GraphRowReader(byte[] rowKey,
CellValues result,
commonj.sdo.DataObject rootDataObject,
TableReader tableReader,
StoreMappingContext mappingContext)
public CellValues getRow()
public TableReader getTableReader()
getTableReader in interface RowReaderpublic StoreMappingContext getMappingContext()
getMappingContext in interface RowOperationpublic void clear()
public EdgeReader getEdgeReader(org.plasma.sdo.PlasmaType type, org.plasma.sdo.PlasmaProperty property, long sequence) throws IOException
getEdgeReader in interface RowReaderIOExceptionpublic boolean edgeExists(org.plasma.sdo.PlasmaType type,
org.plasma.sdo.PlasmaProperty property,
long sequence)
throws IOException
edgeExists in interface RowReaderIOExceptionpublic org.plasma.sdo.PlasmaType decodeType(byte[] bytes)
decodeType in interface RowReaderCopyright © 2021. All Rights Reserved.