NamedWriteable, Writeable, ToXContent, ToXContentObject, QueryBuilder, Rewriteable<QueryBuilder>public class MatchAllQueryBuilder extends AbstractQueryBuilder<MatchAllQueryBuilder>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
NAME |
boost, BOOST_FIELD, DEFAULT_BOOST, NAME_FIELD, queryNameMAX_REWRITE_ROUNDSEMPTY_PARAMS| Constructor | Description |
|---|---|
MatchAllQueryBuilder() |
|
MatchAllQueryBuilder(StreamInput in) |
Read from a stream.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
doEquals(MatchAllQueryBuilder other) |
Indicates whether some other
QueryBuilder object of the same type is "equal to" this one. |
protected int |
doHashCode() |
|
protected org.apache.lucene.search.Query |
doToQuery(QueryShardContext context) |
|
protected void |
doWriteTo(StreamOutput out) |
|
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
|
static MatchAllQueryBuilder |
fromXContent(XContentParser parser) |
|
java.lang.String |
getWriteableName() |
Returns the name of the writeable object
|
addValidationError, boost, boost, declareStandardFields, doRewrite, equals, extractInnerHitBuilders, getName, hashCode, parseInnerQueryBuilder, printBoostAndQueryName, queryName, queryName, requireValue, rewrite, throwParsingExceptionOnMultipleFields, toFilter, toQuery, toString, toXContent, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitrewrite, rewrite, rewrite, rewriteAndFetch, rewriteAndFetchisFragmentpublic static final java.lang.String NAME
public MatchAllQueryBuilder()
public MatchAllQueryBuilder(StreamInput in) throws java.io.IOException
java.io.IOExceptionprotected void doWriteTo(StreamOutput out)
doWriteTo in class AbstractQueryBuilder<MatchAllQueryBuilder>protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContent in class AbstractQueryBuilder<MatchAllQueryBuilder>java.io.IOExceptionpublic static MatchAllQueryBuilder fromXContent(XContentParser parser)
protected org.apache.lucene.search.Query doToQuery(QueryShardContext context)
doToQuery in class AbstractQueryBuilder<MatchAllQueryBuilder>protected boolean doEquals(MatchAllQueryBuilder other)
AbstractQueryBuilderQueryBuilder object of the same type is "equal to" this one.doEquals in class AbstractQueryBuilder<MatchAllQueryBuilder>protected int doHashCode()
doHashCode in class AbstractQueryBuilder<MatchAllQueryBuilder>public java.lang.String getWriteableName()
NamedWriteable