Package alluxio.cli.table.command
Class TransformTableCommand
- java.lang.Object
-
- alluxio.cli.table.command.AbstractTableCommand
-
- alluxio.cli.table.command.TransformTableCommand
-
- All Implemented Interfaces:
alluxio.cli.Command,java.io.Closeable,java.lang.AutoCloseable
@ThreadSafe public final class TransformTableCommand extends AbstractTableCommand
Transforms a structured table in Alluxio.
-
-
Field Summary
-
Fields inherited from class alluxio.cli.table.command.AbstractTableCommand
mClient, mConf
-
-
Constructor Summary
Constructors Constructor Description TransformTableCommand(alluxio.conf.AlluxioConfiguration conf, alluxio.client.table.TableMasterClient client)creates the command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCommandName()java.lang.StringgetDescription()org.apache.commons.cli.OptionsgetOptions()java.lang.StringgetUsage()intrun(org.apache.commons.cli.CommandLine cl)voidvalidateArgs(org.apache.commons.cli.CommandLine cl)
-
-
-
Method Detail
-
getCommandName
public java.lang.String getCommandName()
- Specified by:
getCommandNamein interfacealluxio.cli.Command- Specified by:
getCommandNamein classAbstractTableCommand
-
getUsage
public java.lang.String getUsage()
-
getOptions
public org.apache.commons.cli.Options getOptions()
-
getDescription
public java.lang.String getDescription()
-
validateArgs
public void validateArgs(org.apache.commons.cli.CommandLine cl) throws alluxio.exception.status.InvalidArgumentException- Specified by:
validateArgsin interfacealluxio.cli.Command- Specified by:
validateArgsin classAbstractTableCommand- Throws:
alluxio.exception.status.InvalidArgumentException
-
run
public int run(org.apache.commons.cli.CommandLine cl) throws java.io.IOException, alluxio.exception.AlluxioException- Specified by:
runin interfacealluxio.cli.Command- Specified by:
runin classAbstractTableCommand- Throws:
java.io.IOExceptionalluxio.exception.AlluxioException
-
-