java.lang.Object
org.elasticsearch.xpack.core.ml.job.results.Result<T>

public class Result<T> extends Object
A wrapper for concrete result objects plus meta information. Also contains common attributes for results.
  • Field Details

  • Constructor Details

    • Result

      public Result(String index, T result)
  • Method Details

    • parseEventIngested

      public static Instant parseEventIngested(XContentParser parser) throws IOException
      Parses the ECS event.ingested nested object from an XContentParser positioned at the start of the event object. Returns the value of the nested ingested field, or null if it is absent.
      Throws:
      IOException