Class ResultSetBuilder


  • public final class ResultSetBuilder
    extends java.lang.Object
    • Method Detail

      • shouldWarn

        public boolean shouldWarn​(long thresholdBytes)
      • shouldReject

        public boolean shouldReject​(long thresholdBytes)
      • getSize

        public long getSize()
      • add

        public void add​(java.nio.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,
                           java.util.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