Class QueryConfig
- java.lang.Object
-
- org.elasticsearch.client.transform.transforms.QueryConfig
-
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class QueryConfig extends java.lang.Object implements ToXContentObject
Object for encapsulating the desired Query for a Transform
-
-
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 boolean
equals(java.lang.Object other)
static QueryConfig
fromXContent(XContentParser parser)
QueryBuilder
getQuery()
int
hashCode()
XContentBuilder
toXContent(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:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
getQuery
public QueryBuilder getQuery()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-