com.basho.riak.client.query.filter
Class AbstractLogicalFilter

java.lang.Object
  extended by com.basho.riak.client.query.filter.AbstractLogicalFilter
All Implemented Interfaces:
KeyFilter, LogicalFilter
Direct Known Subclasses:
LogicalAndFilter, LogicalNotFilter, LogicalOrFilter

public abstract class AbstractLogicalFilter
extends Object
implements LogicalFilter

Shared code for the set of "logical" filters.

Author:
russell

Constructor Summary
AbstractLogicalFilter(KeyFilter... filters)
           
 
Method Summary
 AbstractLogicalFilter add(KeyFilter filter)
           
 Object[] asArray()
          A view of the key filter as an Object array.
protected abstract  String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLogicalFilter

public AbstractLogicalFilter(KeyFilter... filters)
Method Detail

add

public AbstractLogicalFilter add(KeyFilter filter)

asArray

public Object[] asArray()
Description copied from interface: KeyFilter
A view of the key filter as an Object array.

Specified by:
asArray in interface KeyFilter
Returns:
an Object[]

getName

protected abstract String getName()


Copyright © 2011. All Rights Reserved.