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