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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTFetchResultsReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description shortfetchTypebooleanincludeResultSetMetadatalongmaxByteslongmaxRowsstatic Map<TFetchResultsReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTOperationHandleoperationHandleTFetchOrientationorientationlongstartRowOffset
-
Constructor Summary
Constructors Constructor Description TFetchResultsReq()TFetchResultsReq(TFetchResultsReq other)Performs a deep copy on other.TFetchResultsReq(TOperationHandle operationHandle, TFetchOrientation orientation, long maxRows)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TFetchResultsReq other)TFetchResultsReqdeepCopy()booleanequals(TFetchResultsReq that)booleanequals(Object that)TFetchResultsReq._FieldsfieldForId(int fieldId)shortgetFetchType()ObjectgetFieldValue(TFetchResultsReq._Fields field)longgetMaxBytes()longgetMaxRows()TOperationHandlegetOperationHandle()TFetchOrientationgetOrientation()longgetStartRowOffset()inthashCode()booleanisIncludeResultSetMetadata()booleanisSet(TFetchResultsReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetFetchType()Returns true if field fetchType is set (has been assigned a value) and false otherwisebooleanisSetIncludeResultSetMetadata()Returns true if field includeResultSetMetadata is set (has been assigned a value) and false otherwisebooleanisSetMaxBytes()Returns true if field maxBytes is set (has been assigned a value) and false otherwisebooleanisSetMaxRows()Returns true if field maxRows is set (has been assigned a value) and false otherwisebooleanisSetOperationHandle()Returns true if field operationHandle is set (has been assigned a value) and false otherwisebooleanisSetOrientation()Returns true if field orientation is set (has been assigned a value) and false otherwisebooleanisSetStartRowOffset()Returns true if field startRowOffset is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TFetchResultsReqsetFetchType(short fetchType)voidsetFetchTypeIsSet(boolean value)voidsetFieldValue(TFetchResultsReq._Fields field, Object value)TFetchResultsReqsetIncludeResultSetMetadata(boolean includeResultSetMetadata)voidsetIncludeResultSetMetadataIsSet(boolean value)TFetchResultsReqsetMaxBytes(long maxBytes)voidsetMaxBytesIsSet(boolean value)TFetchResultsReqsetMaxRows(long maxRows)voidsetMaxRowsIsSet(boolean value)TFetchResultsReqsetOperationHandle(TOperationHandle operationHandle)voidsetOperationHandleIsSet(boolean value)TFetchResultsReqsetOrientation(TFetchOrientation orientation)voidsetOrientationIsSet(boolean value)TFetchResultsReqsetStartRowOffset(long startRowOffset)voidsetStartRowOffsetIsSet(boolean value)StringtoString()voidunsetFetchType()voidunsetIncludeResultSetMetadata()voidunsetMaxBytes()voidunsetMaxRows()voidunsetOperationHandle()voidunsetOrientation()voidunsetStartRowOffset()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
operationHandle
public TOperationHandle operationHandle
-
orientation
public TFetchOrientation orientation
- See Also:
TFetchOrientation
-
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 Detail
-
TFetchResultsReq
public TFetchResultsReq()
-
TFetchResultsReq
public TFetchResultsReq(TOperationHandle operationHandle, TFetchOrientation orientation, long maxRows)
-
TFetchResultsReq
public TFetchResultsReq(TFetchResultsReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TFetchResultsReq 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
public TOperationHandle getOperationHandle()
-
setOperationHandle
public TFetchResultsReq setOperationHandle(TOperationHandle operationHandle)
-
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
public TFetchOrientation getOrientation()
- See Also:
TFetchOrientation
-
setOrientation
public TFetchResultsReq setOrientation(TFetchOrientation orientation)
- See Also:
TFetchOrientation
-
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
public TFetchResultsReq setMaxRows(long maxRows)
-
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
public TFetchResultsReq setFetchType(short fetchType)
-
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
public TFetchResultsReq setMaxBytes(long maxBytes)
-
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
public TFetchResultsReq setStartRowOffset(long startRowOffset)
-
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
public TFetchResultsReq setIncludeResultSetMetadata(boolean includeResultSetMetadata)
-
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
public void setFieldValue(TFetchResultsReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
-
getFieldValue
public Object getFieldValue(TFetchResultsReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
-
isSet
public boolean isSet(TFetchResultsReq._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<TFetchResultsReq,TFetchResultsReq._Fields>
-
equals
public boolean equals(TFetchResultsReq that)
-
compareTo
public int compareTo(TFetchResultsReq other)
- Specified by:
compareToin interfaceComparable<TFetchResultsReq>
-
fieldForId
public TFetchResultsReq._Fields fieldForId(int fieldId)
- 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
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-