Interface PartitionUpdate.SimpleBuilder.RangeTombstoneBuilder
- Enclosing interface:
- PartitionUpdate.SimpleBuilder
public static interface PartitionUpdate.SimpleBuilder.RangeTombstoneBuilder
Interface to build range tombstone.
By default, if no other methods are called, the represented range is inclusive of both start and end and
includes everything (its start is
BOTTOM and it's end is TOP).-
Method Summary
Modifier and TypeMethodDescriptionSets the end for the built range using the provided values.exclEnd()Sets the end of this range as exclusive.Sets the start of this range as exclusive.inclEnd()Sets the end of this range as inclusive.Sets the start of this range as inclusive.Sets the start for the built range using the provided values.
-
Method Details
-
start
Sets the start for the built range using the provided values.- Parameters:
values- the value for the start of the range. They act like theclusteringValuesargument of thePartitionUpdate.SimpleBuilder.row(Object...)method, except that it doesn't have to be a full clustering, it can only be a prefix.- Returns:
- this builder.
-
end
Sets the end for the built range using the provided values.- Parameters:
values- the value for the end of the range. They act like theclusteringValuesargument of thePartitionUpdate.SimpleBuilder.row(Object...)method, except that it doesn't have to be a full clustering, it can only be a prefix.- Returns:
- this builder.
-
inclStart
Sets the start of this range as inclusive.This is the default and don't need to be called, but can for explicitness.
- Returns:
- this builder.
-
exclStart
Sets the start of this range as exclusive.- Returns:
- this builder.
-
inclEnd
Sets the end of this range as inclusive.This is the default and don't need to be called, but can for explicitness.
- Returns:
- this builder.
-
exclEnd
Sets the end of this range as exclusive.- Returns:
- this builder.
-