Package org.nuxeo.ecm.core.storage.dbs
Class DBSExpressionEvaluator.ValueInfo
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.dbs.DBSExpressionEvaluator.ValueInfo
-
- Enclosing class:
- DBSExpressionEvaluator
protected static final class DBSExpressionEvaluator.ValueInfo extends Object
Info about a value and how to compute it from the toplevel state or an iterator's state.
-
-
Field Summary
Fields Modifier and Type Field Description String
canonRef
boolean
isDateCast
boolean
isTrueOrNullBoolean
String
nxqlProp
List<Serializable>
steps
Traversed steps to compute this value from a state.Type
type
Object
value
The value computed for this reference.
-
Constructor Summary
Constructors Constructor Description ValueInfo(List<Serializable> steps, String nxqlProp, String canonRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Calendar
castToDate(Calendar date)
Object
getValueForEvaluation()
String
toString()
-
-
-
Field Detail
-
steps
public List<Serializable> steps
Traversed steps to compute this value from a state. Traversal steps can be:- String: a map key.
- Integer: a list element.
-
isTrueOrNullBoolean
public boolean isTrueOrNullBoolean
-
isDateCast
public boolean isDateCast
-
-
Constructor Detail
-
ValueInfo
public ValueInfo(List<Serializable> steps, String nxqlProp, String canonRef)
-
-
Method Detail
-
getValueForEvaluation
public Object getValueForEvaluation()
-
castToDate
protected Calendar castToDate(Calendar date)
-
-