Class ResultSetBuilder

java.lang.Object
org.apache.cassandra.cql3.selection.ResultSetBuilder

public final class ResultSetBuilder extends Object
  • Constructor Details

  • Method Details

    • shouldWarn

      public boolean shouldWarn(long thresholdBytes)
    • shouldReject

      public boolean shouldReject(long thresholdBytes)
    • getSize

      public long getSize()
    • add

      public void add(ByteBuffer v)
    • add

      public void add(Cell<?> c, long nowInSec)
    • add

      public void add(ColumnData columnData, long nowInSec)
    • newRow

      public void newRow(ProtocolVersion protocolVersion, DecoratedKey partitionKey, Clustering<?> clustering, List<ColumnMetadata> columns)
      Notifies this Builder that a new row is being processed.
      Parameters:
      partitionKey - the partition key of the new row
      clustering - the clustering of the new row
    • build

      public ResultSet build()
      Builds the ResultSet