Package ai.heavy.thrift.calciteserver
Class TPlanResult
- java.lang.Object
-
- ai.heavy.thrift.calciteserver.TPlanResult
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TPlanResult>,org.apache.thrift.TBase<TPlanResult,TPlanResult._Fields>,org.apache.thrift.TSerializable
public class TPlanResult extends Object implements org.apache.thrift.TBase<TPlanResult,TPlanResult._Fields>, Serializable, Cloneable, Comparable<TPlanResult>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTPlanResult._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description longexecution_time_msstatic Map<TPlanResult._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringplan_resultTAccessedQueryObjectsprimary_accessed_objectsTAccessedQueryObjectsresolved_accessed_objects
-
Constructor Summary
Constructors Constructor Description TPlanResult()TPlanResult(TPlanResult other)Performs a deep copy on other.TPlanResult(String plan_result, long execution_time_ms, TAccessedQueryObjects primary_accessed_objects, TAccessedQueryObjects resolved_accessed_objects)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TPlanResult other)TPlanResultdeepCopy()booleanequals(TPlanResult that)booleanequals(Object that)TPlanResult._FieldsfieldForId(int fieldId)longgetExecution_time_ms()ObjectgetFieldValue(TPlanResult._Fields field)StringgetPlan_result()TAccessedQueryObjectsgetPrimary_accessed_objects()TAccessedQueryObjectsgetResolved_accessed_objects()inthashCode()booleanisSet(TPlanResult._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetExecution_time_ms()Returns true if field execution_time_ms is set (has been assigned a value) and false otherwisebooleanisSetPlan_result()Returns true if field plan_result is set (has been assigned a value) and false otherwisebooleanisSetPrimary_accessed_objects()Returns true if field primary_accessed_objects is set (has been assigned a value) and false otherwisebooleanisSetResolved_accessed_objects()Returns true if field resolved_accessed_objects is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TPlanResultsetExecution_time_ms(long execution_time_ms)voidsetExecution_time_msIsSet(boolean value)voidsetFieldValue(TPlanResult._Fields field, Object value)TPlanResultsetPlan_result(String plan_result)voidsetPlan_resultIsSet(boolean value)TPlanResultsetPrimary_accessed_objects(TAccessedQueryObjects primary_accessed_objects)voidsetPrimary_accessed_objectsIsSet(boolean value)TPlanResultsetResolved_accessed_objects(TAccessedQueryObjects resolved_accessed_objects)voidsetResolved_accessed_objectsIsSet(boolean value)StringtoString()voidunsetExecution_time_ms()voidunsetPlan_result()voidunsetPrimary_accessed_objects()voidunsetResolved_accessed_objects()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
plan_result
public String plan_result
-
execution_time_ms
public long execution_time_ms
-
primary_accessed_objects
public TAccessedQueryObjects primary_accessed_objects
-
resolved_accessed_objects
public TAccessedQueryObjects resolved_accessed_objects
-
metaDataMap
public static final Map<TPlanResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TPlanResult
public TPlanResult()
-
TPlanResult
public TPlanResult(String plan_result, long execution_time_ms, TAccessedQueryObjects primary_accessed_objects, TAccessedQueryObjects resolved_accessed_objects)
-
TPlanResult
public TPlanResult(TPlanResult other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TPlanResult deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TPlanResult,TPlanResult._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TPlanResult,TPlanResult._Fields>
-
getPlan_result
public String getPlan_result()
-
setPlan_result
public TPlanResult setPlan_result(String plan_result)
-
unsetPlan_result
public void unsetPlan_result()
-
isSetPlan_result
public boolean isSetPlan_result()
Returns true if field plan_result is set (has been assigned a value) and false otherwise
-
setPlan_resultIsSet
public void setPlan_resultIsSet(boolean value)
-
getExecution_time_ms
public long getExecution_time_ms()
-
setExecution_time_ms
public TPlanResult setExecution_time_ms(long execution_time_ms)
-
unsetExecution_time_ms
public void unsetExecution_time_ms()
-
isSetExecution_time_ms
public boolean isSetExecution_time_ms()
Returns true if field execution_time_ms is set (has been assigned a value) and false otherwise
-
setExecution_time_msIsSet
public void setExecution_time_msIsSet(boolean value)
-
getPrimary_accessed_objects
public TAccessedQueryObjects getPrimary_accessed_objects()
-
setPrimary_accessed_objects
public TPlanResult setPrimary_accessed_objects(TAccessedQueryObjects primary_accessed_objects)
-
unsetPrimary_accessed_objects
public void unsetPrimary_accessed_objects()
-
isSetPrimary_accessed_objects
public boolean isSetPrimary_accessed_objects()
Returns true if field primary_accessed_objects is set (has been assigned a value) and false otherwise
-
setPrimary_accessed_objectsIsSet
public void setPrimary_accessed_objectsIsSet(boolean value)
-
getResolved_accessed_objects
public TAccessedQueryObjects getResolved_accessed_objects()
-
setResolved_accessed_objects
public TPlanResult setResolved_accessed_objects(TAccessedQueryObjects resolved_accessed_objects)
-
unsetResolved_accessed_objects
public void unsetResolved_accessed_objects()
-
isSetResolved_accessed_objects
public boolean isSetResolved_accessed_objects()
Returns true if field resolved_accessed_objects is set (has been assigned a value) and false otherwise
-
setResolved_accessed_objectsIsSet
public void setResolved_accessed_objectsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TPlanResult._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TPlanResult,TPlanResult._Fields>
-
getFieldValue
public Object getFieldValue(TPlanResult._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TPlanResult,TPlanResult._Fields>
-
isSet
public boolean isSet(TPlanResult._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<TPlanResult,TPlanResult._Fields>
-
equals
public boolean equals(TPlanResult that)
-
compareTo
public int compareTo(TPlanResult other)
- Specified by:
compareToin interfaceComparable<TPlanResult>
-
fieldForId
public TPlanResult._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TPlanResult,TPlanResult._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
-
-