Package org.apache.accumulo.core.data
Interface KeyBuilder.Build
-
- All Known Subinterfaces:
KeyBuilder.ColumnFamilyStep,KeyBuilder.ColumnQualifierStep,KeyBuilder.ColumnVisibilityStep,KeyBuilder.RowStep
- Enclosing class:
- KeyBuilder
public static interface KeyBuilder.BuildBase Builder interface which can be used to set theKeytimestamp and delete marker and to build theKey.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Keybuild()Build aKeyfrom this builder.KeyBuilder.Builddeleted(boolean deleted)Set the deleted marker of theKeyto the parameter.KeyBuilder.Buildtimestamp(long timestamp)Change the timestamp of theKeycreated.
-
-
-
Method Detail
-
timestamp
KeyBuilder.Build timestamp(long timestamp)
Change the timestamp of theKeycreated.- Parameters:
timestamp- the timestamp to use for theKey- Returns:
- this builder
-
deleted
KeyBuilder.Build deleted(boolean deleted)
Set the deleted marker of theKeyto the parameter.- Parameters:
deleted- if theKeyshould be marked as deleted or not- Returns:
- this builder
-
-