Class HSCAN
java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.iteration.BaseIterationCommand
org.infinispan.server.resp.commands.hash.HSCAN
- All Implemented Interfaces:
Resp3Command
`
HSCAN key cursor [MATCH pattern] [COUNT count]` command.
Scan the key-value properties of the hash stored under key.
- Since:
- 15.0
- Author:
- José Bolina
- See Also:
-
Field Summary
Fields inherited from class org.infinispan.server.resp.RespCommand
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected CompletionStage<org.infinispan.server.iteration.IterationInitializationContext> initializeIteration(Resp3Handler handler, List<byte[]> arguments) protected org.infinispan.server.iteration.IterationManagerretrieveIterationManager(Resp3Handler handler) protected List<byte[]> writeResponse(List<org.infinispan.container.entries.CacheEntry> response) Methods inherited from class org.infinispan.server.resp.commands.iteration.BaseIterationCommand
getMatch, perform, writeCursorMethods inherited from class org.infinispan.server.resp.RespCommand
extractKeys, fromByteBuf, getArity, getFirstKeyPos, getLastKeyPos, getName, getSteps, handleException, hasValidNumberOfArguments, match, size, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.server.resp.commands.Resp3Command
handleException
-
Constructor Details
-
HSCAN
public HSCAN()
-
-
Method Details
-
retrieveIterationManager
protected org.infinispan.server.iteration.IterationManager retrieveIterationManager(Resp3Handler handler) - Specified by:
retrieveIterationManagerin classBaseIterationCommand
-
initializeIteration
protected CompletionStage<org.infinispan.server.iteration.IterationInitializationContext> initializeIteration(Resp3Handler handler, List<byte[]> arguments) - Overrides:
initializeIterationin classBaseIterationCommand
-
cursor
- Specified by:
cursorin classBaseIterationCommand
-
writeResponse
- Specified by:
writeResponsein classBaseIterationCommand
-