public class PredicateColumnFilterAssembler extends ColumnPredicateVisitor implements PredicateFilterAssembler
CompositeColumnKeyFactory. Processes visitor events for query model
elements specific to assembly of HBase column filters, such as properties,
wildcards, literals, logical operators, relational operators, within the
context of HBase filter hierarchy assembly. Maintains various context
information useful to subclasses.
HBase filters may be collected into lists using FilterList each with a MUST_PASS_ALL or MUST_PASS_ONE (logical) operator. Lists may then be assembled into hierarchies used to represent complex expression trees filtering either rows or columns in HBase.
key.CompositeColumnKeyFactorycolumnKeyFac, contextPropertyPath, contextQueryProperty, predicateUtilcontextHBaseCompareOp, contextOpWildcard, contextProperty, contextType, contextWildcardOperatorfilterStack, params, rootFilter, rootType| Constructor and Description |
|---|
PredicateColumnFilterAssembler(org.plasma.sdo.PlasmaType rootType,
StoreMappingContext mappingContext)
Constructor which takes a
query where
clause containing any number of predicates and traverses these as a
{org.plasma.query.visitor.QueryVisitor visitor} only processing various
traversal events as needed against the given root type. |
| Modifier and Type | Method and Description |
|---|---|
void |
assemble(org.plasma.query.model.Where where,
org.plasma.sdo.PlasmaType contextType)
Assembles a predicate filter list or hierarchy based on one or more given
query predicates.
|
void |
clear() |
protected void |
log(org.plasma.query.model.Where root) |
end, start, start, start, start, start, startstart, startfilterTokens, getFilter, getParams, popFilter, pushFilter, pushFiltergetChildExpressionCount, getChildExpressions, getLogicalOperatorCount, hasChildExpressions, hasWildcardend, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, getContext, start, start, start, start, start, start, start, start, start, start, start, start, start, start, start, start, startclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFilterpublic PredicateColumnFilterAssembler(org.plasma.sdo.PlasmaType rootType,
StoreMappingContext mappingContext)
query where
clause containing any number of predicates and traverses these as a
{org.plasma.query.visitor.QueryVisitor visitor} only processing various
traversal events as needed against the given root type.where - where the where clausecontextType - the current SDO typerootType - the graph root typeQueryVisitor,
Querypublic void assemble(org.plasma.query.model.Where where,
org.plasma.sdo.PlasmaType contextType)
PredicateFilterAssemblerassemble in interface PredicateFilterAssemblerwhere - the where clausecontextType - the context type which may be the root type or another type linked
by one or more relations to the rootpublic void clear()
clear in interface Assemblerclear in class PredicateVisitorprotected void log(org.plasma.query.model.Where root)
log in class FilterHierarchyAssemblerCopyright © 2021. All Rights Reserved.