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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTGetResultSetMetadataResp._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description ByteBufferarrowSchemaTCacheLookupResultcacheLookupResultlongcompressedBytesbooleanisStagingOperationbooleanlz4Compressedstatic Map<TGetResultSetMetadataResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTSparkRowSetTyperesultFormatTTableSchemaschemaTStatusstatuslonguncompressedBytes
-
Constructor Summary
Constructors Constructor Description TGetResultSetMetadataResp()TGetResultSetMetadataResp(TGetResultSetMetadataResp other)Performs a deep copy on other.TGetResultSetMetadataResp(TStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufferbufferForArrowSchema()voidclear()intcompareTo(TGetResultSetMetadataResp other)TGetResultSetMetadataRespdeepCopy()booleanequals(TGetResultSetMetadataResp that)booleanequals(Object that)TGetResultSetMetadataResp._FieldsfieldForId(int fieldId)byte[]getArrowSchema()TCacheLookupResultgetCacheLookupResult()longgetCompressedBytes()ObjectgetFieldValue(TGetResultSetMetadataResp._Fields field)TSparkRowSetTypegetResultFormat()TTableSchemagetSchema()TStatusgetStatus()longgetUncompressedBytes()inthashCode()booleanisIsStagingOperation()booleanisLz4Compressed()booleanisSet(TGetResultSetMetadataResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetArrowSchema()Returns true if field arrowSchema is set (has been assigned a value) and false otherwisebooleanisSetCacheLookupResult()Returns true if field cacheLookupResult is set (has been assigned a value) and false otherwisebooleanisSetCompressedBytes()Returns true if field compressedBytes is set (has been assigned a value) and false otherwisebooleanisSetIsStagingOperation()Returns true if field isStagingOperation is set (has been assigned a value) and false otherwisebooleanisSetLz4Compressed()Returns true if field lz4Compressed is set (has been assigned a value) and false otherwisebooleanisSetResultFormat()Returns true if field resultFormat is set (has been assigned a value) and false otherwisebooleanisSetSchema()Returns true if field schema is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisebooleanisSetUncompressedBytes()Returns true if field uncompressedBytes is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TGetResultSetMetadataRespsetArrowSchema(byte[] arrowSchema)TGetResultSetMetadataRespsetArrowSchema(ByteBuffer arrowSchema)voidsetArrowSchemaIsSet(boolean value)TGetResultSetMetadataRespsetCacheLookupResult(TCacheLookupResult cacheLookupResult)voidsetCacheLookupResultIsSet(boolean value)TGetResultSetMetadataRespsetCompressedBytes(long compressedBytes)voidsetCompressedBytesIsSet(boolean value)voidsetFieldValue(TGetResultSetMetadataResp._Fields field, Object value)TGetResultSetMetadataRespsetIsStagingOperation(boolean isStagingOperation)voidsetIsStagingOperationIsSet(boolean value)TGetResultSetMetadataRespsetLz4Compressed(boolean lz4Compressed)voidsetLz4CompressedIsSet(boolean value)TGetResultSetMetadataRespsetResultFormat(TSparkRowSetType resultFormat)voidsetResultFormatIsSet(boolean value)TGetResultSetMetadataRespsetSchema(TTableSchema schema)voidsetSchemaIsSet(boolean value)TGetResultSetMetadataRespsetStatus(TStatus status)voidsetStatusIsSet(boolean value)TGetResultSetMetadataRespsetUncompressedBytes(long uncompressedBytes)voidsetUncompressedBytesIsSet(boolean value)StringtoString()voidunsetArrowSchema()voidunsetCacheLookupResult()voidunsetCompressedBytes()voidunsetIsStagingOperation()voidunsetLz4Compressed()voidunsetResultFormat()voidunsetSchema()voidunsetStatus()voidunsetUncompressedBytes()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
status
public TStatus status
-
schema
public TTableSchema schema
-
resultFormat
public TSparkRowSetType resultFormat
- See Also:
TSparkRowSetType
-
lz4Compressed
public boolean lz4Compressed
-
arrowSchema
public ByteBuffer arrowSchema
-
cacheLookupResult
public TCacheLookupResult cacheLookupResult
- See Also:
TCacheLookupResult
-
uncompressedBytes
public long uncompressedBytes
-
compressedBytes
public long compressedBytes
-
isStagingOperation
public boolean isStagingOperation
-
metaDataMap
public static final Map<TGetResultSetMetadataResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TGetResultSetMetadataResp
public TGetResultSetMetadataResp()
-
TGetResultSetMetadataResp
public TGetResultSetMetadataResp(TStatus status)
-
TGetResultSetMetadataResp
public TGetResultSetMetadataResp(TGetResultSetMetadataResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TGetResultSetMetadataResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TGetResultSetMetadataResp,TGetResultSetMetadataResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.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:
TSparkRowSetType
-
setResultFormat
public TGetResultSetMetadataResp setResultFormat(TSparkRowSetType resultFormat)
- See Also:
TSparkRowSetType
-
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:
TCacheLookupResult
-
setCacheLookupResult
public TGetResultSetMetadataResp setCacheLookupResult(TCacheLookupResult cacheLookupResult)
- See Also:
TCacheLookupResult
-
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:
setFieldValuein interfaceorg.apache.thrift.TBase<TGetResultSetMetadataResp,TGetResultSetMetadataResp._Fields>
-
getFieldValue
public Object getFieldValue(TGetResultSetMetadataResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.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:
isSetin interfaceorg.apache.thrift.TBase<TGetResultSetMetadataResp,TGetResultSetMetadataResp._Fields>
-
equals
public boolean equals(TGetResultSetMetadataResp that)
-
compareTo
public int compareTo(TGetResultSetMetadataResp other)
- Specified by:
compareToin interfaceComparable<TGetResultSetMetadataResp>
-
fieldForId
public TGetResultSetMetadataResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TGetResultSetMetadataResp,TGetResultSetMetadataResp._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-