public abstract class FilterHierarchyAssembler extends ExpresionVisitorSupport implements HBaseFilterAssembler
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.
| Modifier and Type | Field and Description |
|---|---|
protected Stack<org.apache.hadoop.hbase.filter.FilterList> |
filterStack |
protected List<Object> |
params |
protected org.apache.hadoop.hbase.filter.FilterList |
rootFilter |
protected org.plasma.sdo.PlasmaType |
rootType |
| Modifier | Constructor and Description |
|---|---|
protected |
FilterHierarchyAssembler(org.plasma.sdo.PlasmaType rootType) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
protected String[] |
filterTokens(String[] tokens) |
org.apache.hadoop.hbase.filter.Filter |
getFilter()
Returns the assembled filter, filter list or filter hierarchy root.
|
Object[] |
getParams() |
protected void |
log(org.plasma.query.model.Where root) |
protected void |
popFilter() |
protected void |
pushFilter() |
protected void |
pushFilter(org.apache.hadoop.hbase.filter.FilterList.Operator oper) |
getChildExpressionCount, 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, end, getContext, start, start, start, start, start, start, start, start, start, start, start, start, start, start, start, start, start, start, start, start, start, start, start, start, startprotected org.apache.hadoop.hbase.filter.FilterList rootFilter
protected Stack<org.apache.hadoop.hbase.filter.FilterList> filterStack
protected org.plasma.sdo.PlasmaType rootType
protected FilterHierarchyAssembler(org.plasma.sdo.PlasmaType rootType)
public org.apache.hadoop.hbase.filter.Filter getFilter()
getFilter in interface HBaseFilterAssemblerpublic Object[] getParams()
protected void pushFilter()
protected void pushFilter(org.apache.hadoop.hbase.filter.FilterList.Operator oper)
protected void popFilter()
protected void log(org.plasma.query.model.Where root)
Copyright © 2021. All Rights Reserved.