Class MatchAllQuery.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder<MatchAllQuery.Builder>
-
- org.opensearch.client.opensearch._types.query_dsl.MatchAllQuery.Builder
-
- All Implemented Interfaces:
ObjectBuilder<MatchAllQuery>
- Enclosing class:
- MatchAllQuery
public static class MatchAllQuery.Builder extends QueryBase.AbstractBuilder<MatchAllQuery.Builder> implements ObjectBuilder<MatchAllQuery>
Builder forMatchAllQuery
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchAllQuery
build()
Builds aMatchAllQuery
.protected MatchAllQuery.Builder
self()
-
Methods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryName
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected MatchAllQuery.Builder self()
- Specified by:
self
in classQueryBase.AbstractBuilder<MatchAllQuery.Builder>
-
build
public MatchAllQuery build()
Builds aMatchAllQuery
.- Specified by:
build
in interfaceObjectBuilder<MatchAllQuery>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-