Class DataFrameAnalyticsSource

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

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

    • INDEX

      public static final org.elasticsearch.xcontent.ParseField INDEX
    • QUERY

      public static final org.elasticsearch.xcontent.ParseField QUERY
    • _SOURCE

      public static final org.elasticsearch.xcontent.ParseField _SOURCE
  • Constructor Details

  • Method Details

    • createParser

      public static org.elasticsearch.xcontent.ConstructingObjectParser<DataFrameAnalyticsSource,Void> createParser(boolean ignoreUnknownFields)
    • 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
    • getIndex

      public String[] getIndex()
    • getParsedQuery

      public QueryBuilder getParsedQuery()
      Get the fully parsed query from the semi-parsed stored Map<String, Object>
      Returns:
      Fully parsed query
    • getSourceFiltering

      public FetchSourceContext getSourceFiltering()
    • getQueryDeprecations

      public List<String> getQueryDeprecations(org.elasticsearch.xcontent.NamedXContentRegistry namedXContentRegistry)
      Calls the parser and returns any gathered deprecations
      Parameters:
      namedXContentRegistry - XContent registry to transform the lazily parsed query
      Returns:
      The deprecations from parsing the query
    • getRuntimeMappings

      public Map<String,Object> getRuntimeMappings()
    • isFieldExcluded

      public boolean isFieldExcluded(String path)