public class DbIndexCommands
extends com.mapr.cliframework.base.CLIBaseClass
implements com.mapr.cliframework.base.CLIInterface, com.mapr.fs.AceHelper.DBPermission
| Modifier and Type | Field and Description |
|---|---|
static com.mapr.cliframework.base.CLICommand |
indexCommands |
| Constructor and Description |
|---|
DbIndexCommands(com.mapr.cliframework.base.ProcessedInput input,
com.mapr.cliframework.base.CLICommand cliCommand) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addIndex(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out) |
java.lang.String |
entityName() |
com.mapr.cliframework.base.CommandOutput |
executeRealCommand() |
java.lang.String |
getCliParam(java.lang.String key) |
protected void |
listIndex(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out) |
protected void |
removeIndex(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out) |
static void |
setupIndex(com.mapr.fs.AceHelper.DBPermission dbPerm,
com.mapr.fs.proto.Dbserver.TableReplicaDesc.Builder replBuilder,
java.lang.String tablePath,
java.lang.String indexName,
java.lang.String idxField,
java.lang.String nonidxField,
boolean isHashed,
int numHashPartitions,
java.lang.String user,
com.mapr.fs.MapRFileSystem mfs) |
executeCommand, executeSimpleSHHCommand, executeSimpleSHHCommand, getCLICommand, getCommandUsage, getGIds, getInput, getKeyType, getParamBooleanValue, getParamDateValue, getParamIntValue, getParamLongValue, getParamObjectValue, getParamTextValue, getUserCredentials, getUserId, getUserLoginId, getVersion, isParamPresent, isParamValueEmpty, setServerCall, setUserCredentials, setVersion, validateInputpublic DbIndexCommands(com.mapr.cliframework.base.ProcessedInput input,
com.mapr.cliframework.base.CLICommand cliCommand)
public com.mapr.cliframework.base.CommandOutput executeRealCommand()
throws com.mapr.cliframework.base.CLIProcessingException
executeRealCommand in class com.mapr.cliframework.base.CLIBaseClasscom.mapr.cliframework.base.CLIProcessingExceptionpublic java.lang.String entityName()
protected void addIndex(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)
throws com.mapr.cliframework.base.CLIProcessingException
com.mapr.cliframework.base.CLIProcessingExceptionprotected void removeIndex(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)
throws com.mapr.cliframework.base.CLIProcessingException
com.mapr.cliframework.base.CLIProcessingExceptionprotected void listIndex(com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)
throws com.mapr.cliframework.base.CLIProcessingException
com.mapr.cliframework.base.CLIProcessingExceptionpublic static void setupIndex(com.mapr.fs.AceHelper.DBPermission dbPerm,
com.mapr.fs.proto.Dbserver.TableReplicaDesc.Builder replBuilder,
java.lang.String tablePath,
java.lang.String indexName,
java.lang.String idxField,
java.lang.String nonidxField,
boolean isHashed,
int numHashPartitions,
java.lang.String user,
com.mapr.fs.MapRFileSystem mfs)
throws com.mapr.cliframework.base.CLIProcessingException,
java.io.IOException
com.mapr.cliframework.base.CLIProcessingExceptionjava.io.IOExceptionpublic java.lang.String getCliParam(java.lang.String key)
throws java.io.IOException
getCliParam in interface com.mapr.fs.AceHelper.DBPermissionjava.io.IOException