public final class ResultSetBuilder
extends java.lang.Object
Constructor and Description |
---|
ResultSetBuilder(ResultSet.ResultMetadata metadata,
Selection.Selectors selectors) |
ResultSetBuilder(ResultSet.ResultMetadata metadata,
Selection.Selectors selectors,
GroupMaker groupMaker) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.nio.ByteBuffer v) |
void |
add(Cell<?> c,
int nowInSec) |
ResultSet |
build()
Builds the
ResultSet |
void |
newRow(DecoratedKey partitionKey,
Clustering<?> clustering)
Notifies this
Builder that a new row is being processed. |
public ResultSetBuilder(ResultSet.ResultMetadata metadata, Selection.Selectors selectors)
public ResultSetBuilder(ResultSet.ResultMetadata metadata, Selection.Selectors selectors, GroupMaker groupMaker)
public void add(java.nio.ByteBuffer v)
public void add(Cell<?> c, int nowInSec)
public void newRow(DecoratedKey partitionKey, Clustering<?> clustering)
Builder
that a new row is being processed.partitionKey
- the partition key of the new rowclustering
- the clustering of the new rowpublic ResultSet build()
ResultSet
Copyright © 2009-2021 The Apache Software Foundation