Class TFetchResultsReq
java.lang.Object
com.databricks.jdbc.model.client.thrift.generated.TFetchResultsReq
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TFetchResultsReq>,org.apache.thrift.TBase<TFetchResultsReq,,TFetchResultsReq._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2025-05-08")
public class TFetchResultsReq
extends Object
implements org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>, Serializable, Cloneable, Comparable<TFetchResultsReq>
- 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 TypeFieldDescriptionshortbooleanlonglongstatic final Map<TFetchResultsReq._Fields, org.apache.thrift.meta_data.FieldMetaData> long -
Constructor Summary
ConstructorsConstructorDescriptionTFetchResultsReq(TFetchResultsReq other) Performs a deep copy on other.TFetchResultsReq(TOperationHandle operationHandle, TFetchOrientation orientation, long maxRows) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(TFetchResultsReq other) deepCopy()booleanequals(TFetchResultsReq that) booleanfieldForId(int fieldId) shortlonglonglonginthashCode()booleanbooleanisSet(TFetchResultsReq._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field fetchType is set (has been assigned a value) and false otherwisebooleanReturns true if field includeResultSetMetadata is set (has been assigned a value) and false otherwisebooleanReturns true if field maxBytes is set (has been assigned a value) and false otherwisebooleanReturns true if field maxRows is set (has been assigned a value) and false otherwisebooleanReturns true if field operationHandle is set (has been assigned a value) and false otherwisebooleanReturns true if field orientation is set (has been assigned a value) and false otherwisebooleanReturns true if field startRowOffset is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setFetchType(short fetchType) voidsetFetchTypeIsSet(boolean value) voidsetFieldValue(TFetchResultsReq._Fields field, Object value) setIncludeResultSetMetadata(boolean includeResultSetMetadata) voidsetIncludeResultSetMetadataIsSet(boolean value) setMaxBytes(long maxBytes) voidsetMaxBytesIsSet(boolean value) setMaxRows(long maxRows) voidsetMaxRowsIsSet(boolean value) setOperationHandle(TOperationHandle operationHandle) voidsetOperationHandleIsSet(boolean value) setOrientation(TFetchOrientation orientation) voidsetOrientationIsSet(boolean value) setStartRowOffset(long startRowOffset) voidsetStartRowOffsetIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
operationHandle
-
orientation
- See Also:
-
maxRows
public long maxRows -
fetchType
public short fetchType -
maxBytes
public long maxBytes -
startRowOffset
public long startRowOffset -
includeResultSetMetadata
public boolean includeResultSetMetadata -
metaDataMap
public static final Map<TFetchResultsReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TFetchResultsReq
public TFetchResultsReq() -
TFetchResultsReq
public TFetchResultsReq(TOperationHandle operationHandle, TFetchOrientation orientation, long maxRows) -
TFetchResultsReq
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
-
getOperationHandle
-
setOperationHandle
-
unsetOperationHandle
public void unsetOperationHandle() -
isSetOperationHandle
public boolean isSetOperationHandle()Returns true if field operationHandle is set (has been assigned a value) and false otherwise -
setOperationHandleIsSet
public void setOperationHandleIsSet(boolean value) -
getOrientation
- See Also:
-
setOrientation
- See Also:
-
unsetOrientation
public void unsetOrientation() -
isSetOrientation
public boolean isSetOrientation()Returns true if field orientation is set (has been assigned a value) and false otherwise -
setOrientationIsSet
public void setOrientationIsSet(boolean value) -
getMaxRows
public long getMaxRows() -
setMaxRows
-
unsetMaxRows
public void unsetMaxRows() -
isSetMaxRows
public boolean isSetMaxRows()Returns true if field maxRows is set (has been assigned a value) and false otherwise -
setMaxRowsIsSet
public void setMaxRowsIsSet(boolean value) -
getFetchType
public short getFetchType() -
setFetchType
-
unsetFetchType
public void unsetFetchType() -
isSetFetchType
public boolean isSetFetchType()Returns true if field fetchType is set (has been assigned a value) and false otherwise -
setFetchTypeIsSet
public void setFetchTypeIsSet(boolean value) -
getMaxBytes
public long getMaxBytes() -
setMaxBytes
-
unsetMaxBytes
public void unsetMaxBytes() -
isSetMaxBytes
public boolean isSetMaxBytes()Returns true if field maxBytes is set (has been assigned a value) and false otherwise -
setMaxBytesIsSet
public void setMaxBytesIsSet(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) -
isIncludeResultSetMetadata
public boolean isIncludeResultSetMetadata() -
setIncludeResultSetMetadata
-
unsetIncludeResultSetMetadata
public void unsetIncludeResultSetMetadata() -
isSetIncludeResultSetMetadata
public boolean isSetIncludeResultSetMetadata()Returns true if field includeResultSetMetadata is set (has been assigned a value) and false otherwise -
setIncludeResultSetMetadataIsSet
public void setIncludeResultSetMetadataIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._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<TFetchResultsReq,TFetchResultsReq._Fields>
-
equals
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<TFetchResultsReq>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._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
-