Package org.teiid.translator.accumulo
Class BaseFilterIterator
- java.lang.Object
-
- org.apache.accumulo.core.iterators.WrappingIterator
-
- org.apache.accumulo.core.iterators.user.RowFilter
-
- org.teiid.translator.accumulo.BaseFilterIterator
-
- All Implemented Interfaces:
org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>
public abstract class BaseFilterIterator extends org.apache.accumulo.core.iterators.user.RowFilterBase class for Filters
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.accumulo.core.iterators.conf.ColumnSetcolumnFilterstatic StringNEGATEprotected AccumuloMetadataProcessor.ValueInvalueIn
-
Constructor Summary
Constructors Constructor Description BaseFilterIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(byte[] value)booleanacceptRow(org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> rowItem)org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>deepCopy(org.apache.accumulo.core.iterators.IteratorEnvironment env)voidinit(org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> source, Map<String,String> options, org.apache.accumulo.core.iterators.IteratorEnvironment env)
-
-
-
Field Detail
-
NEGATE
public static final String NEGATE
- See Also:
- Constant Field Values
-
valueIn
protected AccumuloMetadataProcessor.ValueIn valueIn
-
columnFilter
protected org.apache.accumulo.core.iterators.conf.ColumnSet columnFilter
-
-
Method Detail
-
init
public void init(org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> source, Map<String,String> options, org.apache.accumulo.core.iterators.IteratorEnvironment env) throws IOException- Specified by:
initin interfaceorg.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>- Overrides:
initin classorg.apache.accumulo.core.iterators.user.RowFilter- Throws:
IOException
-
deepCopy
public org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> deepCopy(org.apache.accumulo.core.iterators.IteratorEnvironment env)
- Specified by:
deepCopyin interfaceorg.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>- Overrides:
deepCopyin classorg.apache.accumulo.core.iterators.user.RowFilter
-
acceptRow
public boolean acceptRow(org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> rowItem) throws IOException- Specified by:
acceptRowin classorg.apache.accumulo.core.iterators.user.RowFilter- Throws:
IOException
-
accept
public boolean accept(byte[] value)
-
-