org.inria.myriads.snoozenode.database.api.impl.cassandra.utils
Modifier and Type | Class and Description |
---|---|
class |
RowIterator.MyQueryIterator
Intern iterator.
|
Constructor and Description |
---|
RowIterator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
RowIterator |
addEqualsExpression(String columnName,
String expression)
Add equal expression.
|
RowIterator |
addExcludedRows(String... excludes)
excludes rows.
|
void |
execute()
execute the request.
|
Iterator<me.prettyprint.hector.api.beans.Row<String,String,String>> |
iterator() |
RowIterator |
setColumnCount(int columnCount)
Sets column count.
|
RowIterator |
setColumnFamily(String columnFamily)
Sets the column family.
|
RowIterator |
setColumnRange(String start,
String end)
Sets column range.
|
RowIterator |
setKeys(String start,
String end)
Sets keys.
|
RowIterator |
setKeyspace(me.prettyprint.hector.api.Keyspace keyspace)
Sets the keyspace.
|
RowIterator |
setLimit(int limit)
Sets limit.
|
RowIterator |
setReversed(boolean reversed)
Sets reversed.
|
RowIterator |
setRowCount(int rowCount)
Sets row Count.
|
public void execute()
public RowIterator setKeyspace(me.prettyprint.hector.api.Keyspace keyspace)
keyspace
- Keyspace.public RowIterator setColumnFamily(String columnFamily)
columnFamily
- column family.public RowIterator setKeys(String start, String end)
start
- key start.end
- key end.public RowIterator setRowCount(int rowCount)
rowCount
- row count.public RowIterator setColumnRange(String start, String end)
start
- startend
- endpublic RowIterator setReversed(boolean reversed)
reversed
- reversed order?.public RowIterator setColumnCount(int columnCount)
columnCount
- column count.public RowIterator setLimit(int limit)
limit
- limitpublic RowIterator addEqualsExpression(String columnName, String expression)
columnName
- column nameexpression
- equal expressionpublic RowIterator addExcludedRows(String... excludes)
excludes
- keys to exclude.Copyright © 2013. All Rights Reserved.