public abstract class ByteBufferKeyFactory extends Object implements ConfigurableKeyFactory
table and
data graph specific
configuration information, such as the hashing algorithm and field level row
and column model settings, as well as java ByteBuffer for composite row and column key creation using byte arrays.
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.
StoreMapping,
TableMapping,
DataGraphMapping| Modifier and Type | Field and Description |
|---|---|
protected ByteBuffer |
buf |
protected int |
bufsize |
protected Charset |
charset |
protected DataGraphMapping |
graph |
protected KeySupport |
keySupport |
protected org.plasma.sdo.PlasmaType |
rootType |
protected TableMapping |
table |
| Modifier | Constructor and Description |
|---|---|
protected |
ByteBufferKeyFactory(org.plasma.sdo.PlasmaType rootType,
StoreMappingContext mappingContext)
Constructor given pure metadata without any operational state, which looks
up table and data graph specific configuration information for the given
SDO type.
|
protected |
ByteBufferKeyFactory(RowOperation rowOperation)
Constructor for read/write operations where we have already found or are
creating the underlying row.
|
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
getBuf() |
DataGraphMapping |
getGraph() |
org.plasma.sdo.PlasmaType |
getRootType() |
TableMapping |
getTable() |
protected int bufsize
protected ByteBuffer buf
protected Charset charset
protected KeySupport keySupport
protected TableMapping table
protected DataGraphMapping graph
protected org.plasma.sdo.PlasmaType rootType
protected ByteBufferKeyFactory(RowOperation rowOperation)
rowOperation - protected ByteBufferKeyFactory(org.plasma.sdo.PlasmaType rootType,
StoreMappingContext mappingContext)
rootType - the SDO typepublic TableMapping getTable()
getTable in interface ConfigurableKeyFactorypublic DataGraphMapping getGraph()
getGraph in interface ConfigurableKeyFactorypublic ByteBuffer getBuf()
public org.plasma.sdo.PlasmaType getRootType()
getRootType in interface ConfigurableKeyFactoryCopyright © 2021. All Rights Reserved.