public class CompositeRowKeyExpressionFactory extends ByteBufferKeyFactory implements GraphRowKeyExpressionFactory
Row Key Model for a specific
HTable Configuration.
The initial creation and subsequent re-constitution 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 |
|---|
CompositeRowKeyExpressionFactory(org.plasma.sdo.PlasmaType rootType,
StoreMappingContext mappingContext) |
CompositeRowKeyExpressionFactory(RowOperation graphRow) |
| Modifier and Type | Method and Description |
|---|---|
String |
createRowKeyExpr(List<KeyValue> values) |
byte[] |
createRowKeyExprBytes(List<KeyValue> values) |
boolean |
hasUserDefinedRowKeyToken(commonj.sdo.Type type,
String path)
Returns true if the data graph configured for the given
type has a user defined token which maps to the
given property path. |
getBuf, getGraph, getRootType, getTablepublic CompositeRowKeyExpressionFactory(RowOperation graphRow)
public CompositeRowKeyExpressionFactory(org.plasma.sdo.PlasmaType rootType,
StoreMappingContext mappingContext)
public String createRowKeyExpr(List<KeyValue> values)
createRowKeyExpr in interface GraphRowKeyExpressionFactorypublic byte[] createRowKeyExprBytes(List<KeyValue> values)
createRowKeyExprBytes in interface GraphRowKeyExpressionFactorypublic boolean hasUserDefinedRowKeyToken(commonj.sdo.Type type,
String path)
type has a user defined token which maps to the
given property path.hasUserDefinedRowKeyToken in interface GraphRowKeyExpressionFactorytype - the SDO typepath - the property pathtype has a user defined token which maps
to the given property path.Copyright © 2021. All Rights Reserved.