Class State
java.lang.Object
org.opencds.cqf.cql.engine.execution.State
State represents the internal state of the CqlEngine.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidenterContext(String context) booleanenterLibrary(String libraryName) voidvoidexitLibrary(boolean enteredLibrary) getCache()org.hl7.elm.r1.Libraryvoidinit(org.hl7.elm.r1.Library library) voidvoidlogDebugMessage(SourceLocator locator, String message) voidlogDebugResult(org.hl7.elm.r1.Element node, Object result, DebugAction action) voidlogDebugTrace(SourceLocator locator, String message) voidlogDebugWarning(SourceLocator locator, String message) voidpop()voidvoidvoidvoidvoidresolveAlias(String name) resolveIdentifierRef(String name) resolveVariable(String name) resolveVariable(String name, boolean mustResolve) voidsetContextValue(String context, Object contextValue) voidsetContextValues(Map<String, Object> contextValues) voidsetDebugMap(DebugMap debugMap) voidsetEvaluationDateTime(ZonedDateTime evaluationZonedDateTime) voidsetParameter(String libraryName, String name, Object value) voidsetParameters(org.hl7.elm.r1.Library library, Map<String, Object> parameters) voidsetWindows(Deque<Deque<Variable>> windows) shouldDebug(org.hl7.elm.r1.Element node)
-
Constructor Details
-
State
-
-
Method Details
-
getCache
-
getEnvironment
-
getCurrentLibrary
public org.hl7.elm.r1.Library getCurrentLibrary() -
getParameters
-
setParameters
-
setParameter
-
enterLibrary
-
exitLibrary
public void exitLibrary(boolean enteredLibrary) -
getContextValues
-
setContextValues
-
getWindows
-
setWindows
-
getDebugMap
-
setDebugMap
-
getDebugResult
-
shouldDebug
-
shouldDebug
-
setEvaluationDateTime
-
getEvaluationZonedDateTime
-
getEvaluationDateTime
-
init
public void init(org.hl7.elm.r1.Library library) -
pop
public void pop() -
push
-
resolveVariable
-
resolveVariable
-
pushWindow
public void pushWindow() -
popWindow
public void popWindow() -
setContextValue
-
enterContext
-
exitContext
public void exitContext() -
getCurrentContext
-
getCurrentContextValue
-
getEvaluatedResources
-
clearEvaluatedResources
public void clearEvaluatedResources() -
pushEvaluatedResourceStack
public void pushEvaluatedResourceStack() -
popEvaluatedResourceStack
public void popEvaluatedResourceStack() -
resolveAlias
-
resolveIdentifierRef
-
logDebugResult
-
logDebugMessage
-
logDebugWarning
-
logDebugTrace
-
logDebugError
-