Class CacheScanCommand
- java.lang.Object
-
- org.apache.ignite.internal.management.cache.scan.CacheScanCommand
-
- All Implemented Interfaces:
Command<CacheScanCommandArg,CacheScanTaskResult>,ComputeCommand<CacheScanCommandArg,CacheScanTaskResult>
public class CacheScanCommand extends Object implements ComputeCommand<CacheScanCommandArg,CacheScanTaskResult>
Scan cache entries.
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.management.api.Command
CMD_NAME_POSTFIX
-
-
Constructor Summary
Constructors Constructor Description CacheScanCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<CacheScanCommandArg>argClass()Stringdescription()Command description.voidprintResult(CacheScanCommandArg arg, CacheScanTaskResult res, Consumer<String> printer)Prints command result to the user.Class<CacheScanTask>taskClass()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.management.api.Command
confirmationPrompt, deprecationMessage
-
Methods inherited from interface org.apache.ignite.internal.management.api.ComputeCommand
handleException, nodes
-
-
-
-
Method Detail
-
description
public String description()
Command description.- Specified by:
descriptionin interfaceCommand<CacheScanCommandArg,CacheScanTaskResult>
-
argClass
public Class<CacheScanCommandArg> argClass()
- Specified by:
argClassin interfaceCommand<CacheScanCommandArg,CacheScanTaskResult>- Returns:
- Arguments class.
-
taskClass
public Class<CacheScanTask> taskClass()
- Specified by:
taskClassin interfaceComputeCommand<CacheScanCommandArg,CacheScanTaskResult>- Returns:
- Task class.
-
printResult
public void printResult(CacheScanCommandArg arg, CacheScanTaskResult res, Consumer<String> printer)
Prints command result to the user.- Specified by:
printResultin interfaceComputeCommand<CacheScanCommandArg,CacheScanTaskResult>- Parameters:
arg- Argument.res- Result.printer- Implementation specific printer.
-
-