Package org.opensearch.protobufs
Interface BoolQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BoolQuery,BoolQuery.Builder
public interface BoolQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanoptional bool adjust_pure_negative = 8 [json_name = "adjustPureNegative"];floatgetBoost()optional float boost = 1 [json_name = "boost"];getFilter(int index) repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];intrepeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];getFilterOrBuilder(int index) repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];List<? extends QueryContainerOrBuilder> repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"];optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];getMust(int index) repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];intrepeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];getMustNot(int index) repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];intrepeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];getMustNotOrBuilder(int index) repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];List<? extends QueryContainerOrBuilder> repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"];getMustOrBuilder(int index) repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];List<? extends QueryContainerOrBuilder> repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"];getShould(int index) repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];intrepeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];getShouldOrBuilder(int index) repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];List<? extends QueryContainerOrBuilder> repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"];getXName()optional string x_name = 2 [json_name = "xName"];com.google.protobuf.ByteStringoptional string x_name = 2 [json_name = "xName"];booleanoptional bool adjust_pure_negative = 8 [json_name = "adjustPureNegative"];booleanhasBoost()optional float boost = 1 [json_name = "boost"];booleanoptional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];booleanhasXName()optional string x_name = 2 [json_name = "xName"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasBoost
boolean hasBoost()optional float boost = 1 [json_name = "boost"];- Returns:
- Whether the boost field is set.
-
getBoost
float getBoost()optional float boost = 1 [json_name = "boost"];- Returns:
- The boost.
-
hasXName
boolean hasXName()optional string x_name = 2 [json_name = "xName"];- Returns:
- Whether the xName field is set.
-
getXName
String getXName()optional string x_name = 2 [json_name = "xName"];- Returns:
- The xName.
-
getXNameBytes
com.google.protobuf.ByteString getXNameBytes()optional string x_name = 2 [json_name = "xName"];- Returns:
- The bytes for xName.
-
getFilterList
List<QueryContainer> getFilterList()repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"]; -
getFilter
repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"]; -
getFilterCount
int getFilterCount()repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"]; -
getFilterOrBuilderList
List<? extends QueryContainerOrBuilder> getFilterOrBuilderList()repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"]; -
getFilterOrBuilder
repeated .org.opensearch.protobufs.QueryContainer filter = 3 [json_name = "filter"]; -
hasMinimumShouldMatch
boolean hasMinimumShouldMatch()optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];- Returns:
- Whether the minimumShouldMatch field is set.
-
getMinimumShouldMatch
MinimumShouldMatch getMinimumShouldMatch()optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"];- Returns:
- The minimumShouldMatch.
-
getMinimumShouldMatchOrBuilder
MinimumShouldMatchOrBuilder getMinimumShouldMatchOrBuilder()optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 4 [json_name = "minimumShouldMatch"]; -
getMustList
List<QueryContainer> getMustList()repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"]; -
getMust
repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"]; -
getMustCount
int getMustCount()repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"]; -
getMustOrBuilderList
List<? extends QueryContainerOrBuilder> getMustOrBuilderList()repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"]; -
getMustOrBuilder
repeated .org.opensearch.protobufs.QueryContainer must = 5 [json_name = "must"]; -
getMustNotList
List<QueryContainer> getMustNotList()repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"]; -
getMustNot
repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"]; -
getMustNotCount
int getMustNotCount()repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"]; -
getMustNotOrBuilderList
List<? extends QueryContainerOrBuilder> getMustNotOrBuilderList()repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"]; -
getMustNotOrBuilder
repeated .org.opensearch.protobufs.QueryContainer must_not = 6 [json_name = "mustNot"]; -
getShouldList
List<QueryContainer> getShouldList()repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"]; -
getShould
repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"]; -
getShouldCount
int getShouldCount()repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"]; -
getShouldOrBuilderList
List<? extends QueryContainerOrBuilder> getShouldOrBuilderList()repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"]; -
getShouldOrBuilder
repeated .org.opensearch.protobufs.QueryContainer should = 7 [json_name = "should"]; -
hasAdjustPureNegative
boolean hasAdjustPureNegative()optional bool adjust_pure_negative = 8 [json_name = "adjustPureNegative"];- Returns:
- Whether the adjustPureNegative field is set.
-
getAdjustPureNegative
boolean getAdjustPureNegative()optional bool adjust_pure_negative = 8 [json_name = "adjustPureNegative"];- Returns:
- The adjustPureNegative.
-