Package org.nuxeo.ecm.core.storage.dbs
Class DBSExpressionEvaluator.IterInfo
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.dbs.DBSExpressionEvaluator.IterInfo
-
- Enclosing class:
- DBSExpressionEvaluator
protected static final class DBSExpressionEvaluator.IterInfo extends Object implements Iterator<Object>
Info about an iterator and how to compute it from a state.The iterator iterates over a list of states or scalars and can be reset to a new list.
Also contains information about dependent values and iterators.
-
-
Field Summary
Fields Modifier and Type Field Description List<DBSExpressionEvaluator.IterInfo>
dependentIterInfos
List<DBSExpressionEvaluator.ValueInfo>
dependentValueInfos
protected Iterator<Object>
it
protected List<Object>
list
List<Serializable>
steps
Traversed steps to compute this iterator list from a state.
-
Constructor Summary
Constructors Constructor Description IterInfo(List<Serializable> steps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Object
next()
void
reset()
void
setList(Object list)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Field Detail
-
steps
public final List<Serializable> steps
Traversed steps to compute this iterator list from a state. Traversal steps can be:- String: a map key.
- Integer: a list element.
-
dependentValueInfos
public final List<DBSExpressionEvaluator.ValueInfo> dependentValueInfos
-
dependentIterInfos
public final List<DBSExpressionEvaluator.IterInfo> dependentIterInfos
-
-
Constructor Detail
-
IterInfo
public IterInfo(List<Serializable> steps)
-
-
Method Detail
-
reset
public void reset()
-
-