Class QueryConfig
- java.lang.Object
-
- org.elasticsearch.client.dataframe.transforms.QueryConfig
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class QueryConfig extends java.lang.Object implements ToXContentObject
Object for encapsulating the desired Query for a DataFrameTransform
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description QueryConfig(QueryBuilder query)
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object other)static QueryConfigfromXContent(XContentParser parser)QueryBuildergetQuery()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
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
-
-
-
-
Constructor Detail
-
QueryConfig
public QueryConfig(QueryBuilder query)
-
-
Method Detail
-
fromXContent
public static QueryConfig fromXContent(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
getQuery
public QueryBuilder getQuery()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-