Class EventQueryBuilder
java.lang.Object
org.opencastproject.opensearch.impl.AbstractOpenSearchQueryBuilder<EventSearchQuery>
org.opencastproject.opensearch.index.objects.event.EventQueryBuilder
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.NamedWriteable,org.opensearch.core.common.io.stream.Writeable,org.opensearch.core.xcontent.ToXContent,org.opensearch.core.xcontent.ToXContentObject,org.opensearch.index.query.QueryBuilder,org.opensearch.index.query.Rewriteable<org.opensearch.index.query.QueryBuilder>
Opencast
EventSearchQuery implementation of the OpenSearch query builder.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencastproject.opensearch.impl.AbstractOpenSearchQueryBuilder
AbstractOpenSearchQueryBuilder.DateRange, AbstractOpenSearchQueryBuilder.ValueGroupNested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V> -
Field Summary
Fields inherited from class org.opencastproject.opensearch.impl.AbstractOpenSearchQueryBuilder
additionalMultiQueryFields, filter, fuzzy, groups, textFields inherited from interface org.opensearch.index.query.Rewriteable
MAX_REWRITE_ROUNDSFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new OpenSearch query based on the events query. -
Method Summary
Methods inherited from class org.opencastproject.opensearch.impl.AbstractOpenSearchQueryBuilder
and, and, andDateGreaterThan, andDateLessThan, andNot, andWildcard, andWildcardNot, boost, boost, filter, getName, getQuery, getWriteableName, isFragment, queryName, queryName, rewrite, toQuery, toXContent, writeToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.index.query.QueryBuilder
supportsIntraSegmentSearch, visit
-
Constructor Details
-
EventQueryBuilder
Creates a new OpenSearch query based on the events query.- Parameters:
query- the events query
-
-
Method Details
-
buildQuery
- Specified by:
buildQueryin classAbstractOpenSearchQueryBuilder<EventSearchQuery>
-