public class FuzzyRowKeyScanAssembler extends Object implements RowKeyScanAssembler, FuzzyRowKey, HBaseFilterAssembler
DataGraphMapping,
TableMapping,
DataField,
MetaField,
MetaFieldName| Modifier and Type | Field and Description |
|---|---|
protected int |
bufsize |
protected byte[] |
delimMask |
protected int |
fieldCount |
protected byte |
fixedMaskByte |
protected DataGraphMapping |
graph |
protected ByteBuffer |
infoBytes |
protected ByteBuffer |
keyBytes |
protected StoreMappingContext |
mappingContext |
protected org.plasma.sdo.PlasmaType |
rootType |
protected String |
rootUUID |
protected ScanLiterals |
scanLiterals |
protected TableMapping |
table |
protected byte |
variableMaskByte |
| Constructor and Description |
|---|
FuzzyRowKeyScanAssembler(org.plasma.sdo.PlasmaType rootType,
StoreMappingContext mappingContext)
Constructor
|
FuzzyRowKeyScanAssembler(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 pre-defined 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 pre-defined 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.
|
void |
clear() |
org.apache.hadoop.hbase.filter.Filter |
getFilter()
Returns the assembled filter, filter list or filter hierarchy root.
|
byte[] |
getFuzzyInfoBytes() |
byte[] |
getFuzzyKeyBytes() |
protected int bufsize
protected ByteBuffer keyBytes
protected ByteBuffer infoBytes
protected org.plasma.sdo.PlasmaType rootType
protected StoreMappingContext mappingContext
protected DataGraphMapping graph
protected TableMapping table
protected ScanLiterals scanLiterals
protected int fieldCount
protected String rootUUID
protected byte fixedMaskByte
protected byte variableMaskByte
protected byte[] delimMask
public FuzzyRowKeyScanAssembler(org.plasma.sdo.PlasmaType rootType,
StoreMappingContext mappingContext)
rootType - the root typepublic FuzzyRowKeyScanAssembler(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[] getFuzzyKeyBytes()
getFuzzyKeyBytes in interface FuzzyRowKeypublic byte[] getFuzzyInfoBytes()
getFuzzyInfoBytes in interface FuzzyRowKeypublic org.apache.hadoop.hbase.filter.Filter getFilter()
FuzzyRowKeygetFilter in interface HBaseFilterAssemblergetFilter in interface FuzzyRowKeyCopyright © 2021. All Rights Reserved.