Package com.mapr.cli
Class FidCommands
java.lang.Object
com.mapr.cliframework.base.CLIBaseClass
com.mapr.cli.FidCommands
- All Implemented Interfaces:
com.mapr.cliframework.base.CLIInterface
public class FidCommands
extends com.mapr.cliframework.base.CLIBaseClass
implements com.mapr.cliframework.base.CLIInterface
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.mapr.cliframework.base.CLIBaseClass
cliCommand, CLUSTER_NAME_PARAM, clusterParams, HELP_PARAM, input, isServerCall, NOT_REQUIRED, output, REQUIRED, userInfo, versionFields inherited from interface com.mapr.cliframework.base.CLIInterface
KEY_PREFIX, PASSWORD_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionFidCommands(com.mapr.cliframework.base.ProcessedInput input, com.mapr.cliframework.base.CLICommand cliCommand) -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNodedumpInlineXAttrs(com.google.protobuf.ByteString xattrs) static voidDumpMSIPartitionRec(com.mapr.fs.proto.Msicommon.MSIPartitionRec msiRec, com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode vout) static voidDumpMSIPartitionStatsRec(com.mapr.fs.proto.Msicommon.MSIStatsRec statsRec, com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode sOut) static voidDumpMSITabletStatsRec(com.mapr.fs.proto.Msicommon.MSITabletStatsEntry msi, com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode sOut) static voidDumpS3BucketStats(com.mapr.fs.proto.Msicommon.S3BucketStats s3Stats, com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode sOut) com.mapr.cliframework.base.CommandOutputstatic StringgetCompressionType(com.mapr.fs.proto.Common.FileCompressionType ct) longgetLong(byte[] b) getNameEnt(com.google.protobuf.ByteString bs, int offset) static StringprintableFid(com.mapr.fs.proto.Common.FidMsg f) static StringprintableSubType(com.mapr.fs.proto.Common.FileType type, com.mapr.fs.proto.Common.FileSubType subtype) Methods inherited from class com.mapr.cliframework.base.CLIBaseClass
executeCommand, executeSimpleSHHCommand, executeSimpleSHHCommand, getBooleanParam, getCLICommand, getCommandUsage, getGIds, getInput, getKeyType, getParamBooleanValue, getParamDateValue, getParamIntValue, getParamLongValue, getParamObjectValue, getParamTextValue, getUserClusterOps, getUserCredentials, getUserId, getUserLoginId, getVersion, isParamPresent, isParamValueEmpty, setServerCall, setUserClusterOps, setUserCredentials, setUserCredentialsByJwt, setVersion, skipValidation, validateInputMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mapr.cliframework.base.CLIInterface
executeCommand, getCLICommand, getGIds, getUserId, getUserLoginId, setServerCall, setUserCredentials, setUserCredentialsByJwt, setVersion, validateInput
-
Field Details
-
MULTI_ARG_SEP
- See Also:
-
COLUMN_SEP
- See Also:
-
baseParams
-
-
Constructor Details
-
FidCommands
public FidCommands(com.mapr.cliframework.base.ProcessedInput input, com.mapr.cliframework.base.CLICommand cliCommand) throws com.mapr.cliframework.base.CLIProcessingException - Throws:
com.mapr.cliframework.base.CLIProcessingException
-
-
Method Details
-
getLong
public long getLong(byte[] b) -
getNameEnt
-
executeRealCommand
public com.mapr.cliframework.base.CommandOutput executeRealCommand() throws com.mapr.cliframework.base.CLIProcessingException- Specified by:
executeRealCommandin classcom.mapr.cliframework.base.CLIBaseClass- Throws:
com.mapr.cliframework.base.CLIProcessingException
-
dumpInlineXAttrs
public static com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode dumpInlineXAttrs(com.google.protobuf.ByteString xattrs) -
printableFid
-
printableSubType
public static String printableSubType(com.mapr.fs.proto.Common.FileType type, com.mapr.fs.proto.Common.FileSubType subtype) -
DumpMSIPartitionRec
public static void DumpMSIPartitionRec(com.mapr.fs.proto.Msicommon.MSIPartitionRec msiRec, com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode vout) -
DumpMSIPartitionStatsRec
public static void DumpMSIPartitionStatsRec(com.mapr.fs.proto.Msicommon.MSIStatsRec statsRec, com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode sOut) -
DumpS3BucketStats
public static void DumpS3BucketStats(com.mapr.fs.proto.Msicommon.S3BucketStats s3Stats, com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode sOut) -
DumpMSITabletStatsRec
public static void DumpMSITabletStatsRec(com.mapr.fs.proto.Msicommon.MSITabletStatsEntry msi, com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode sOut) -
getCompressionType
-