Package org.ametys.cms.search.query
Class FilenameQuery
java.lang.Object
org.ametys.cms.search.query.FilenameQuery
- All Implemented Interfaces:
Query
Represents a
Query
testing the resource file name.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
Constructor Summary
ConstructorsConstructorDescriptionFilenameQuery
(String value) Build a string query.FilenameQuery
(Query.Operator op, String value) Build a string query. -
Method Summary
-
Constructor Details
-
FilenameQuery
Build a string query.- Parameters:
value
- the value.
-
FilenameQuery
Build a string query.- Parameters:
op
- the operator.value
- the value.
-
-
Method Details
-
build
Description copied from interface:Query
Build the solr query string representing the Query object.- Specified by:
build
in interfaceQuery
- Returns:
- the solr query string representing the Query object.
- Throws:
QuerySyntaxException
- if the query can't be built because of a syntax error.
-
hashCode
-
equals
-