Class TGetResultSetMetadataResp

java.lang.Object
com.databricks.jdbc.model.client.thrift.generated.TGetResultSetMetadataResp
All Implemented Interfaces:
Serializable, Cloneable, Comparable<TGetResultSetMetadataResp>, org.apache.thrift.TBase<TGetResultSetMetadataResp,TGetResultSetMetadataResp._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2025-05-08") public class TGetResultSetMetadataResp extends Object implements org.apache.thrift.TBase<TGetResultSetMetadataResp,TGetResultSetMetadataResp._Fields>, Serializable, Cloneable, Comparable<TGetResultSetMetadataResp>
See Also:
  • Field Details

  • Constructor Details

    • TGetResultSetMetadataResp

      public TGetResultSetMetadataResp()
    • TGetResultSetMetadataResp

      public TGetResultSetMetadataResp(TStatus status)
    • TGetResultSetMetadataResp

      public TGetResultSetMetadataResp(TGetResultSetMetadataResp other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

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

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

      public TStatus getStatus()
    • setStatus

      public TGetResultSetMetadataResp setStatus(TStatus status)
    • unsetStatus

      public void unsetStatus()
    • isSetStatus

      public boolean isSetStatus()
      Returns true if field status is set (has been assigned a value) and false otherwise
    • setStatusIsSet

      public void setStatusIsSet(boolean value)
    • getSchema

      public TTableSchema getSchema()
    • setSchema

      public TGetResultSetMetadataResp setSchema(TTableSchema schema)
    • unsetSchema

      public void unsetSchema()
    • isSetSchema

      public boolean isSetSchema()
      Returns true if field schema is set (has been assigned a value) and false otherwise
    • setSchemaIsSet

      public void setSchemaIsSet(boolean value)
    • getResultFormat

      public TSparkRowSetType getResultFormat()
      See Also:
    • setResultFormat

      public TGetResultSetMetadataResp setResultFormat(TSparkRowSetType resultFormat)
      See Also:
    • unsetResultFormat

      public void unsetResultFormat()
    • isSetResultFormat

      public boolean isSetResultFormat()
      Returns true if field resultFormat is set (has been assigned a value) and false otherwise
    • setResultFormatIsSet

      public void setResultFormatIsSet(boolean value)
    • isLz4Compressed

      public boolean isLz4Compressed()
    • setLz4Compressed

      public TGetResultSetMetadataResp setLz4Compressed(boolean lz4Compressed)
    • unsetLz4Compressed

      public void unsetLz4Compressed()
    • isSetLz4Compressed

      public boolean isSetLz4Compressed()
      Returns true if field lz4Compressed is set (has been assigned a value) and false otherwise
    • setLz4CompressedIsSet

      public void setLz4CompressedIsSet(boolean value)
    • getArrowSchema

      public byte[] getArrowSchema()
    • bufferForArrowSchema

      public ByteBuffer bufferForArrowSchema()
    • setArrowSchema

      public TGetResultSetMetadataResp setArrowSchema(byte[] arrowSchema)
    • setArrowSchema

      public TGetResultSetMetadataResp setArrowSchema(ByteBuffer arrowSchema)
    • unsetArrowSchema

      public void unsetArrowSchema()
    • isSetArrowSchema

      public boolean isSetArrowSchema()
      Returns true if field arrowSchema is set (has been assigned a value) and false otherwise
    • setArrowSchemaIsSet

      public void setArrowSchemaIsSet(boolean value)
    • getCacheLookupResult

      public TCacheLookupResult getCacheLookupResult()
      See Also:
    • setCacheLookupResult

      public TGetResultSetMetadataResp setCacheLookupResult(TCacheLookupResult cacheLookupResult)
      See Also:
    • unsetCacheLookupResult

      public void unsetCacheLookupResult()
    • isSetCacheLookupResult

      public boolean isSetCacheLookupResult()
      Returns true if field cacheLookupResult is set (has been assigned a value) and false otherwise
    • setCacheLookupResultIsSet

      public void setCacheLookupResultIsSet(boolean value)
    • getUncompressedBytes

      public long getUncompressedBytes()
    • setUncompressedBytes

      public TGetResultSetMetadataResp setUncompressedBytes(long uncompressedBytes)
    • unsetUncompressedBytes

      public void unsetUncompressedBytes()
    • isSetUncompressedBytes

      public boolean isSetUncompressedBytes()
      Returns true if field uncompressedBytes is set (has been assigned a value) and false otherwise
    • setUncompressedBytesIsSet

      public void setUncompressedBytesIsSet(boolean value)
    • getCompressedBytes

      public long getCompressedBytes()
    • setCompressedBytes

      public TGetResultSetMetadataResp setCompressedBytes(long compressedBytes)
    • unsetCompressedBytes

      public void unsetCompressedBytes()
    • isSetCompressedBytes

      public boolean isSetCompressedBytes()
      Returns true if field compressedBytes is set (has been assigned a value) and false otherwise
    • setCompressedBytesIsSet

      public void setCompressedBytesIsSet(boolean value)
    • isIsStagingOperation

      public boolean isIsStagingOperation()
    • setIsStagingOperation

      public TGetResultSetMetadataResp setIsStagingOperation(boolean isStagingOperation)
    • unsetIsStagingOperation

      public void unsetIsStagingOperation()
    • isSetIsStagingOperation

      public boolean isSetIsStagingOperation()
      Returns true if field isStagingOperation is set (has been assigned a value) and false otherwise
    • setIsStagingOperationIsSet

      public void setIsStagingOperationIsSet(boolean value)
    • setFieldValue

      public void setFieldValue(TGetResultSetMetadataResp._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<TGetResultSetMetadataResp,TGetResultSetMetadataResp._Fields>
    • getFieldValue

      public Object getFieldValue(TGetResultSetMetadataResp._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<TGetResultSetMetadataResp,TGetResultSetMetadataResp._Fields>
    • isSet

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

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(TGetResultSetMetadataResp that)
    • hashCode

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

      public int compareTo(TGetResultSetMetadataResp other)
      Specified by:
      compareTo in interface Comparable<TGetResultSetMetadataResp>
    • fieldForId

      public TGetResultSetMetadataResp._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<TGetResultSetMetadataResp,TGetResultSetMetadataResp._Fields>
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

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