public abstract class BaseQueryBuilder extends Object implements QueryBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
BaseQueryBuilder() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
buildAsBytes() |
BytesReference |
buildAsBytes(XContentType contentType) |
protected abstract void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
public BytesReference buildAsBytes() throws ElasticsearchException
buildAsBytes
in interface QueryBuilder
ElasticsearchException
public BytesReference buildAsBytes(XContentType contentType) throws ElasticsearchException
buildAsBytes
in interface QueryBuilder
ElasticsearchException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
protected abstract void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOException
Copyright © 2009–2015. All rights reserved.