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:
  • Field Details

  • Constructor Details

  • Method Details

    • deepCopy

      public TInferenceReq deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<TInferenceReq,TInferenceReq._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<TInferenceReq,TInferenceReq._Fields>
    • getModelId

      public String getModelId()
    • setModelId

      public TInferenceReq setModelId(String modelId)
    • 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

      public ByteBuffer bufferForDataset()
    • setDataset

      public TInferenceReq setDataset(byte[] dataset)
    • setDataset

      public TInferenceReq setDataset(ByteBuffer dataset)
    • 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

      public Iterator<String> getTypeListIterator()
    • addToTypeList

      public void addToTypeList(String elem)
    • getTypeList

      public List<String> getTypeList()
    • setTypeList

      public TInferenceReq setTypeList(List<String> typeList)
    • 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

      public Iterator<String> getColumnNameListIterator()
    • addToColumnNameList

      public void addToColumnNameList(String elem)
    • getColumnNameList

      public List<String> getColumnNameList()
    • setColumnNameList

      public TInferenceReq setColumnNameList(List<String> columnNameList)
    • 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

      public void putToColumnNameIndexMap(String key, int val)
    • getColumnNameIndexMap

      public Map<String,Integer> getColumnNameIndexMap()
    • setColumnNameIndexMap

      public TInferenceReq setColumnNameIndexMap(Map<String,Integer> columnNameIndexMap)
    • 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

      public TWindowParams getWindowParams()
    • setWindowParams

      public TInferenceReq setWindowParams(TWindowParams windowParams)
    • 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

      public void putToInferenceAttributes(String key, String val)
    • getInferenceAttributes

      public Map<String,String> getInferenceAttributes()
    • setInferenceAttributes

      public TInferenceReq setInferenceAttributes(Map<String,String> inferenceAttributes)
    • 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

      public void setFieldValue(TInferenceReq._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<TInferenceReq,TInferenceReq._Fields>
    • getFieldValue

      public Object getFieldValue(TInferenceReq._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<TInferenceReq,TInferenceReq._Fields>
    • isSet

      public boolean isSet(TInferenceReq._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<TInferenceReq,TInferenceReq._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(TInferenceReq that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(TInferenceReq other)
      Specified by:
      compareTo in interface Comparable<TInferenceReq>
    • fieldForId

      public TInferenceReq._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<TInferenceReq,TInferenceReq._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException