Class TFile

    • Field Detail

      • fileName

        public String fileName
      • metaDataMap

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

      • TFile

        public TFile()
      • TFile

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

      • deepCopy

        public TFile deepCopy()
        Specified by:
        deepCopy in interface org.apache.thrift.TBase<TFile,​TFile._Fields>
      • clear

        public void clear()
        Specified by:
        clear in interface org.apache.thrift.TBase<TFile,​TFile._Fields>
      • getFileName

        public String getFileName()
      • setFileName

        public TFile setFileName​(String fileName)
      • unsetFileName

        public void unsetFileName()
      • isSetFileName

        public boolean isSetFileName()
        Returns true if field fileName is set (has been assigned a value) and false otherwise
      • setFileNameIsSet

        public void setFileNameIsSet​(boolean value)
      • getFile

        public byte[] getFile()
      • bufferForFile

        public ByteBuffer bufferForFile()
      • setFile

        public TFile setFile​(byte[] file)
      • unsetFile

        public void unsetFile()
      • isSetFile

        public boolean isSetFile()
        Returns true if field file is set (has been assigned a value) and false otherwise
      • setFileIsSet

        public void setFileIsSet​(boolean value)
      • isSet

        public boolean isSet​(TFile._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<TFile,​TFile._Fields>
      • equals

        public boolean equals​(TFile 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