Class AbstractElementFilter
- java.lang.Object
-
- org.apache.accumulo.core.iterators.WrappingIterator
-
- org.apache.accumulo.core.iterators.Filter
-
- uk.gov.gchq.gaffer.accumulostore.key.AbstractElementFilter
-
- All Implemented Interfaces:
org.apache.accumulo.core.iterators.OptionDescriber
,org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>
,org.apache.accumulo.core.iterators.YieldingKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>
- Direct Known Subclasses:
ElementPostAggregationFilter
,ElementPreAggregationFilter
,ValidatorFilter
public abstract class AbstractElementFilter extends org.apache.accumulo.core.iterators.Filter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(org.apache.accumulo.core.data.Key key, org.apache.accumulo.core.data.Value value)
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)
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)
boolean
validateOptions(Map<String,String> options)
-
Methods inherited from class org.apache.accumulo.core.iterators.Filter
describeOptions, next, seek, setNegate
-
Methods inherited from class org.apache.accumulo.core.iterators.WrappingIterator
getTopKey, getTopValue, hasTop
-
-
-
-
Method Detail
-
accept
public boolean accept(org.apache.accumulo.core.data.Key key, org.apache.accumulo.core.data.Value value)
- Specified by:
accept
in classorg.apache.accumulo.core.iterators.Filter
-
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:
init
in interfaceorg.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>
- Overrides:
init
in classorg.apache.accumulo.core.iterators.Filter
- 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:
deepCopy
in interfaceorg.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>
- Overrides:
deepCopy
in classorg.apache.accumulo.core.iterators.Filter
-
-