org.apache.cassandra.db
Class CountFilter

java.lang.Object
  extended by org.apache.cassandra.db.CountFilter
All Implemented Interfaces:
IFilter

public class CountFilter
extends java.lang.Object
implements IFilter

This class provides a filter for fitering out columns greater than a certain count.

Author:
pmalik

Method Summary
 IColumn filter(IColumn column, java.io.DataInputStream dis)
           
 ColumnFamily filter(java.lang.String cfNameParam, ColumnFamily columnFamily)
           
 boolean isDone()
           
 DataInputBuffer next(java.lang.String key, java.lang.String cf, SSTable ssTable)
           
 void setDone()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

filter

public ColumnFamily filter(java.lang.String cfNameParam,
                           ColumnFamily columnFamily)
Specified by:
filter in interface IFilter

filter

public IColumn filter(IColumn column,
                      java.io.DataInputStream dis)
               throws java.io.IOException
Specified by:
filter in interface IFilter
Throws:
java.io.IOException

isDone

public boolean isDone()
Specified by:
isDone in interface IFilter

setDone

public void setDone()

next

public DataInputBuffer next(java.lang.String key,
                            java.lang.String cf,
                            SSTable ssTable)
                     throws java.io.IOException
Specified by:
next in interface IFilter
Throws:
java.io.IOException


Copyright © 2009 The Apache Software Foundation