public class LastValidationDateQuery extends Object implements Query
Query
testing the last validation 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 |
---|
LastValidationDateQuery(Date value)
Build a LastValidationDateQuery.
|
LastValidationDateQuery(Query.Operator op,
Date value)
Build a LastValidationDateQuery.
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
Query.Operator |
getOperator()
Get the operator.
|
Date |
getValue()
Get the value.
|
protected Query.Operator _operator
public LastValidationDateQuery(Date value)
value
- the value.public LastValidationDateQuery(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.