|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectme.prettyprint.cassandra.service.KeyIterator<K>
K - the type of the row keypublic class KeyIterator<K>
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. See StringKeyIterator for a convenience class if the key is a String.
StringKeyIterator| Nested Class Summary | |
|---|---|
static class |
KeyIterator.Builder<K>
|
| Constructor Summary | |
|---|---|
protected |
KeyIterator(KeyIterator.Builder<K> builder)
|
|
KeyIterator(Keyspace keyspace,
String columnFamily,
Serializer<K> serializer)
Deprecated. |
|
KeyIterator(Keyspace keyspace,
String columnFamily,
Serializer<K> serializer,
int maxRowCount)
Deprecated. |
|
KeyIterator(Keyspace keyspace,
String columnFamily,
Serializer<K> serializer,
K start,
K end)
Deprecated. |
|
KeyIterator(Keyspace keyspace,
String columnFamily,
Serializer<K> serializer,
K start,
K end,
int maxRowCount)
Deprecated. |
| Method Summary | |
|---|---|
Iterator<K> |
iterator()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public KeyIterator(Keyspace keyspace,
String columnFamily,
Serializer<K> serializer)
@Deprecated
public KeyIterator(Keyspace keyspace,
String columnFamily,
Serializer<K> serializer,
int maxRowCount)
@Deprecated
public KeyIterator(Keyspace keyspace,
String columnFamily,
Serializer<K> serializer,
K start,
K end)
@Deprecated
public KeyIterator(Keyspace keyspace,
String columnFamily,
Serializer<K> serializer,
K start,
K end,
int maxRowCount)
protected KeyIterator(KeyIterator.Builder<K> builder)
| Method Detail |
|---|
public Iterator<K> iterator()
iterator in interface Iterable<K>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||