Class TInferenceReq
java.lang.Object
org.apache.iotdb.ainode.rpc.thrift.TInferenceReq
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TInferenceReq>,org.apache.thrift.TBase<TInferenceReq,,TInferenceReq._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)",
date="2025-05-17")
public class TInferenceReq
extends Object
implements org.apache.thrift.TBase<TInferenceReq,TInferenceReq._Fields>, Serializable, Cloneable, Comparable<TInferenceReq>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<TInferenceReq._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionTInferenceReq(String modelId, ByteBuffer dataset, List<String> typeList, List<String> columnNameList, Map<String, Integer> columnNameIndexMap) TInferenceReq(TInferenceReq other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToColumnNameList(String elem) voidaddToTypeList(String elem) voidclear()intcompareTo(TInferenceReq other) deepCopy()booleanbooleanequals(TInferenceReq that) fieldForId(int fieldId) intintbyte[]intintinthashCode()booleanisSet(TInferenceReq._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field columnNameIndexMap is set (has been assigned a value) and false otherwisebooleanReturns true if field columnNameList is set (has been assigned a value) and false otherwisebooleanReturns true if field dataset is set (has been assigned a value) and false otherwisebooleanReturns true if field inferenceAttributes is set (has been assigned a value) and false otherwisebooleanReturns true if field modelId is set (has been assigned a value) and false otherwisebooleanReturns true if field typeList is set (has been assigned a value) and false otherwisebooleanReturns true if field windowParams is set (has been assigned a value) and false otherwisevoidputToColumnNameIndexMap(String key, int val) voidputToInferenceAttributes(String key, String val) voidread(org.apache.thrift.protocol.TProtocol iprot) setColumnNameIndexMap(Map<String, Integer> columnNameIndexMap) voidsetColumnNameIndexMapIsSet(boolean value) setColumnNameList(List<String> columnNameList) voidsetColumnNameListIsSet(boolean value) setDataset(byte[] dataset) setDataset(ByteBuffer dataset) voidsetDatasetIsSet(boolean value) voidsetFieldValue(TInferenceReq._Fields field, Object value) setInferenceAttributes(Map<String, String> inferenceAttributes) voidsetInferenceAttributesIsSet(boolean value) setModelId(String modelId) voidsetModelIdIsSet(boolean value) setTypeList(List<String> typeList) voidsetTypeListIsSet(boolean value) setWindowParams(TWindowParams windowParams) voidsetWindowParamsIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
modelId
-
dataset
-
typeList
-
columnNameList
-
columnNameIndexMap
-
windowParams
-
inferenceAttributes
-
metaDataMap
public static final Map<TInferenceReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TInferenceReq
public TInferenceReq() -
TInferenceReq
-
TInferenceReq
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TInferenceReq,TInferenceReq._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TInferenceReq,TInferenceReq._Fields>
-
getModelId
-
setModelId
-
unsetModelId
public void unsetModelId() -
isSetModelId
public boolean isSetModelId()Returns true if field modelId is set (has been assigned a value) and false otherwise -
setModelIdIsSet
public void setModelIdIsSet(boolean value) -
getDataset
public byte[] getDataset() -
bufferForDataset
-
setDataset
-
setDataset
-
unsetDataset
public void unsetDataset() -
isSetDataset
public boolean isSetDataset()Returns true if field dataset is set (has been assigned a value) and false otherwise -
setDatasetIsSet
public void setDatasetIsSet(boolean value) -
getTypeListSize
public int getTypeListSize() -
getTypeListIterator
-
addToTypeList
-
getTypeList
-
setTypeList
-
unsetTypeList
public void unsetTypeList() -
isSetTypeList
public boolean isSetTypeList()Returns true if field typeList is set (has been assigned a value) and false otherwise -
setTypeListIsSet
public void setTypeListIsSet(boolean value) -
getColumnNameListSize
public int getColumnNameListSize() -
getColumnNameListIterator
-
addToColumnNameList
-
getColumnNameList
-
setColumnNameList
-
unsetColumnNameList
public void unsetColumnNameList() -
isSetColumnNameList
public boolean isSetColumnNameList()Returns true if field columnNameList is set (has been assigned a value) and false otherwise -
setColumnNameListIsSet
public void setColumnNameListIsSet(boolean value) -
getColumnNameIndexMapSize
public int getColumnNameIndexMapSize() -
putToColumnNameIndexMap
-
getColumnNameIndexMap
-
setColumnNameIndexMap
-
unsetColumnNameIndexMap
public void unsetColumnNameIndexMap() -
isSetColumnNameIndexMap
public boolean isSetColumnNameIndexMap()Returns true if field columnNameIndexMap is set (has been assigned a value) and false otherwise -
setColumnNameIndexMapIsSet
public void setColumnNameIndexMapIsSet(boolean value) -
getWindowParams
-
setWindowParams
-
unsetWindowParams
public void unsetWindowParams() -
isSetWindowParams
public boolean isSetWindowParams()Returns true if field windowParams is set (has been assigned a value) and false otherwise -
setWindowParamsIsSet
public void setWindowParamsIsSet(boolean value) -
getInferenceAttributesSize
public int getInferenceAttributesSize() -
putToInferenceAttributes
-
getInferenceAttributes
-
setInferenceAttributes
-
unsetInferenceAttributes
public void unsetInferenceAttributes() -
isSetInferenceAttributes
public boolean isSetInferenceAttributes()Returns true if field inferenceAttributes is set (has been assigned a value) and false otherwise -
setInferenceAttributesIsSet
public void setInferenceAttributesIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TInferenceReq,TInferenceReq._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TInferenceReq,TInferenceReq._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TInferenceReq,TInferenceReq._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TInferenceReq>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TInferenceReq,TInferenceReq._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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-