public class CreationDateQuery extends Object implements Query
Query
testing the creation date of a content.Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
protected Query.Operator |
_operator
The operator.
|
protected Date |
_value
The value to test.
|
Constructor and Description |
---|
CreationDateQuery(Date value)
Build a CreationDateQuery.
|
CreationDateQuery(Query.Operator op,
Date value)
Build a CreationDateQuery.
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
Query.Operator |
getOperator()
Get the operator.
|
Date |
getValue()
Get the value.
|
int |
hashCode() |
protected Query.Operator _operator
public CreationDateQuery(Date value)
value
- the value.public CreationDateQuery(Query.Operator op, Date value)
op
- the operator.value
- the value.public Query.Operator getOperator()
public String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.