Class TForecastReq

java.lang.Object
org.apache.iotdb.ainode.rpc.thrift.TForecastReq
All Implemented Interfaces:
Serializable, Cloneable, Comparable<TForecastReq>, org.apache.thrift.TBase<TForecastReq,TForecastReq._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2025-07-03") public class TForecastReq extends Object implements org.apache.thrift.TBase<TForecastReq,TForecastReq._Fields>, Serializable, Cloneable, Comparable<TForecastReq>
See Also:
  • Field Details

    • modelId

      public String modelId
    • inputData

      public ByteBuffer inputData
    • outputLength

      public int outputLength
    • options

      public Map<String,String> options
    • metaDataMap

      public static final Map<TForecastReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • TForecastReq

      public TForecastReq()
    • TForecastReq

      public TForecastReq(String modelId, ByteBuffer inputData, int outputLength)
    • TForecastReq

      public TForecastReq(TForecastReq other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

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

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

      public String getModelId()
    • setModelId

      public TForecastReq 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)
    • getInputData

      public byte[] getInputData()
    • bufferForInputData

      public ByteBuffer bufferForInputData()
    • setInputData

      public TForecastReq setInputData(byte[] inputData)
    • setInputData

      public TForecastReq setInputData(ByteBuffer inputData)
    • unsetInputData

      public void unsetInputData()
    • isSetInputData

      public boolean isSetInputData()
      Returns true if field inputData is set (has been assigned a value) and false otherwise
    • setInputDataIsSet

      public void setInputDataIsSet(boolean value)
    • getOutputLength

      public int getOutputLength()
    • setOutputLength

      public TForecastReq setOutputLength(int outputLength)
    • unsetOutputLength

      public void unsetOutputLength()
    • isSetOutputLength

      public boolean isSetOutputLength()
      Returns true if field outputLength is set (has been assigned a value) and false otherwise
    • setOutputLengthIsSet

      public void setOutputLengthIsSet(boolean value)
    • getOptionsSize

      public int getOptionsSize()
    • putToOptions

      public void putToOptions(String key, String val)
    • getOptions

      public Map<String,String> getOptions()
    • setOptions

      public TForecastReq setOptions(Map<String,String> options)
    • unsetOptions

      public void unsetOptions()
    • isSetOptions

      public boolean isSetOptions()
      Returns true if field options is set (has been assigned a value) and false otherwise
    • setOptionsIsSet

      public void setOptionsIsSet(boolean value)
    • setFieldValue

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

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

      public boolean isSet(TForecastReq._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<TForecastReq,TForecastReq._Fields>
    • equals

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

      public boolean equals(TForecastReq that)
    • hashCode

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

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

      public TForecastReq._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<TForecastReq,TForecastReq._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