Interface KeyspacesRow.Builder

  • Method Details

    • valueCells

      KeyspacesRow.Builder valueCells(Map<String,KeyspacesCell> valueCells)

      A map of regular (non-static) column cells in the row, where keys are column names and values are the corresponding cells.

      Parameters:
      valueCells - A map of regular (non-static) column cells in the row, where keys are column names and values are the corresponding cells.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • staticCells

      KeyspacesRow.Builder staticCells(Map<String,KeyspacesCell> staticCells)

      A map of static column cells shared by all rows with the same partition key, where keys are column names and values are the corresponding cells.

      Parameters:
      staticCells - A map of static column cells shared by all rows with the same partition key, where keys are column names and values are the corresponding cells.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rowMetadata

      KeyspacesRow.Builder rowMetadata(KeyspacesMetadata rowMetadata)

      Metadata that applies to the entire row, such as timestamps and TTL information.

      Parameters:
      rowMetadata - Metadata that applies to the entire row, such as timestamps and TTL information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rowMetadata

      default KeyspacesRow.Builder rowMetadata(Consumer<KeyspacesMetadata.Builder> rowMetadata)

      Metadata that applies to the entire row, such as timestamps and TTL information.

      This is a convenience method that creates an instance of the KeyspacesMetadata.Builder avoiding the need to create one manually via KeyspacesMetadata.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rowMetadata(KeyspacesMetadata).

      Parameters:
      rowMetadata - a consumer that will call methods on KeyspacesMetadata.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: