Package io.deephaven.kv
Class DeletePrefix
java.lang.Object
io.deephaven.kv.DeletePrefix
- All Implemented Interfaces:
Composable,Request<DeletePrefixResponse>
A delete prefix request is a request to delete all key-values that have a key that start with the
prefix
getPrefix()-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.kv.Composable
Composable.Empty -
Method Summary
Modifier and TypeMethodDescriptiondescribe()An unfiltered description of the Request.Should only be called afterRequest.hasResponse()is true.booleanstatic DeletePrefixvoidtraverse(@NotNull RequestVisitor visitor) Invokes the appropriately typedRequestVisitormethod that corresponds to the concrete type of thisRequest.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.kv.Composable
isEmpty, traverseAllMethods inherited from interface io.deephaven.kv.Request
getOperations
-
Method Details
-
of
-
getPrefix
-
traverse
Description copied from interface:RequestInvokes the appropriately typedRequestVisitormethod that corresponds to the concrete type of thisRequest.Thus, all implementations are essentially
visitor.visit((ConcreteType)this).- Specified by:
traversein interfaceRequest<DeletePrefixResponse>- Parameters:
visitor- the visitor
-
describe
Description copied from interface:RequestAn unfiltered description of the Request. Meant to be used for debugging and development purposes.- Specified by:
describein interfaceRequest<DeletePrefixResponse>
-
hasResponse
public boolean hasResponse()- Specified by:
hasResponsein interfaceRequest<DeletePrefixResponse>- Returns:
- true iff the response has been set
-
getResponse
Description copied from interface:RequestShould only be called afterRequest.hasResponse()is true.- Specified by:
getResponsein interfaceRequest<DeletePrefixResponse>- Returns:
- the response
-