NamedWriteable
, Writeable
, ToXContent
, ToXContentObject
, QueryBuilder
, Rewriteable<QueryBuilder>
public class MatchAllQueryBuilder extends AbstractQueryBuilder<MatchAllQueryBuilder>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
NAME |
boost, BOOST_FIELD, DEFAULT_BOOST, NAME_FIELD, queryName
MAX_REWRITE_ROUNDS
EMPTY_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, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
rewrite, rewrite, rewrite, rewriteAndFetch, rewriteAndFetch
isFragment
public static final java.lang.String NAME
public MatchAllQueryBuilder()
public MatchAllQueryBuilder(StreamInput in) throws java.io.IOException
java.io.IOException
protected 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.IOException
public static MatchAllQueryBuilder fromXContent(XContentParser parser)
protected org.apache.lucene.search.Query doToQuery(QueryShardContext context)
doToQuery
in class AbstractQueryBuilder<MatchAllQueryBuilder>
protected boolean doEquals(MatchAllQueryBuilder other)
AbstractQueryBuilder
QueryBuilder
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