Package org.ametys.cms.search.query
Class FilenameQuery
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 -
Field Summary
Fields inherited from interface org.ametys.cms.search.query.Query
BOOL_FILTER, BOOL_MUST, BOOL_MUST_NOT, BOOL_SHOULD -
Constructor Summary
ConstructorsConstructorDescriptionFilenameQuery(String value) Build a filename query.FilenameQuery(Query.Operator op, String value) Build a filename query. -
Method Summary
Methods inherited from class org.ametys.cms.search.query.AbstractOperatorQuery
build, equals, getFieldName, getOperator, getValue, hashCode, rewriteMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.cms.search.query.Query
buildAsJson, toString
-
Constructor Details
-
FilenameQuery
Build a filename query.- Parameters:
value- the value.
-
FilenameQuery
Build a filename query.- Parameters:
op- the operator.value- the value.
-
-
Method Details
-
valueForQuery
Description copied from class:AbstractOperatorQueryComputes the value for Solr client- Overrides:
valueForQueryin classAbstractOperatorQuery<String>- Parameters:
value- the typed value- Returns:
- the value, adapted for Solr
-