org.apache.accumulo.core.iterators.user
Class ReqVisFilter

java.lang.Object
  extended by org.apache.accumulo.core.iterators.WrappingIterator
      extended by org.apache.accumulo.core.iterators.Filter
          extended by org.apache.accumulo.core.iterators.user.ReqVisFilter
All Implemented Interfaces:
OptionDescriber, SortedKeyValueIterator<Key,Value>

public class ReqVisFilter
extends Filter

A Filter that matches entries with a non-empty ColumnVisibility.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.accumulo.core.iterators.OptionDescriber
OptionDescriber.IteratorOptions
 
Constructor Summary
ReqVisFilter()
           
 
Method Summary
 boolean accept(Key k, Value v)
           
 OptionDescriber.IteratorOptions describeOptions()
          Gets an iterator options object that contains information needed to configure this iterator.
 
Methods inherited from class org.apache.accumulo.core.iterators.Filter
deepCopy, findTop, init, next, seek, setNegate, validateOptions
 
Methods inherited from class org.apache.accumulo.core.iterators.WrappingIterator
getSource, getTopKey, getTopValue, hasTop, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReqVisFilter

public ReqVisFilter()
Method Detail

accept

public boolean accept(Key k,
                      Value v)
Specified by:
accept in class Filter
Returns:
true if the key/value pair is accepted by the filter.

describeOptions

public OptionDescriber.IteratorOptions describeOptions()
Description copied from interface: OptionDescriber
Gets an iterator options object that contains information needed to configure this iterator. This object will be used by the accumulo shell to prompt the user to input the appropriate information.

Specified by:
describeOptions in interface OptionDescriber
Overrides:
describeOptions in class Filter
Returns:
an iterator options object


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.