
public class OTraverseContext extends OBasicCommandContext
OCommandContext.TIMEOUT_STRATEGYchild, EXECUTION_BEGUN, inputParameters, INVALID_COMPARE_COUNT, parent, recordMetrics, resultsProcessed, TIMEOUT_MS, TIMEOUT_STRATEGY, uniqueResult, variables| Constructor and Description |
|---|
OTraverseContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTraversed(OIdentifiable identity,
int iLevel) |
int |
getDepth() |
String |
getPath() |
Object |
getVariable(String iName) |
Map<String,Object> |
getVariables()
Returns a read-only map with all the variables.
|
boolean |
isAlreadyTraversed(OIdentifiable identity,
int iLevel) |
boolean |
isEmpty() |
OTraverseAbstractProcess<?> |
next() |
void |
pop(OIdentifiable currentRecord) |
void |
push(OTraverseAbstractProcess<?> iProcess) |
void |
reset() |
void |
setStrategy(OTraverse.STRATEGY strategy) |
addToUniqueResult, beginExecution, checkTimeout, copy, getInputParameters, getParent, getResultsProcessed, getVariable, getVariableFromParentHierarchy, incrementVariable, isRecordingMetrics, merge, setChild, setInputParameters, setParent, setRecordingMetrics, setVariable, toString, updateMetricpublic void push(OTraverseAbstractProcess<?> iProcess)
public Map<String,Object> getVariables()
OBasicCommandContextgetVariables in interface OCommandContextgetVariables in class OBasicCommandContextpublic Object getVariable(String iName)
getVariable in interface OCommandContextgetVariable in class OBasicCommandContextpublic void pop(OIdentifiable currentRecord)
public OTraverseAbstractProcess<?> next()
public boolean isEmpty()
public void reset()
public boolean isAlreadyTraversed(OIdentifiable identity, int iLevel)
public void addTraversed(OIdentifiable identity, int iLevel)
public String getPath()
public int getDepth()
public void setStrategy(OTraverse.STRATEGY strategy)
Copyright © 2009–2025 OrientDB. All rights reserved.