Class StartDataFrameAnalyticsResponse

java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.action.support.master.AcknowledgedResponse
org.elasticsearch.client.ml.StartDataFrameAnalyticsResponse
All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class StartDataFrameAnalyticsResponse
extends org.elasticsearch.action.support.master.AcknowledgedResponse
Response indicating if the Machine Learning Datafeed is now started or not
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse

    org.elasticsearch.transport.TransportResponse.Empty

    Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params

    Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

    org.elasticsearch.common.io.stream.Writeable.Reader<V extends java.lang.Object>, org.elasticsearch.common.io.stream.Writeable.Writer<V extends java.lang.Object>
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static org.elasticsearch.common.xcontent.ConstructingObjectParser<StartDataFrameAnalyticsResponse,​java.lang.Void> PARSER  

    Fields inherited from class org.elasticsearch.action.support.master.AcknowledgedResponse

    acknowledged

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Constructor Summary

    Constructors 
    Constructor Description
    StartDataFrameAnalyticsResponse​(boolean acknowledged, java.lang.String node)  
  • Method Summary

    Modifier and Type Method Description
    void addCustomFields​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)  
    boolean equals​(java.lang.Object other)  
    static StartDataFrameAnalyticsResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)  
    java.lang.String getNode()
    The node that the job was assigned to
    int hashCode()  

    Methods inherited from class org.elasticsearch.action.support.master.AcknowledgedResponse

    declareAcknowledgedField, isAcknowledged, toXContent, writeTo

    Methods inherited from class org.elasticsearch.transport.TransportMessage

    remoteAddress, remoteAddress

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject

    isFragment
  • Field Details

  • Constructor Details

  • Method Details

    • fromXContent

      public static StartDataFrameAnalyticsResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException
    • getNode

      public java.lang.String getNode()
      The node that the job was assigned to
      Returns:
      The ID of a node if the job was assigned to a node. If an empty string is returned it means the job was allowed to open lazily and has not yet been assigned to a node. If null is returned it means the server version is too old to return node information.
    • equals

      public boolean equals​(java.lang.Object other)
      Overrides:
      equals in class org.elasticsearch.action.support.master.AcknowledgedResponse
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.elasticsearch.action.support.master.AcknowledgedResponse
    • addCustomFields

      public void addCustomFields​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Overrides:
      addCustomFields in class org.elasticsearch.action.support.master.AcknowledgedResponse
      Throws:
      java.io.IOException