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:
-
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 TypeFieldDescriptionbooleanbooleanbooleanlonglongstatic final Map<TExecuteStatementReq._Fields, org.apache.thrift.meta_data.FieldMetaData> longlongboolean -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.TExecuteStatementReq(TSessionHandle sessionHandle, String statement) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclear()intcompareTo(TExecuteStatementReq other) deepCopy()booleanequals(TExecuteStatementReq that) booleanfieldForId(int fieldId) intlonglongintlonglonginthashCode()booleanbooleanbooleanbooleanbooleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field canDecompressLZ4Result is set (has been assigned a value) and false otherwisebooleanReturns true if field canDownloadResult is set (has been assigned a value) and false otherwisebooleanReturns true if field canReadArrowResult is set (has been assigned a value) and false otherwisebooleanReturns true if field confOverlay is set (has been assigned a value) and false otherwisebooleanReturns true if field getDirectResults is set (has been assigned a value) and false otherwisebooleanReturns true if field maxBytesPerBatch is set (has been assigned a value) and false otherwisebooleanReturns true if field maxBytesPerFile is set (has been assigned a value) and false otherwisebooleanReturns true if field parameters is set (has been assigned a value) and false otherwisebooleanReturns true if field queryTimeout is set (has been assigned a value) and false otherwisebooleanReturns true if field resultRowLimit is set (has been assigned a value) and false otherwisebooleanReturns true if field runAsync is set (has been assigned a value) and false otherwisebooleanReturns true if field sessionHandle is set (has been assigned a value) and false otherwisebooleanReturns true if field statement is set (has been assigned a value) and false otherwisebooleanReturns true if field statementConf is set (has been assigned a value) and false otherwisebooleanReturns 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) setCanDecompressLZ4Result(boolean canDecompressLZ4Result) voidsetCanDecompressLZ4ResultIsSet(boolean value) setCanDownloadResult(boolean canDownloadResult) voidsetCanDownloadResultIsSet(boolean value) setCanReadArrowResult(boolean canReadArrowResult) voidsetCanReadArrowResultIsSet(boolean value) setConfOverlay(Map<String, String> confOverlay) voidsetConfOverlayIsSet(boolean value) voidsetFieldValue(TExecuteStatementReq._Fields field, Object value) setGetDirectResults(TSparkGetDirectResults getDirectResults) voidsetGetDirectResultsIsSet(boolean value) setMaxBytesPerBatch(long maxBytesPerBatch) voidsetMaxBytesPerBatchIsSet(boolean value) setMaxBytesPerFile(long maxBytesPerFile) voidsetMaxBytesPerFileIsSet(boolean value) setParameters(List<TSparkParameter> parameters) voidsetParametersIsSet(boolean value) setQueryTimeout(long queryTimeout) voidsetQueryTimeoutIsSet(boolean value) setResultRowLimit(long resultRowLimit) voidsetResultRowLimitIsSet(boolean value) setRunAsync(boolean runAsync) voidsetRunAsyncIsSet(boolean value) setSessionHandle(TSessionHandle sessionHandle) voidsetSessionHandleIsSet(boolean value) setStatement(String statement) setStatementConf(TStatementConf statementConf) voidsetStatementConfIsSet(boolean value) voidsetStatementIsSet(boolean value) setUseArrowNativeTypes(TSparkArrowTypes useArrowNativeTypes) voidsetUseArrowNativeTypesIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
sessionHandle
-
statement
-
confOverlay
-
runAsync
public boolean runAsync -
getDirectResults
-
queryTimeout
public long queryTimeout -
canReadArrowResult
public boolean canReadArrowResult -
canDownloadResult
public boolean canDownloadResult -
canDecompressLZ4Result
public boolean canDecompressLZ4Result -
maxBytesPerFile
public long maxBytesPerFile -
useArrowNativeTypes
-
resultRowLimit
public long resultRowLimit -
parameters
-
maxBytesPerBatch
public long maxBytesPerBatch -
statementConf
-
metaDataMap
public static final Map<TExecuteStatementReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TExecuteStatementReq
public TExecuteStatementReq() -
TExecuteStatementReq
-
TExecuteStatementReq
Performs a deep copy on other.
-
-
Method Details
-
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
-
setSessionHandle
-
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
-
setStatement
-
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() -
putToConfOverlay
-
getConfOverlay
-
setConfOverlay
-
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
-
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
-
setGetDirectResults
-
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
-
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
-
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
-
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
-
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
-
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
-
setUseArrowNativeTypes
-
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
-
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
-
addToParameters
-
getParameters
-
setParameters
-
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
-
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
-
setStatementConf
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._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<TExecuteStatementReq,TExecuteStatementReq._Fields>
-
equals
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<TExecuteStatementReq>
-
fieldForId
- 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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-