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 Modifier and Type Class Description static classFidCommands.KVFormatTypeclassFidCommands.NameEnt
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.String,com.mapr.cliframework.base.inputparams.BaseInputParameter>baseParamsstatic java.lang.StringCOLUMN_SEPstatic java.lang.StringMULTI_ARG_SEP
-
Constructor Summary
Constructors Constructor Description FidCommands(com.mapr.cliframework.base.ProcessedInput input, com.mapr.cliframework.base.CLICommand cliCommand)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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.CommandOutputexecuteRealCommand()static java.lang.StringgetCompressionType(com.mapr.fs.proto.Common.FileCompressionType ct)longgetLong(byte[] b)FidCommands.NameEntgetNameEnt(com.google.protobuf.ByteString bs, int offset)static java.lang.StringprintableFid(com.mapr.fs.proto.Common.FidMsg f)static java.lang.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, getCLICommand, getCommandUsage, getGIds, getInput, getKeyType, getParamBooleanValue, getParamDateValue, getParamIntValue, getParamLongValue, getParamObjectValue, getParamTextValue, getUserCredentials, getUserId, getUserLoginId, getVersion, isParamPresent, isParamValueEmpty, setServerCall, setUserCredentials, setVersion, validateInput
-
-
-
-
Field Detail
-
MULTI_ARG_SEP
public static final java.lang.String MULTI_ARG_SEP
- See Also:
- Constant Field Values
-
COLUMN_SEP
public static final java.lang.String COLUMN_SEP
- See Also:
- Constant Field Values
-
baseParams
public static java.util.Map<java.lang.String,com.mapr.cliframework.base.inputparams.BaseInputParameter> baseParams
-
-
Method Detail
-
getLong
public long getLong(byte[] b)
-
getNameEnt
public FidCommands.NameEnt getNameEnt(com.google.protobuf.ByteString bs, int offset)
-
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
public static java.lang.String printableFid(com.mapr.fs.proto.Common.FidMsg f)
-
printableSubType
public static java.lang.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
public static java.lang.String getCompressionType(com.mapr.fs.proto.Common.FileCompressionType ct)
-
-