Record Class Operation.WriteOperation.DeleteRangeOperation
java.lang.Object
java.lang.Record
io.streamnative.oxia.client.batch.Operation.WriteOperation.DeleteRangeOperation
- All Implemented Interfaces:
Operation<Void>,Operation.WriteOperation<Void>
- Enclosing interface:
- Operation.WriteOperation<R>
public static record Operation.WriteOperation.DeleteRangeOperation(@NonNull CompletableFuture<Void> callback, @NonNull String startKeyInclusive, @NonNull String endKeyExclusive)
extends Record
implements Operation.WriteOperation<Void>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.streamnative.oxia.client.batch.Operation
Operation.ReadOperation<R>, Operation.WriteOperation<R>Nested classes/interfaces inherited from interface io.streamnative.oxia.client.batch.Operation.WriteOperation
Operation.WriteOperation.DeleteOperation, Operation.WriteOperation.DeleteRangeOperation, Operation.WriteOperation.PutOperation -
Constructor Summary
ConstructorsConstructorDescriptionDeleteRangeOperation(@NonNull CompletableFuture<Void> callback, @NonNull String startKeyInclusive, @NonNull String endKeyExclusive) Creates an instance of aDeleteRangeOperationrecord class. -
Method Summary
Modifier and TypeMethodDescription@NonNull CompletableFuture<Void>callback()Returns the value of thecallbackrecord component.@NonNull StringReturns the value of theendKeyExclusiverecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NonNull StringReturns the value of thestartKeyInclusiverecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DeleteRangeOperation
public DeleteRangeOperation(@NonNull @NonNull CompletableFuture<Void> callback, @NonNull @NonNull String startKeyInclusive, @NonNull @NonNull String endKeyExclusive) Creates an instance of aDeleteRangeOperationrecord class.- Parameters:
callback- the value for thecallbackrecord componentstartKeyInclusive- the value for thestartKeyInclusiverecord componentendKeyExclusive- the value for theendKeyExclusiverecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
callback
Returns the value of thecallbackrecord component. -
startKeyInclusive
Returns the value of thestartKeyInclusiverecord component.- Returns:
- the value of the
startKeyInclusiverecord component
-
endKeyExclusive
Returns the value of theendKeyExclusiverecord component.- Returns:
- the value of the
endKeyExclusiverecord component
-