public class PartialRowKeyScanAssembler extends Object implements RowKeyScanAssembler, PartialRowKey
DataGraphMapping,
TableMapping,
DataField,
MetaField,
MetaFieldName| Modifier and Type | Field and Description |
|---|---|
protected int |
bufsize |
protected Charset |
charset |
protected DataGraphMapping |
graph |
protected KeySupport |
keySupport |
protected StoreMappingContext |
mappingContext |
protected org.plasma.sdo.PlasmaType |
rootType |
protected String |
rootUUID |
protected ScanLiterals |
scanLiterals |
protected ByteBuffer |
startKey |
protected int |
startRowFieldCount |
protected ByteBuffer |
stopKey |
protected int |
stopRowFieldCount |
protected TableMapping |
table |
| Constructor and Description |
|---|
PartialRowKeyScanAssembler(org.plasma.sdo.PlasmaType rootType,
StoreMappingContext mappingContext)
Constructor
|
PartialRowKeyScanAssembler(org.plasma.sdo.PlasmaType rootType,
String rootUUID,
StoreMappingContext mappingContext)
Constructor which enables the use of data object UUID as a pre-defined row
key field.
|
| Modifier and Type | Method and Description |
|---|---|
void |
assemble()
Assemble row key scan information based only on any meta row-key fields
such as the data graph root type or URI.
|
void |
assemble(ScanLiterals literals)
Assemble row key scan information based on the given scan literals as well
as meta row-key fields such as the data graph root type or URI.
|
void |
assemble(org.plasma.query.model.Where where,
org.plasma.sdo.PlasmaType contextType)
Assemble row key scan information based on one or more given query
predicates.
|
byte[] |
getStartKey()
Returns the start row key as a byte array.
|
byte[] |
getStopKey()
Returns the stop row key as a byte array.
|
protected int bufsize
protected ByteBuffer startKey
protected ByteBuffer stopKey
protected org.plasma.sdo.PlasmaType rootType
protected StoreMappingContext mappingContext
protected DataGraphMapping graph
protected TableMapping table
protected KeySupport keySupport
protected Charset charset
protected ScanLiterals scanLiterals
protected int startRowFieldCount
protected int stopRowFieldCount
protected String rootUUID
public PartialRowKeyScanAssembler(org.plasma.sdo.PlasmaType rootType,
StoreMappingContext mappingContext)
rootType - the root typepublic PartialRowKeyScanAssembler(org.plasma.sdo.PlasmaType rootType,
String rootUUID,
StoreMappingContext mappingContext)
rootType - the root typerootUUID - the root UUID.public void assemble()
assemble in interface RowKeyScanAssemblerMetaField,
MetaFieldNamepublic void assemble(ScanLiterals literals)
assemble in interface RowKeyScanAssemblerliteralList - the scan literalsMetaField,
MetaFieldNamepublic void assemble(org.plasma.query.model.Where where,
org.plasma.sdo.PlasmaType contextType)
assemble in interface RowKeyScanAssemblerwhere - the row predicate hierarchycontextType - the context type which may be the root type or another type linked
by one or more relations to the rootpublic byte[] getStartKey()
getStartKey in interface PartialRowKeyIllegalStateException - if row keys are not yet assembledpublic byte[] getStopKey()
getStopKey in interface PartialRowKeyIllegalStateException - if row keys are not yet assembledCopyright © 2021. All Rights Reserved.