Class TSparkArrowResultLink
java.lang.Object
com.databricks.jdbc.model.client.thrift.generated.TSparkArrowResultLink
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSparkArrowResultLink>,org.apache.thrift.TBase<TSparkArrowResultLink,,TSparkArrowResultLink._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2025-05-08")
public class TSparkArrowResultLink
extends Object
implements org.apache.thrift.TBase<TSparkArrowResultLink,TSparkArrowResultLink._Fields>, Serializable, Cloneable, Comparable<TSparkArrowResultLink>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionlonglongstatic final Map<TSparkArrowResultLink._Fields, org.apache.thrift.meta_data.FieldMetaData> longlong -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.TSparkArrowResultLink(String fileLink, long expiryTime, long startRowOffset, long rowCount, long bytesNum) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(TSparkArrowResultLink other) deepCopy()booleanequals(TSparkArrowResultLink that) booleanfieldForId(int fieldId) longlongintlonglonginthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field bytesNum is set (has been assigned a value) and false otherwisebooleanReturns true if field expiryTime is set (has been assigned a value) and false otherwisebooleanReturns true if field fileLink is set (has been assigned a value) and false otherwisebooleanReturns true if field httpHeaders is set (has been assigned a value) and false otherwisebooleanReturns true if field rowCount is set (has been assigned a value) and false otherwisebooleanReturns true if field startRowOffset is set (has been assigned a value) and false otherwisevoidputToHttpHeaders(String key, String val) voidread(org.apache.thrift.protocol.TProtocol iprot) setBytesNum(long bytesNum) voidsetBytesNumIsSet(boolean value) setExpiryTime(long expiryTime) voidsetExpiryTimeIsSet(boolean value) voidsetFieldValue(TSparkArrowResultLink._Fields field, Object value) setFileLink(String fileLink) voidsetFileLinkIsSet(boolean value) setHttpHeaders(Map<String, String> httpHeaders) voidsetHttpHeadersIsSet(boolean value) setRowCount(long rowCount) voidsetRowCountIsSet(boolean value) setStartRowOffset(long startRowOffset) voidsetStartRowOffsetIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
fileLink
-
expiryTime
public long expiryTime -
startRowOffset
public long startRowOffset -
rowCount
public long rowCount -
bytesNum
public long bytesNum -
httpHeaders
-
metaDataMap
public static final Map<TSparkArrowResultLink._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TSparkArrowResultLink
public TSparkArrowResultLink() -
TSparkArrowResultLink
public TSparkArrowResultLink(String fileLink, long expiryTime, long startRowOffset, long rowCount, long bytesNum) -
TSparkArrowResultLink
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSparkArrowResultLink,TSparkArrowResultLink._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSparkArrowResultLink,TSparkArrowResultLink._Fields>
-
getFileLink
-
setFileLink
-
unsetFileLink
public void unsetFileLink() -
isSetFileLink
public boolean isSetFileLink()Returns true if field fileLink is set (has been assigned a value) and false otherwise -
setFileLinkIsSet
public void setFileLinkIsSet(boolean value) -
getExpiryTime
public long getExpiryTime() -
setExpiryTime
-
unsetExpiryTime
public void unsetExpiryTime() -
isSetExpiryTime
public boolean isSetExpiryTime()Returns true if field expiryTime is set (has been assigned a value) and false otherwise -
setExpiryTimeIsSet
public void setExpiryTimeIsSet(boolean value) -
getStartRowOffset
public long getStartRowOffset() -
setStartRowOffset
-
unsetStartRowOffset
public void unsetStartRowOffset() -
isSetStartRowOffset
public boolean isSetStartRowOffset()Returns true if field startRowOffset is set (has been assigned a value) and false otherwise -
setStartRowOffsetIsSet
public void setStartRowOffsetIsSet(boolean value) -
getRowCount
public long getRowCount() -
setRowCount
-
unsetRowCount
public void unsetRowCount() -
isSetRowCount
public boolean isSetRowCount()Returns true if field rowCount is set (has been assigned a value) and false otherwise -
setRowCountIsSet
public void setRowCountIsSet(boolean value) -
getBytesNum
public long getBytesNum() -
setBytesNum
-
unsetBytesNum
public void unsetBytesNum() -
isSetBytesNum
public boolean isSetBytesNum()Returns true if field bytesNum is set (has been assigned a value) and false otherwise -
setBytesNumIsSet
public void setBytesNumIsSet(boolean value) -
getHttpHeadersSize
public int getHttpHeadersSize() -
putToHttpHeaders
-
getHttpHeaders
-
setHttpHeaders
-
unsetHttpHeaders
public void unsetHttpHeaders() -
isSetHttpHeaders
public boolean isSetHttpHeaders()Returns true if field httpHeaders is set (has been assigned a value) and false otherwise -
setHttpHeadersIsSet
public void setHttpHeadersIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSparkArrowResultLink,TSparkArrowResultLink._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSparkArrowResultLink,TSparkArrowResultLink._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TSparkArrowResultLink,TSparkArrowResultLink._Fields>
-
equals
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<TSparkArrowResultLink>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSparkArrowResultLink,TSparkArrowResultLink._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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-