public class ExistsQueryBuilder extends AbstractQueryBuilder<ExistsQueryBuilder>
Writeable.Reader<R>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
boost, BOOST_FIELD, DEFAULT_BOOST, NAME_FIELD, queryNameEMPTY_PARAMS| Constructor and Description |
|---|
ExistsQueryBuilder(java.lang.String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doEquals(ExistsQueryBuilder other)
Indicates whether some other
QueryBuilder object of the same type is "equal to" this one. |
protected int |
doHashCode() |
protected ExistsQueryBuilder |
doReadFrom(StreamInput in) |
protected org.apache.lucene.search.Query |
doToQuery(QueryShardContext context) |
protected void |
doWriteTo(StreamOutput out) |
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
java.lang.String |
fieldName() |
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
static org.apache.lucene.search.Query |
newFilter(QueryShardContext context,
java.lang.String fieldPattern) |
addValidationError, boost, boost, convertToBytesRefIfString, convertToStringIfBytesRef, doRewrite, equals, getName, hashCode, printBoostAndQueryName, queryName, queryName, readFrom, readQueries, rewrite, toFilter, toQueries, toQuery, toXContent, writeQueries, writeTobuildAsBytes, buildAsBytes, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitrewriteQuerypublic static final java.lang.String NAME
public java.lang.String fieldName()
protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContent in class AbstractQueryBuilder<ExistsQueryBuilder>java.io.IOExceptionprotected org.apache.lucene.search.Query doToQuery(QueryShardContext context) throws java.io.IOException
doToQuery in class AbstractQueryBuilder<ExistsQueryBuilder>java.io.IOExceptionpublic static org.apache.lucene.search.Query newFilter(QueryShardContext context, java.lang.String fieldPattern)
protected int doHashCode()
doHashCode in class AbstractQueryBuilder<ExistsQueryBuilder>protected boolean doEquals(ExistsQueryBuilder other)
AbstractQueryBuilderQueryBuilder object of the same type is "equal to" this one.doEquals in class AbstractQueryBuilder<ExistsQueryBuilder>protected ExistsQueryBuilder doReadFrom(StreamInput in) throws java.io.IOException
doReadFrom in class AbstractQueryBuilder<ExistsQueryBuilder>java.io.IOExceptionprotected void doWriteTo(StreamOutput out) throws java.io.IOException
doWriteTo in class AbstractQueryBuilder<ExistsQueryBuilder>java.io.IOExceptionpublic java.lang.String getWriteableName()
NamedWriteable