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.Build
Base Builder interface which can be used to set theKey
timestamp and delete marker and to build theKey
.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Key
build()
Build aKey
from this builder.KeyBuilder.Build
deleted(boolean deleted)
Set the deleted marker of theKey
to the parameter.KeyBuilder.Build
timestamp(long timestamp)
Change the timestamp of theKey
created.
-
-
-
Method Detail
-
timestamp
KeyBuilder.Build timestamp(long timestamp)
Change the timestamp of theKey
created.- Parameters:
timestamp
- the timestamp to use for theKey
- Returns:
- this builder
-
deleted
KeyBuilder.Build deleted(boolean deleted)
Set the deleted marker of theKey
to the parameter.- Parameters:
deleted
- if theKey
should be marked as deleted or not- Returns:
- this builder
-
-