Package org.ametys.cms.search.query
Interface Query
-
- All Known Implementing Classes:
AbstractFieldQuery
,AbstractGroupsQuery
,AbstractUsersQuery
,AndQuery
,BooleanQuery
,BoostedQuery
,ChildPageQuery
,CollectionsQuery
,CommentQuery
,ConstantNilScoreQuery
,ContentAttachmentQuery
,ContentLanguageQuery
,ContentPageQuery
,ContentPrivacyQuery
,ContentQuery
,ContentTypeOrMixinTypeQuery
,ContentTypeQuery
,CreationDateQuery
,DateQuery
,DateRangeQuery
,DescendantPageQuery
,DocumentTypeQuery
,DoubleQuery
,DoubleRangeQuery
,DublinCoreDateQuery
,DublinCoreQuery
,EntryPositionQuery
,FilenameQuery
,FirstValidationDateQuery
,FrontODFSearch.SubProgramPageContentQuery
,FullTextQuery
,HistoryStepQuery
,JoinQuery
,KeywordQuery
,LastMajorValidationDateQuery
,LastModifiedQuery
,LastValidationDateQuery
,LongQuery
,LongRangeQuery
,MatchAllQuery
,MatchNoneQuery
,MaxScoreOrQuery
,MimeTypeGroupQuery
,MixinTypeQuery
,NotQuery
,OrphanQuery
,OrQuery
,PageAttachmentQuery
,PageContentQuery
,PageIdQuery
,PageQuery
,ProgramSearchable.ProgramThroughProgramPartsQuery
,ProjectQuery
,ResourceLocationQuery
,SearchResourcesGenerator.ResourceCreatorQuery
,SharedQuery
,SitemapQuery
,SiteQuery
,SiteTypeQuery
,SolrNativeJoinQuery
,StringQuery
,SubContentQuery
,TagQuery
,UsersQuery
,WorkflowStepQuery
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Query
Represents a search predicate.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Query.LogicalOperator
Enumeration of available logical operators inQuery
static class
Query.Operator
Enumeration of available operators inQuery
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
build()
Build the solr query string representing the Query object.default String
toString(int indent)
Gets a representation of thisQuery
, for pretty-printing for logging and debugging purposes
-
-
-
Method Detail
-
build
String build() throws QuerySyntaxException
Build the solr query string representing the Query object.- Returns:
- the solr query string representing the Query object.
- Throws:
QuerySyntaxException
- if the query can't be built because of a syntax error.
-
-