public class MetadataCommand extends AbstractCommand<Object>
verbose| Constructor and Description |
|---|
MetadataCommand() |
| Modifier and Type | Method and Description |
|---|---|
Object |
arg() |
String |
confirmationPrompt() |
Object |
execute(GridClientConfiguration clientCfg,
Logger log)
Actual command execution.
|
boolean |
experimental()
Return
true if the command is experimental or false
otherwise. |
String |
name() |
static MetadataTypeArgs |
parseArgs(CommandArgIterator argIter) |
void |
parseArguments(CommandArgIterator argIter)
Parse command-specific arguments.
|
void |
printUsage(Logger log)
Print info for user about command (parameters, use cases and so on).
|
execute, usageCacheclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitextendToLen, prepareConfirmation, startClient, startClientBeforeNodeStart, usage, usage, usageParamspublic void printUsage(Logger log)
log - Logger to use.public String name()
public void parseArguments(CommandArgIterator argIter)
argIter - Argument iterator.public boolean experimental()
true if the command is experimental or false
otherwise.true if the command is experimental or false
otherwise.public String confirmationPrompt()
public Object execute(GridClientConfiguration clientCfg, Logger log) throws Exception
clientCfg - Thin client configuration if connection to cluster is necessary.log - Logger to use.Exception - If error occur.public Object arg()
Command.parseArguments(CommandArgIterator) call.public static MetadataTypeArgs parseArgs(CommandArgIterator argIter)
argIter - Command line arguments iterator.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.13.0 Release Date : April 20 2022