public class TExecuteStatementReq extends Object implements org.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TExecuteStatementReq._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<TExecuteStatementReq._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TExecuteStatementReq() |
TExecuteStatementReq(TExecuteStatementReq other)
Performs a deep copy on other.
|
TExecuteStatementReq(TSessionHandle sessionHandle,
String statement) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TExecuteStatementReq other) |
TExecuteStatementReq |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TExecuteStatementReq that) |
TExecuteStatementReq._Fields |
fieldForId(int fieldId) |
Map<String,String> |
getConfOverlay() |
int |
getConfOverlaySize() |
Object |
getFieldValue(TExecuteStatementReq._Fields field) |
TSessionHandle |
getSessionHandle() |
String |
getStatement() |
int |
hashCode() |
boolean |
isRunAsync() |
boolean |
isSet(TExecuteStatementReq._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetConfOverlay()
Returns true if field confOverlay is set (has been assigned a value) and false otherwise
|
boolean |
isSetRunAsync()
Returns true if field runAsync is set (has been assigned a value) and false otherwise
|
boolean |
isSetSessionHandle()
Returns true if field sessionHandle is set (has been assigned a value) and false otherwise
|
boolean |
isSetStatement()
Returns true if field statement is set (has been assigned a value) and false otherwise
|
void |
putToConfOverlay(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setConfOverlay(Map<String,String> confOverlay) |
void |
setConfOverlayIsSet(boolean value) |
void |
setFieldValue(TExecuteStatementReq._Fields field,
Object value) |
void |
setRunAsync(boolean runAsync) |
void |
setRunAsyncIsSet(boolean value) |
void |
setSessionHandle(TSessionHandle sessionHandle) |
void |
setSessionHandleIsSet(boolean value) |
void |
setStatement(String statement) |
void |
setStatementIsSet(boolean value) |
String |
toString() |
void |
unsetConfOverlay() |
void |
unsetRunAsync() |
void |
unsetSessionHandle() |
void |
unsetStatement() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TExecuteStatementReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TExecuteStatementReq()
public TExecuteStatementReq(TSessionHandle sessionHandle, String statement)
public TExecuteStatementReq(TExecuteStatementReq other)
public TExecuteStatementReq deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
public TSessionHandle getSessionHandle()
public void setSessionHandle(TSessionHandle sessionHandle)
public void unsetSessionHandle()
public boolean isSetSessionHandle()
public void setSessionHandleIsSet(boolean value)
public String getStatement()
public void setStatement(String statement)
public void unsetStatement()
public boolean isSetStatement()
public void setStatementIsSet(boolean value)
public int getConfOverlaySize()
public void unsetConfOverlay()
public boolean isSetConfOverlay()
public void setConfOverlayIsSet(boolean value)
public boolean isRunAsync()
public void setRunAsync(boolean runAsync)
public void unsetRunAsync()
public boolean isSetRunAsync()
public void setRunAsyncIsSet(boolean value)
public void setFieldValue(TExecuteStatementReq._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
public Object getFieldValue(TExecuteStatementReq._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
public boolean isSet(TExecuteStatementReq._Fields field)
isSet
in interface org.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
public boolean equals(TExecuteStatementReq that)
public int compareTo(TExecuteStatementReq other)
compareTo
in interface Comparable<TExecuteStatementReq>
public TExecuteStatementReq._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<TExecuteStatementReq,TExecuteStatementReq._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.