Package ai.heavy.thrift.server
Class Heavy.load_table_args
- java.lang.Object
-
- ai.heavy.thrift.server.Heavy.load_table_args
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Heavy.load_table_args>,org.apache.thrift.TBase<Heavy.load_table_args,Heavy.load_table_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- Heavy
public static class Heavy.load_table_args extends Object implements org.apache.thrift.TBase<Heavy.load_table_args,Heavy.load_table_args._Fields>, Serializable, Cloneable, Comparable<Heavy.load_table_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHeavy.load_table_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 List<String>column_namesstatic Map<Heavy.load_table_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<TStringRow>rowsStringsessionStringtable_name
-
Constructor Summary
Constructors Constructor Description load_table_args()load_table_args(Heavy.load_table_args other)Performs a deep copy on other.load_table_args(String session, String table_name, List<TStringRow> rows, List<String> column_names)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToColumn_names(String elem)voidaddToRows(TStringRow elem)voidclear()intcompareTo(Heavy.load_table_args other)Heavy.load_table_argsdeepCopy()booleanequals(Heavy.load_table_args that)booleanequals(Object that)Heavy.load_table_args._FieldsfieldForId(int fieldId)List<String>getColumn_names()Iterator<String>getColumn_namesIterator()intgetColumn_namesSize()ObjectgetFieldValue(Heavy.load_table_args._Fields field)List<TStringRow>getRows()Iterator<TStringRow>getRowsIterator()intgetRowsSize()StringgetSession()StringgetTable_name()inthashCode()booleanisSet(Heavy.load_table_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetColumn_names()Returns true if field column_names is set (has been assigned a value) and false otherwisebooleanisSetRows()Returns true if field rows is set (has been assigned a value) and false otherwisebooleanisSetSession()Returns true if field session is set (has been assigned a value) and false otherwisebooleanisSetTable_name()Returns true if field table_name is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)Heavy.load_table_argssetColumn_names(List<String> column_names)voidsetColumn_namesIsSet(boolean value)voidsetFieldValue(Heavy.load_table_args._Fields field, Object value)Heavy.load_table_argssetRows(List<TStringRow> rows)voidsetRowsIsSet(boolean value)Heavy.load_table_argssetSession(String session)voidsetSessionIsSet(boolean value)Heavy.load_table_argssetTable_name(String table_name)voidsetTable_nameIsSet(boolean value)StringtoString()voidunsetColumn_names()voidunsetRows()voidunsetSession()voidunsetTable_name()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
session
public String session
-
table_name
public String table_name
-
rows
public List<TStringRow> rows
-
metaDataMap
public static final Map<Heavy.load_table_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
load_table_args
public load_table_args()
-
load_table_args
public load_table_args(String session, String table_name, List<TStringRow> rows, List<String> column_names)
-
load_table_args
public load_table_args(Heavy.load_table_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Heavy.load_table_args deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Heavy.load_table_args,Heavy.load_table_args._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<Heavy.load_table_args,Heavy.load_table_args._Fields>
-
getSession
public String getSession()
-
setSession
public Heavy.load_table_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)
-
getTable_name
public String getTable_name()
-
setTable_name
public Heavy.load_table_args setTable_name(String table_name)
-
unsetTable_name
public void unsetTable_name()
-
isSetTable_name
public boolean isSetTable_name()
Returns true if field table_name is set (has been assigned a value) and false otherwise
-
setTable_nameIsSet
public void setTable_nameIsSet(boolean value)
-
getRowsSize
public int getRowsSize()
-
getRowsIterator
public Iterator<TStringRow> getRowsIterator()
-
addToRows
public void addToRows(TStringRow elem)
-
getRows
public List<TStringRow> getRows()
-
setRows
public Heavy.load_table_args setRows(List<TStringRow> rows)
-
unsetRows
public void unsetRows()
-
isSetRows
public boolean isSetRows()
Returns true if field rows is set (has been assigned a value) and false otherwise
-
setRowsIsSet
public void setRowsIsSet(boolean value)
-
getColumn_namesSize
public int getColumn_namesSize()
-
addToColumn_names
public void addToColumn_names(String elem)
-
setColumn_names
public Heavy.load_table_args setColumn_names(List<String> column_names)
-
unsetColumn_names
public void unsetColumn_names()
-
isSetColumn_names
public boolean isSetColumn_names()
Returns true if field column_names is set (has been assigned a value) and false otherwise
-
setColumn_namesIsSet
public void setColumn_namesIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Heavy.load_table_args._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Heavy.load_table_args,Heavy.load_table_args._Fields>
-
getFieldValue
public Object getFieldValue(Heavy.load_table_args._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Heavy.load_table_args,Heavy.load_table_args._Fields>
-
isSet
public boolean isSet(Heavy.load_table_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.load_table_args,Heavy.load_table_args._Fields>
-
equals
public boolean equals(Heavy.load_table_args that)
-
compareTo
public int compareTo(Heavy.load_table_args other)
- Specified by:
compareToin interfaceComparable<Heavy.load_table_args>
-
fieldForId
public Heavy.load_table_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Heavy.load_table_args,Heavy.load_table_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
-
-