Interface KeyBuilder.Build

All Known Subinterfaces:
KeyBuilder.ColumnFamilyStep, KeyBuilder.ColumnQualifierStep, KeyBuilder.ColumnVisibilityStep, KeyBuilder.RowStep
Enclosing class:
KeyBuilder

public static interface KeyBuilder.Build
Base Builder interface which can be used to set the Key timestamp and delete marker and to build the Key.
Since:
2.0
  • Method Details

    • build

      Key build()
      Build a Key from this builder.
      Returns:
      the Key built from this builder
    • timestamp

      KeyBuilder.Build timestamp(long timestamp)
      Change the timestamp of the Key created.
      Parameters:
      timestamp - the timestamp to use for the Key
      Returns:
      this builder
    • deleted

      KeyBuilder.Build deleted(boolean deleted)
      Set the deleted marker of the Key to the parameter.
      Parameters:
      deleted - if the Key should be marked as deleted or not
      Returns:
      this builder