Class TExecuteStatementReq
- java.lang.Object
-
- com.databricks.jdbc.model.client.thrift.generated.TExecuteStatementReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TExecuteStatementReq>,org.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2025-05-08") public class TExecuteStatementReq extends Object implements org.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>, Serializable, Cloneable, Comparable<TExecuteStatementReq>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTExecuteStatementReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description booleancanDecompressLZ4ResultbooleancanDownloadResultbooleancanReadArrowResultMap<String,String>confOverlayTSparkGetDirectResultsgetDirectResultslongmaxBytesPerBatchlongmaxBytesPerFilestatic Map<TExecuteStatementReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<TSparkParameter>parameterslongqueryTimeoutlongresultRowLimitbooleanrunAsyncTSessionHandlesessionHandleStringstatementTStatementConfstatementConfTSparkArrowTypesuseArrowNativeTypes
-
Constructor Summary
Constructors Constructor Description TExecuteStatementReq()TExecuteStatementReq(TExecuteStatementReq other)Performs a deep copy on other.TExecuteStatementReq(TSessionHandle sessionHandle, String statement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToParameters(TSparkParameter elem)voidclear()intcompareTo(TExecuteStatementReq other)TExecuteStatementReqdeepCopy()booleanequals(TExecuteStatementReq that)booleanequals(Object that)TExecuteStatementReq._FieldsfieldForId(int fieldId)Map<String,String>getConfOverlay()intgetConfOverlaySize()ObjectgetFieldValue(TExecuteStatementReq._Fields field)TSparkGetDirectResultsgetGetDirectResults()longgetMaxBytesPerBatch()longgetMaxBytesPerFile()List<TSparkParameter>getParameters()Iterator<TSparkParameter>getParametersIterator()intgetParametersSize()longgetQueryTimeout()longgetResultRowLimit()TSessionHandlegetSessionHandle()StringgetStatement()TStatementConfgetStatementConf()TSparkArrowTypesgetUseArrowNativeTypes()inthashCode()booleanisCanDecompressLZ4Result()booleanisCanDownloadResult()booleanisCanReadArrowResult()booleanisRunAsync()booleanisSet(TExecuteStatementReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCanDecompressLZ4Result()Returns true if field canDecompressLZ4Result is set (has been assigned a value) and false otherwisebooleanisSetCanDownloadResult()Returns true if field canDownloadResult is set (has been assigned a value) and false otherwisebooleanisSetCanReadArrowResult()Returns true if field canReadArrowResult is set (has been assigned a value) and false otherwisebooleanisSetConfOverlay()Returns true if field confOverlay is set (has been assigned a value) and false otherwisebooleanisSetGetDirectResults()Returns true if field getDirectResults is set (has been assigned a value) and false otherwisebooleanisSetMaxBytesPerBatch()Returns true if field maxBytesPerBatch is set (has been assigned a value) and false otherwisebooleanisSetMaxBytesPerFile()Returns true if field maxBytesPerFile is set (has been assigned a value) and false otherwisebooleanisSetParameters()Returns true if field parameters is set (has been assigned a value) and false otherwisebooleanisSetQueryTimeout()Returns true if field queryTimeout is set (has been assigned a value) and false otherwisebooleanisSetResultRowLimit()Returns true if field resultRowLimit is set (has been assigned a value) and false otherwisebooleanisSetRunAsync()Returns true if field runAsync is set (has been assigned a value) and false otherwisebooleanisSetSessionHandle()Returns true if field sessionHandle is set (has been assigned a value) and false otherwisebooleanisSetStatement()Returns true if field statement is set (has been assigned a value) and false otherwisebooleanisSetStatementConf()Returns true if field statementConf is set (has been assigned a value) and false otherwisebooleanisSetUseArrowNativeTypes()Returns true if field useArrowNativeTypes is set (has been assigned a value) and false otherwisevoidputToConfOverlay(String key, String val)voidread(org.apache.thrift.protocol.TProtocol iprot)TExecuteStatementReqsetCanDecompressLZ4Result(boolean canDecompressLZ4Result)voidsetCanDecompressLZ4ResultIsSet(boolean value)TExecuteStatementReqsetCanDownloadResult(boolean canDownloadResult)voidsetCanDownloadResultIsSet(boolean value)TExecuteStatementReqsetCanReadArrowResult(boolean canReadArrowResult)voidsetCanReadArrowResultIsSet(boolean value)TExecuteStatementReqsetConfOverlay(Map<String,String> confOverlay)voidsetConfOverlayIsSet(boolean value)voidsetFieldValue(TExecuteStatementReq._Fields field, Object value)TExecuteStatementReqsetGetDirectResults(TSparkGetDirectResults getDirectResults)voidsetGetDirectResultsIsSet(boolean value)TExecuteStatementReqsetMaxBytesPerBatch(long maxBytesPerBatch)voidsetMaxBytesPerBatchIsSet(boolean value)TExecuteStatementReqsetMaxBytesPerFile(long maxBytesPerFile)voidsetMaxBytesPerFileIsSet(boolean value)TExecuteStatementReqsetParameters(List<TSparkParameter> parameters)voidsetParametersIsSet(boolean value)TExecuteStatementReqsetQueryTimeout(long queryTimeout)voidsetQueryTimeoutIsSet(boolean value)TExecuteStatementReqsetResultRowLimit(long resultRowLimit)voidsetResultRowLimitIsSet(boolean value)TExecuteStatementReqsetRunAsync(boolean runAsync)voidsetRunAsyncIsSet(boolean value)TExecuteStatementReqsetSessionHandle(TSessionHandle sessionHandle)voidsetSessionHandleIsSet(boolean value)TExecuteStatementReqsetStatement(String statement)TExecuteStatementReqsetStatementConf(TStatementConf statementConf)voidsetStatementConfIsSet(boolean value)voidsetStatementIsSet(boolean value)TExecuteStatementReqsetUseArrowNativeTypes(TSparkArrowTypes useArrowNativeTypes)voidsetUseArrowNativeTypesIsSet(boolean value)StringtoString()voidunsetCanDecompressLZ4Result()voidunsetCanDownloadResult()voidunsetCanReadArrowResult()voidunsetConfOverlay()voidunsetGetDirectResults()voidunsetMaxBytesPerBatch()voidunsetMaxBytesPerFile()voidunsetParameters()voidunsetQueryTimeout()voidunsetResultRowLimit()voidunsetRunAsync()voidunsetSessionHandle()voidunsetStatement()voidunsetStatementConf()voidunsetUseArrowNativeTypes()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionHandle
public TSessionHandle sessionHandle
-
statement
public String statement
-
runAsync
public boolean runAsync
-
getDirectResults
public TSparkGetDirectResults getDirectResults
-
queryTimeout
public long queryTimeout
-
canReadArrowResult
public boolean canReadArrowResult
-
canDownloadResult
public boolean canDownloadResult
-
canDecompressLZ4Result
public boolean canDecompressLZ4Result
-
maxBytesPerFile
public long maxBytesPerFile
-
useArrowNativeTypes
public TSparkArrowTypes useArrowNativeTypes
-
resultRowLimit
public long resultRowLimit
-
parameters
public List<TSparkParameter> parameters
-
maxBytesPerBatch
public long maxBytesPerBatch
-
statementConf
public TStatementConf statementConf
-
metaDataMap
public static final Map<TExecuteStatementReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TExecuteStatementReq
public TExecuteStatementReq()
-
TExecuteStatementReq
public TExecuteStatementReq(TSessionHandle sessionHandle, String statement)
-
TExecuteStatementReq
public TExecuteStatementReq(TExecuteStatementReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TExecuteStatementReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
-
getSessionHandle
public TSessionHandle getSessionHandle()
-
setSessionHandle
public TExecuteStatementReq setSessionHandle(TSessionHandle sessionHandle)
-
unsetSessionHandle
public void unsetSessionHandle()
-
isSetSessionHandle
public boolean isSetSessionHandle()
Returns true if field sessionHandle is set (has been assigned a value) and false otherwise
-
setSessionHandleIsSet
public void setSessionHandleIsSet(boolean value)
-
getStatement
public String getStatement()
-
setStatement
public TExecuteStatementReq setStatement(String statement)
-
unsetStatement
public void unsetStatement()
-
isSetStatement
public boolean isSetStatement()
Returns true if field statement is set (has been assigned a value) and false otherwise
-
setStatementIsSet
public void setStatementIsSet(boolean value)
-
getConfOverlaySize
public int getConfOverlaySize()
-
setConfOverlay
public TExecuteStatementReq setConfOverlay(Map<String,String> confOverlay)
-
unsetConfOverlay
public void unsetConfOverlay()
-
isSetConfOverlay
public boolean isSetConfOverlay()
Returns true if field confOverlay is set (has been assigned a value) and false otherwise
-
setConfOverlayIsSet
public void setConfOverlayIsSet(boolean value)
-
isRunAsync
public boolean isRunAsync()
-
setRunAsync
public TExecuteStatementReq setRunAsync(boolean runAsync)
-
unsetRunAsync
public void unsetRunAsync()
-
isSetRunAsync
public boolean isSetRunAsync()
Returns true if field runAsync is set (has been assigned a value) and false otherwise
-
setRunAsyncIsSet
public void setRunAsyncIsSet(boolean value)
-
getGetDirectResults
public TSparkGetDirectResults getGetDirectResults()
-
setGetDirectResults
public TExecuteStatementReq setGetDirectResults(TSparkGetDirectResults getDirectResults)
-
unsetGetDirectResults
public void unsetGetDirectResults()
-
isSetGetDirectResults
public boolean isSetGetDirectResults()
Returns true if field getDirectResults is set (has been assigned a value) and false otherwise
-
setGetDirectResultsIsSet
public void setGetDirectResultsIsSet(boolean value)
-
getQueryTimeout
public long getQueryTimeout()
-
setQueryTimeout
public TExecuteStatementReq setQueryTimeout(long queryTimeout)
-
unsetQueryTimeout
public void unsetQueryTimeout()
-
isSetQueryTimeout
public boolean isSetQueryTimeout()
Returns true if field queryTimeout is set (has been assigned a value) and false otherwise
-
setQueryTimeoutIsSet
public void setQueryTimeoutIsSet(boolean value)
-
isCanReadArrowResult
public boolean isCanReadArrowResult()
-
setCanReadArrowResult
public TExecuteStatementReq setCanReadArrowResult(boolean canReadArrowResult)
-
unsetCanReadArrowResult
public void unsetCanReadArrowResult()
-
isSetCanReadArrowResult
public boolean isSetCanReadArrowResult()
Returns true if field canReadArrowResult is set (has been assigned a value) and false otherwise
-
setCanReadArrowResultIsSet
public void setCanReadArrowResultIsSet(boolean value)
-
isCanDownloadResult
public boolean isCanDownloadResult()
-
setCanDownloadResult
public TExecuteStatementReq setCanDownloadResult(boolean canDownloadResult)
-
unsetCanDownloadResult
public void unsetCanDownloadResult()
-
isSetCanDownloadResult
public boolean isSetCanDownloadResult()
Returns true if field canDownloadResult is set (has been assigned a value) and false otherwise
-
setCanDownloadResultIsSet
public void setCanDownloadResultIsSet(boolean value)
-
isCanDecompressLZ4Result
public boolean isCanDecompressLZ4Result()
-
setCanDecompressLZ4Result
public TExecuteStatementReq setCanDecompressLZ4Result(boolean canDecompressLZ4Result)
-
unsetCanDecompressLZ4Result
public void unsetCanDecompressLZ4Result()
-
isSetCanDecompressLZ4Result
public boolean isSetCanDecompressLZ4Result()
Returns true if field canDecompressLZ4Result is set (has been assigned a value) and false otherwise
-
setCanDecompressLZ4ResultIsSet
public void setCanDecompressLZ4ResultIsSet(boolean value)
-
getMaxBytesPerFile
public long getMaxBytesPerFile()
-
setMaxBytesPerFile
public TExecuteStatementReq setMaxBytesPerFile(long maxBytesPerFile)
-
unsetMaxBytesPerFile
public void unsetMaxBytesPerFile()
-
isSetMaxBytesPerFile
public boolean isSetMaxBytesPerFile()
Returns true if field maxBytesPerFile is set (has been assigned a value) and false otherwise
-
setMaxBytesPerFileIsSet
public void setMaxBytesPerFileIsSet(boolean value)
-
getUseArrowNativeTypes
public TSparkArrowTypes getUseArrowNativeTypes()
-
setUseArrowNativeTypes
public TExecuteStatementReq setUseArrowNativeTypes(TSparkArrowTypes useArrowNativeTypes)
-
unsetUseArrowNativeTypes
public void unsetUseArrowNativeTypes()
-
isSetUseArrowNativeTypes
public boolean isSetUseArrowNativeTypes()
Returns true if field useArrowNativeTypes is set (has been assigned a value) and false otherwise
-
setUseArrowNativeTypesIsSet
public void setUseArrowNativeTypesIsSet(boolean value)
-
getResultRowLimit
public long getResultRowLimit()
-
setResultRowLimit
public TExecuteStatementReq setResultRowLimit(long resultRowLimit)
-
unsetResultRowLimit
public void unsetResultRowLimit()
-
isSetResultRowLimit
public boolean isSetResultRowLimit()
Returns true if field resultRowLimit is set (has been assigned a value) and false otherwise
-
setResultRowLimitIsSet
public void setResultRowLimitIsSet(boolean value)
-
getParametersSize
public int getParametersSize()
-
getParametersIterator
public Iterator<TSparkParameter> getParametersIterator()
-
addToParameters
public void addToParameters(TSparkParameter elem)
-
getParameters
public List<TSparkParameter> getParameters()
-
setParameters
public TExecuteStatementReq setParameters(List<TSparkParameter> parameters)
-
unsetParameters
public void unsetParameters()
-
isSetParameters
public boolean isSetParameters()
Returns true if field parameters is set (has been assigned a value) and false otherwise
-
setParametersIsSet
public void setParametersIsSet(boolean value)
-
getMaxBytesPerBatch
public long getMaxBytesPerBatch()
-
setMaxBytesPerBatch
public TExecuteStatementReq setMaxBytesPerBatch(long maxBytesPerBatch)
-
unsetMaxBytesPerBatch
public void unsetMaxBytesPerBatch()
-
isSetMaxBytesPerBatch
public boolean isSetMaxBytesPerBatch()
Returns true if field maxBytesPerBatch is set (has been assigned a value) and false otherwise
-
setMaxBytesPerBatchIsSet
public void setMaxBytesPerBatchIsSet(boolean value)
-
getStatementConf
public TStatementConf getStatementConf()
-
setStatementConf
public TExecuteStatementReq setStatementConf(TStatementConf statementConf)
-
unsetStatementConf
public void unsetStatementConf()
-
isSetStatementConf
public boolean isSetStatementConf()
Returns true if field statementConf is set (has been assigned a value) and false otherwise
-
setStatementConfIsSet
public void setStatementConfIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TExecuteStatementReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
-
getFieldValue
public Object getFieldValue(TExecuteStatementReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
-
isSet
public boolean isSet(TExecuteStatementReq._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<TExecuteStatementReq,TExecuteStatementReq._Fields>
-
equals
public boolean equals(TExecuteStatementReq that)
-
compareTo
public int compareTo(TExecuteStatementReq other)
- Specified by:
compareToin interfaceComparable<TExecuteStatementReq>
-
fieldForId
public TExecuteStatementReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._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
-
-