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
ConstructorDescriptionFilenameQuery
(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, rewrite
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:AbstractOperatorQuery
Computes the value for Solr client- Overrides:
valueForQuery
in classAbstractOperatorQuery<String>
- Parameters:
value
- the typed value- Returns:
- the value, adapted for Solr
-