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 enum 
     
    class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static Map<String,com.mapr.cliframework.base.inputparams.BaseInputParameter>
     
    static final String
     
    static final String
     

    Fields inherited from class com.mapr.cliframework.base.CLIBaseClass

    cliCommand, CLUSTER_NAME_PARAM, clusterParams, HELP_PARAM, input, isServerCall, NOT_REQUIRED, output, REQUIRED, userInfo, version

    Fields inherited from interface com.mapr.cliframework.base.CLIInterface

    KEY_PREFIX, PASSWORD_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    FidCommands(com.mapr.cliframework.base.ProcessedInput input, com.mapr.cliframework.base.CLICommand cliCommand)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode
    dumpInlineXAttrs(com.google.protobuf.ByteString xattrs)
     
    static void
    DumpMSIPartitionRec(com.mapr.fs.proto.Msicommon.MSIPartitionRec msiRec, com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode vout)
     
    static void
    DumpMSIPartitionStatsRec(com.mapr.fs.proto.Msicommon.MSIStatsRec statsRec, com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode sOut)
     
    static void
    DumpMSITabletStatsRec(com.mapr.fs.proto.Msicommon.MSITabletStatsEntry msi, com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode sOut)
     
    static void
    DumpS3BucketStats(com.mapr.fs.proto.Msicommon.S3BucketStats s3Stats, com.mapr.cliframework.base.CommandOutput.OutputHierarchy.OutputNode sOut)
     
    com.mapr.cliframework.base.CommandOutput
     
    static String
    getCompressionType(com.mapr.fs.proto.Common.FileCompressionType ct)
     
    long
    getLong(byte[] b)
     
    getNameEnt(com.google.protobuf.ByteString bs, int offset)
     
    static String
    printableFid(com.mapr.fs.proto.Common.FidMsg f)
     
    static String
    printableSubType(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, validateInput

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.mapr.cliframework.base.CLIInterface

    executeCommand, getCLICommand, getGIds, getUserId, getUserLoginId, setServerCall, setUserCredentials, setUserCredentialsByJwt, setVersion, validateInput
  • Field Details

  • 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

      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:
      executeRealCommand in class com.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 String printableFid(com.mapr.fs.proto.Common.FidMsg f)
    • 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

      public static String getCompressionType(com.mapr.fs.proto.Common.FileCompressionType ct)