org.apache.cassandra.utils
Class AlwaysPresentFilter

java.lang.Object
  extended by org.apache.cassandra.utils.AlwaysPresentFilter
All Implemented Interfaces:
java.io.Closeable, IFilter

public class AlwaysPresentFilter
extends java.lang.Object
implements IFilter


Constructor Summary
AlwaysPresentFilter()
           
 
Method Summary
 void add(java.nio.ByteBuffer key)
           
 void clear()
           
 void close()
           
 boolean isPresent(java.nio.ByteBuffer key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysPresentFilter

public AlwaysPresentFilter()
Method Detail

isPresent

public boolean isPresent(java.nio.ByteBuffer key)
Specified by:
isPresent in interface IFilter

add

public void add(java.nio.ByteBuffer key)
Specified by:
add in interface IFilter

clear

public void clear()
Specified by:
clear in interface IFilter

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Throws:
java.io.IOException


Copyright © 2012 The Apache Software Foundation