Package ai.heavy.thrift.calciteserver
Class CalciteServer.process_args
- java.lang.Object
-
- ai.heavy.thrift.calciteserver.CalciteServer.process_args
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<CalciteServer.process_args>,org.apache.thrift.TBase<CalciteServer.process_args,CalciteServer.process_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- CalciteServer
public static class CalciteServer.process_args extends Object implements org.apache.thrift.TBase<CalciteServer.process_args,CalciteServer.process_args._Fields>, Serializable, Cloneable, Comparable<CalciteServer.process_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCalciteServer.process_args._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description Stringcatalogstatic Map<CalciteServer.process_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTOptimizationOptionoptimization_optionStringpasswdTQueryParsingOptionquery_parsing_optionList<TRestriction>restrictionsStringsql_textStringuser
-
Constructor Summary
Constructors Constructor Description process_args()process_args(CalciteServer.process_args other)Performs a deep copy on other.process_args(String user, String passwd, String catalog, String sql_text, TQueryParsingOption query_parsing_option, TOptimizationOption optimization_option, List<TRestriction> restrictions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToRestrictions(TRestriction elem)voidclear()intcompareTo(CalciteServer.process_args other)CalciteServer.process_argsdeepCopy()booleanequals(CalciteServer.process_args that)booleanequals(Object that)CalciteServer.process_args._FieldsfieldForId(int fieldId)StringgetCatalog()ObjectgetFieldValue(CalciteServer.process_args._Fields field)TOptimizationOptiongetOptimization_option()StringgetPasswd()TQueryParsingOptiongetQuery_parsing_option()List<TRestriction>getRestrictions()Iterator<TRestriction>getRestrictionsIterator()intgetRestrictionsSize()StringgetSql_text()StringgetUser()inthashCode()booleanisSet(CalciteServer.process_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCatalog()Returns true if field catalog is set (has been assigned a value) and false otherwisebooleanisSetOptimization_option()Returns true if field optimization_option is set (has been assigned a value) and false otherwisebooleanisSetPasswd()Returns true if field passwd is set (has been assigned a value) and false otherwisebooleanisSetQuery_parsing_option()Returns true if field query_parsing_option is set (has been assigned a value) and false otherwisebooleanisSetRestrictions()Returns true if field restrictions is set (has been assigned a value) and false otherwisebooleanisSetSql_text()Returns true if field sql_text is set (has been assigned a value) and false otherwisebooleanisSetUser()Returns true if field user is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)CalciteServer.process_argssetCatalog(String catalog)voidsetCatalogIsSet(boolean value)voidsetFieldValue(CalciteServer.process_args._Fields field, Object value)CalciteServer.process_argssetOptimization_option(TOptimizationOption optimization_option)voidsetOptimization_optionIsSet(boolean value)CalciteServer.process_argssetPasswd(String passwd)voidsetPasswdIsSet(boolean value)CalciteServer.process_argssetQuery_parsing_option(TQueryParsingOption query_parsing_option)voidsetQuery_parsing_optionIsSet(boolean value)CalciteServer.process_argssetRestrictions(List<TRestriction> restrictions)voidsetRestrictionsIsSet(boolean value)CalciteServer.process_argssetSql_text(String sql_text)voidsetSql_textIsSet(boolean value)CalciteServer.process_argssetUser(String user)voidsetUserIsSet(boolean value)StringtoString()voidunsetCatalog()voidunsetOptimization_option()voidunsetPasswd()voidunsetQuery_parsing_option()voidunsetRestrictions()voidunsetSql_text()voidunsetUser()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
user
public String user
-
passwd
public String passwd
-
catalog
public String catalog
-
sql_text
public String sql_text
-
query_parsing_option
public TQueryParsingOption query_parsing_option
-
optimization_option
public TOptimizationOption optimization_option
-
restrictions
public List<TRestriction> restrictions
-
metaDataMap
public static final Map<CalciteServer.process_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
process_args
public process_args()
-
process_args
public process_args(String user, String passwd, String catalog, String sql_text, TQueryParsingOption query_parsing_option, TOptimizationOption optimization_option, List<TRestriction> restrictions)
-
process_args
public process_args(CalciteServer.process_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public CalciteServer.process_args deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<CalciteServer.process_args,CalciteServer.process_args._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<CalciteServer.process_args,CalciteServer.process_args._Fields>
-
getUser
public String getUser()
-
setUser
public CalciteServer.process_args setUser(String user)
-
unsetUser
public void unsetUser()
-
isSetUser
public boolean isSetUser()
Returns true if field user is set (has been assigned a value) and false otherwise
-
setUserIsSet
public void setUserIsSet(boolean value)
-
getPasswd
public String getPasswd()
-
setPasswd
public CalciteServer.process_args setPasswd(String passwd)
-
unsetPasswd
public void unsetPasswd()
-
isSetPasswd
public boolean isSetPasswd()
Returns true if field passwd is set (has been assigned a value) and false otherwise
-
setPasswdIsSet
public void setPasswdIsSet(boolean value)
-
getCatalog
public String getCatalog()
-
setCatalog
public CalciteServer.process_args setCatalog(String catalog)
-
unsetCatalog
public void unsetCatalog()
-
isSetCatalog
public boolean isSetCatalog()
Returns true if field catalog is set (has been assigned a value) and false otherwise
-
setCatalogIsSet
public void setCatalogIsSet(boolean value)
-
getSql_text
public String getSql_text()
-
setSql_text
public CalciteServer.process_args setSql_text(String sql_text)
-
unsetSql_text
public void unsetSql_text()
-
isSetSql_text
public boolean isSetSql_text()
Returns true if field sql_text is set (has been assigned a value) and false otherwise
-
setSql_textIsSet
public void setSql_textIsSet(boolean value)
-
getQuery_parsing_option
public TQueryParsingOption getQuery_parsing_option()
-
setQuery_parsing_option
public CalciteServer.process_args setQuery_parsing_option(TQueryParsingOption query_parsing_option)
-
unsetQuery_parsing_option
public void unsetQuery_parsing_option()
-
isSetQuery_parsing_option
public boolean isSetQuery_parsing_option()
Returns true if field query_parsing_option is set (has been assigned a value) and false otherwise
-
setQuery_parsing_optionIsSet
public void setQuery_parsing_optionIsSet(boolean value)
-
getOptimization_option
public TOptimizationOption getOptimization_option()
-
setOptimization_option
public CalciteServer.process_args setOptimization_option(TOptimizationOption optimization_option)
-
unsetOptimization_option
public void unsetOptimization_option()
-
isSetOptimization_option
public boolean isSetOptimization_option()
Returns true if field optimization_option is set (has been assigned a value) and false otherwise
-
setOptimization_optionIsSet
public void setOptimization_optionIsSet(boolean value)
-
getRestrictionsSize
public int getRestrictionsSize()
-
getRestrictionsIterator
public Iterator<TRestriction> getRestrictionsIterator()
-
addToRestrictions
public void addToRestrictions(TRestriction elem)
-
getRestrictions
public List<TRestriction> getRestrictions()
-
setRestrictions
public CalciteServer.process_args setRestrictions(List<TRestriction> restrictions)
-
unsetRestrictions
public void unsetRestrictions()
-
isSetRestrictions
public boolean isSetRestrictions()
Returns true if field restrictions is set (has been assigned a value) and false otherwise
-
setRestrictionsIsSet
public void setRestrictionsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(CalciteServer.process_args._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<CalciteServer.process_args,CalciteServer.process_args._Fields>
-
getFieldValue
public Object getFieldValue(CalciteServer.process_args._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<CalciteServer.process_args,CalciteServer.process_args._Fields>
-
isSet
public boolean isSet(CalciteServer.process_args._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<CalciteServer.process_args,CalciteServer.process_args._Fields>
-
equals
public boolean equals(CalciteServer.process_args that)
-
compareTo
public int compareTo(CalciteServer.process_args other)
- Specified by:
compareToin interfaceComparable<CalciteServer.process_args>
-
fieldForId
public CalciteServer.process_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<CalciteServer.process_args,CalciteServer.process_args._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
-
-