Module org.elasticsearch.xcore
Class DataFrameAnalyticsSource
java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.DataFrameAnalyticsSource
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionDataFrameAnalyticsSource(String[] index, QueryProvider queryProvider, FetchSourceContext sourceFiltering, Map<String, Object> runtimeMappings) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.elasticsearch.xcontent.ConstructingObjectParser<DataFrameAnalyticsSource, Void> createParser(boolean ignoreUnknownFields) booleanString[]getIndex()Get the fully parsed query from the semi-parsed storedMap<String, Object>getQueryDeprecations(org.elasticsearch.xcontent.NamedXContentRegistry namedXContentRegistry) Calls the parser and returns any gathered deprecationsinthashCode()booleanisFieldExcluded(String path) org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
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
-
DataFrameAnalyticsSource
public DataFrameAnalyticsSource(String[] index, @Nullable QueryProvider queryProvider, @Nullable FetchSourceContext sourceFiltering, @Nullable Map<String, Object> runtimeMappings) -
DataFrameAnalyticsSource
- Throws:
IOException
-
DataFrameAnalyticsSource
-
-
Method Details
-
createParser
public static org.elasticsearch.xcontent.ConstructingObjectParser<DataFrameAnalyticsSource,Void> createParser(boolean ignoreUnknownFields) -
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
getIndex
-
getParsedQuery
Get the fully parsed query from the semi-parsed storedMap<String, Object>- Returns:
- Fully parsed query
-
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
-
isFieldExcluded
-