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:
  • Field Details

    • operationHandle

      public TOperationHandle operationHandle
    • orientation

      public TFetchOrientation 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

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

    • deepCopy

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

      public void clear()
      Specified by:
      clear in interface org.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:
    • setOrientation

      public TFetchResultsReq setOrientation(TFetchOrientation orientation)
      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

      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:
      setFieldValue in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
    • getFieldValue

      public Object getFieldValue(TFetchResultsReq._Fields field)
      Specified by:
      getFieldValue in interface org.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:
      isSet in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
    • equals

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

      public boolean equals(TFetchResultsReq that)
    • hashCode

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

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

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