public class DublinCoreDateQuery extends Object implements Query
Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
protected Query.Operator |
_operator
The binary operator to use.
|
protected AdaptableDate |
_value
The value to test.
|
Constructor and Description |
---|
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.
|
DublinCoreDateQuery(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.
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
int |
hashCode() |
protected AdaptableDate _value
protected Query.Operator _operator
public DublinCoreDateQuery(LocalDate value)
value
- The value to test.public DublinCoreDateQuery(AdaptableDate value)
value
- The value to test.public DublinCoreDateQuery(LocalDate value, Query.Operator operator)
value
- The value to test.operator
- The binary operator to use, can be one of EQ, NE, GT, GE, LT and LE.public DublinCoreDateQuery(AdaptableDate value, Query.Operator operator)
value
- The value to test.operator
- The binary operator to use, can be one of EQ, NE, GT, GE, LT and LE.public String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.