public class DateExpression extends Object implements Expression
Expression corresponding to the Date comparison with a metadata.Expression.Operator| Modifier and Type | Field and Description |
|---|---|
private MetadataExpression |
_metadata |
private Expression.Operator |
_operator |
private Date |
_value |
| Constructor and Description |
|---|
DateExpression(String metadata,
Expression.Operator operator,
Date value)
Creates the comparison Expression.
|
DateExpression(String metadata,
Expression.Operator operator,
Date value,
boolean unversioned)
Creates the comparison Expression.
|
private MetadataExpression _metadata
private Expression.Operator _operator
public DateExpression(String metadata, Expression.Operator operator, Date value)
metadata - the metadata nameoperator - the operator to make the comparisonvalue - the Date valuepublic DateExpression(String metadata, Expression.Operator operator, Date value, boolean unversioned)
metadata - the metadata nameoperator - the operator to make the comparisonvalue - the Date valueunversioned - true if the metadata is unversioned, false otherwise.public String build()
Expressionbuild in interface Expression