Class 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
    The AbstractElementFilter will filter out Elements based on the filtering instructions given in the Schema or View that is passed to this iterator.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.accumulo.core.iterators.OptionDescriber

        org.apache.accumulo.core.iterators.OptionDescriber.IteratorOptions
    • 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
      • Methods inherited from interface org.apache.accumulo.core.iterators.YieldingKeyValueIterator

        enableYielding
    • Method Detail

      • accept

        public boolean accept​(org.apache.accumulo.core.data.Key key,
                              org.apache.accumulo.core.data.Value value)
        Specified by:
        accept in class org.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 interface org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,​org.apache.accumulo.core.data.Value>
        Overrides:
        init in class org.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 interface org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,​org.apache.accumulo.core.data.Value>
        Overrides:
        deepCopy in class org.apache.accumulo.core.iterators.Filter
      • validateOptions

        public boolean validateOptions​(Map<String,​String> options)
        Specified by:
        validateOptions in interface org.apache.accumulo.core.iterators.OptionDescriber
        Overrides:
        validateOptions in class org.apache.accumulo.core.iterators.Filter