me.prettyprint.cassandra.service
Class StringKeyIterator

java.lang.Object
  extended by me.prettyprint.cassandra.service.KeyIterator<String>
      extended by me.prettyprint.cassandra.service.StringKeyIterator
All Implemented Interfaces:
Iterable<String>

public class StringKeyIterator
extends KeyIterator<String>

This class returns each key in the specified Column Family as an Iterator. You can use this class in a for loop without the overhead of first storing each key in a large array. This is a convenience class for KeyIterator when the key is a String.

Author:
Tim Koop
See Also:
KeyIterator

Constructor Summary
StringKeyIterator(Keyspace keyspace, String columnFamily)
           
 
Method Summary
 
Methods inherited from class me.prettyprint.cassandra.service.KeyIterator
iterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringKeyIterator

public StringKeyIterator(Keyspace keyspace,
                         String columnFamily)


Copyright © 2011. All Rights Reserved.