public class LastModifiedQuery extends Object implements Query
Query
testing the last modification date of a content.Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
protected Query.Operator |
_operator
The operator.
|
protected AdaptableDate |
_value
The value to test.
|
Constructor and Description |
---|
LastModifiedQuery(AdaptableDate value)
Build a LastModifiedQuery.
|
LastModifiedQuery(LocalDate value)
Build a LastModifiedQuery.
|
LastModifiedQuery(Query.Operator op,
AdaptableDate value)
Build a LastModifiedQuery.
|
LastModifiedQuery(Query.Operator op,
LocalDate value)
Build a LastModifiedQuery.
|
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.
|
AdaptableDate |
getValue()
Get the value.
|
int |
hashCode() |
protected Query.Operator _operator
protected AdaptableDate _value
public LastModifiedQuery(LocalDate value)
value
- the value.public LastModifiedQuery(AdaptableDate value)
value
- the value.public LastModifiedQuery(Query.Operator op, LocalDate value)
op
- the operator.value
- the value.public LastModifiedQuery(Query.Operator op, AdaptableDate value)
op
- the operator.value
- the value.public Query.Operator getOperator()
public AdaptableDate getValue()
public String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.