Class TDiskUsage

    • Field Detail

      • usage

        public long usage
      • metaDataMap

        public static final Map<TDiskUsage._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
    • Constructor Detail

      • TDiskUsage

        public TDiskUsage()
      • TDiskUsage

        public TDiskUsage​(List<String> tables,
                          long usage)
      • TDiskUsage

        public TDiskUsage​(TDiskUsage other)
        Performs a deep copy on other.
    • Method Detail

      • getTablesSize

        public int getTablesSize()
      • addToTables

        public void addToTables​(String elem)
      • unsetTables

        public void unsetTables()
      • isSetTables

        public boolean isSetTables()
        Returns true if field tables is set (has been assigned a value) and false otherwise
      • setTablesIsSet

        public void setTablesIsSet​(boolean value)
      • getUsage

        public long getUsage()
      • setUsage

        public TDiskUsage setUsage​(long usage)
      • unsetUsage

        public void unsetUsage()
      • isSetUsage

        public boolean isSetUsage()
        Returns true if field usage is set (has been assigned a value) and false otherwise
      • setUsageIsSet

        public void setUsageIsSet​(boolean value)
      • isSet

        public boolean isSet​(TDiskUsage._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.thrift.TBase<TDiskUsage,​TDiskUsage._Fields>
      • equals

        public boolean equals​(TDiskUsage that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException