Package org.ametys.cms.search.query
Class DublinCoreDateQuery
java.lang.Object
org.ametys.cms.search.query.DublinCoreDateQuery
- All Implemented Interfaces:
Query
Query on the Dublin Core date metadata.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Query.Operator
The binary operator to use.protected AdaptableDate
The value to test. -
Constructor Summary
ConstructorsConstructorDescriptionDublinCoreDateQuery
(LocalDate value) Create a query on the Dublin Core date metadata with EQ operator.DublinCoreDateQuery
(LocalDate value, Query.Operator operator) Create a query on the Dublin Core date metadata.DublinCoreDateQuery
(AdaptableDate value) Create a query on the Dublin Core date metadata with EQ operator.DublinCoreDateQuery
(AdaptableDate value, Query.Operator operator) Create a query on the Dublin Core date metadata. -
Method Summary
-
Field Details
-
_value
The value to test. -
_operator
The binary operator to use.
-
-
Constructor Details
-
DublinCoreDateQuery
Create a query on the Dublin Core date metadata with EQ operator.- Parameters:
value
- The value to test.
-
DublinCoreDateQuery
Create a query on the Dublin Core date metadata with EQ operator.- Parameters:
value
- The value to test.
-
DublinCoreDateQuery
Create a query on the Dublin Core date metadata.- Parameters:
value
- The value to test.operator
- The binary operator to use, can be one of EQ, NE, GT, GE, LT and LE.
-
DublinCoreDateQuery
Create a query on the Dublin Core date metadata.- Parameters:
value
- The value to test.operator
- The binary operator to use, can be one of EQ, NE, GT, GE, LT and LE.
-
-
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
-