Package ai.heavy.thrift.server
Class Heavy.get_completion_hints_args
- java.lang.Object
-
- ai.heavy.thrift.server.Heavy.get_completion_hints_args
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Heavy.get_completion_hints_args>,org.apache.thrift.TBase<Heavy.get_completion_hints_args,Heavy.get_completion_hints_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- Heavy
public static class Heavy.get_completion_hints_args extends Object implements org.apache.thrift.TBase<Heavy.get_completion_hints_args,Heavy.get_completion_hints_args._Fields>, Serializable, Cloneable, Comparable<Heavy.get_completion_hints_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHeavy.get_completion_hints_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 intcursorstatic Map<Heavy.get_completion_hints_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringsessionStringsql
-
Constructor Summary
Constructors Constructor Description get_completion_hints_args()get_completion_hints_args(Heavy.get_completion_hints_args other)Performs a deep copy on other.get_completion_hints_args(String session, String sql, int cursor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(Heavy.get_completion_hints_args other)Heavy.get_completion_hints_argsdeepCopy()booleanequals(Heavy.get_completion_hints_args that)booleanequals(Object that)Heavy.get_completion_hints_args._FieldsfieldForId(int fieldId)intgetCursor()ObjectgetFieldValue(Heavy.get_completion_hints_args._Fields field)StringgetSession()StringgetSql()inthashCode()booleanisSet(Heavy.get_completion_hints_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCursor()Returns true if field cursor is set (has been assigned a value) and false otherwisebooleanisSetSession()Returns true if field session is set (has been assigned a value) and false otherwisebooleanisSetSql()Returns true if field sql is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)Heavy.get_completion_hints_argssetCursor(int cursor)voidsetCursorIsSet(boolean value)voidsetFieldValue(Heavy.get_completion_hints_args._Fields field, Object value)Heavy.get_completion_hints_argssetSession(String session)voidsetSessionIsSet(boolean value)Heavy.get_completion_hints_argssetSql(String sql)voidsetSqlIsSet(boolean value)StringtoString()voidunsetCursor()voidunsetSession()voidunsetSql()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
session
public String session
-
sql
public String sql
-
cursor
public int cursor
-
metaDataMap
public static final Map<Heavy.get_completion_hints_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
get_completion_hints_args
public get_completion_hints_args()
-
get_completion_hints_args
public get_completion_hints_args(Heavy.get_completion_hints_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Heavy.get_completion_hints_args deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Heavy.get_completion_hints_args,Heavy.get_completion_hints_args._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<Heavy.get_completion_hints_args,Heavy.get_completion_hints_args._Fields>
-
getSession
public String getSession()
-
setSession
public Heavy.get_completion_hints_args setSession(String session)
-
unsetSession
public void unsetSession()
-
isSetSession
public boolean isSetSession()
Returns true if field session is set (has been assigned a value) and false otherwise
-
setSessionIsSet
public void setSessionIsSet(boolean value)
-
getSql
public String getSql()
-
setSql
public Heavy.get_completion_hints_args setSql(String sql)
-
unsetSql
public void unsetSql()
-
isSetSql
public boolean isSetSql()
Returns true if field sql is set (has been assigned a value) and false otherwise
-
setSqlIsSet
public void setSqlIsSet(boolean value)
-
getCursor
public int getCursor()
-
setCursor
public Heavy.get_completion_hints_args setCursor(int cursor)
-
unsetCursor
public void unsetCursor()
-
isSetCursor
public boolean isSetCursor()
Returns true if field cursor is set (has been assigned a value) and false otherwise
-
setCursorIsSet
public void setCursorIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Heavy.get_completion_hints_args._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Heavy.get_completion_hints_args,Heavy.get_completion_hints_args._Fields>
-
getFieldValue
public Object getFieldValue(Heavy.get_completion_hints_args._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Heavy.get_completion_hints_args,Heavy.get_completion_hints_args._Fields>
-
isSet
public boolean isSet(Heavy.get_completion_hints_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<Heavy.get_completion_hints_args,Heavy.get_completion_hints_args._Fields>
-
equals
public boolean equals(Heavy.get_completion_hints_args that)
-
compareTo
public int compareTo(Heavy.get_completion_hints_args other)
- Specified by:
compareToin interfaceComparable<Heavy.get_completion_hints_args>
-
fieldForId
public Heavy.get_completion_hints_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Heavy.get_completion_hints_args,Heavy.get_completion_hints_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
-
-