Class QueryConfig
java.lang.Object
org.elasticsearch.client.transform.transforms.QueryConfig
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class QueryConfig
extends java.lang.Object
implements org.elasticsearch.common.xcontent.ToXContentObject
Object for encapsulating the desired Query for a Transform
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description QueryConfig(org.elasticsearch.index.query.QueryBuilder query)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
static QueryConfig
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
org.elasticsearch.index.query.QueryBuilder
getQuery()
int
hashCode()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
-
Constructor Details
-
QueryConfig
public QueryConfig(org.elasticsearch.index.query.QueryBuilder query)
-
-
Method Details
-
fromXContent
public static QueryConfig fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-
getQuery
public org.elasticsearch.index.query.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
-