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