public class CompositeRowKeyFactory extends ByteBufferKeyFactory implements GraphRowKeyFactory
Row Key Model for a specific
HTable Configuration.
The initial creation and subsequent reconstitution for query retrieval purposes of both row and column keys in CloudGraph™ is efficient, as it leverages byte array level API in both Java and the current underlying SDO 2.1 implementation, PlasmaSDO™. Both composite row and column keys are composed in part of structural metadata, and the lightweight metadata API within PlasmaSDO™ contains byte-array level, cached lookup of all basic metadata elements including logical and physical type and property names.
buf, bufsize, charset, graph, keySupport, rootType, table| Constructor and Description |
|---|
CompositeRowKeyFactory(org.plasma.sdo.PlasmaType rootType,
StoreMappingContext mappingContext) |
CompositeRowKeyFactory(RowOperation graphRow) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createRowKeyBytes(commonj.sdo.DataGraph dataGraph) |
byte[] |
createRowKeyBytes(commonj.sdo.DataObject rootDataObject) |
byte[] |
createRowKeyBytes(List<KeyValue> values) |
byte[] |
createRowKeyBytes(commonj.sdo.Type type)
Creates a row key using only the given type information.
|
getBuf, getGraph, getRootType, getTablepublic CompositeRowKeyFactory(RowOperation graphRow)
public CompositeRowKeyFactory(org.plasma.sdo.PlasmaType rootType,
StoreMappingContext mappingContext)
public byte[] createRowKeyBytes(commonj.sdo.Type type)
createRowKeyBytes in interface GraphRowKeyFactorytype - the data object typepublic byte[] createRowKeyBytes(commonj.sdo.DataGraph dataGraph)
createRowKeyBytes in interface GraphRowKeyFactorypublic byte[] createRowKeyBytes(commonj.sdo.DataObject rootDataObject)
createRowKeyBytes in interface GraphRowKeyFactorypublic byte[] createRowKeyBytes(List<KeyValue> values)
createRowKeyBytes in interface GraphRowKeyFactoryCopyright © 2021. All Rights Reserved.