Class ResultSetBuilder
- java.lang.Object
-
- org.apache.cassandra.cql3.selection.ResultSetBuilder
-
public final class ResultSetBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ResultSetBuilder(ResultSet.ResultMetadata metadata, Selection.Selectors selectors)
ResultSetBuilder(ResultSet.ResultMetadata metadata, Selection.Selectors selectors, GroupMaker groupMaker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.nio.ByteBuffer v)
void
add(Cell<?> c, int nowInSec)
ResultSet
build()
Builds theResultSet
void
newRow(DecoratedKey partitionKey, Clustering<?> clustering)
Notifies thisBuilder
that a new row is being processed.
-
-
-
Constructor Detail
-
ResultSetBuilder
public ResultSetBuilder(ResultSet.ResultMetadata metadata, Selection.Selectors selectors)
-
ResultSetBuilder
public ResultSetBuilder(ResultSet.ResultMetadata metadata, Selection.Selectors selectors, GroupMaker groupMaker)
-
-
Method Detail
-
add
public void add(java.nio.ByteBuffer v)
-
add
public void add(Cell<?> c, int nowInSec)
-
newRow
public void newRow(DecoratedKey partitionKey, Clustering<?> clustering)
Notifies thisBuilder
that a new row is being processed.- Parameters:
partitionKey
- the partition key of the new rowclustering
- the clustering of the new row
-
build
public ResultSet build()
Builds theResultSet
-
-