Class TrainedModelInput

java.lang.Object
org.elasticsearch.xpack.core.ml.inference.TrainedModelInput
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class TrainedModelInput extends Object implements org.elasticsearch.xcontent.ToXContentObject, Writeable
  • Field Details

    • NAME

      public static final String NAME
      See Also:
    • FIELD_NAMES

      public static final org.elasticsearch.xcontent.ParseField FIELD_NAMES
    • LENIENT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<TrainedModelInput,Void> LENIENT_PARSER
    • STRICT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<TrainedModelInput,Void> STRICT_PARSER
  • Constructor Details

  • Method Details

    • fromXContent

      public static TrainedModelInput fromXContent(org.elasticsearch.xcontent.XContentParser parser, boolean lenient) throws IOException
      Throws:
      IOException
    • getFieldNames

      public List<String> getFieldNames()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object