Class QueryEvaluator
- java.lang.Object
-
- org.opencds.cqf.cql.engine.elm.execution.Executable
-
- org.cqframework.cql.elm.execution.Element
-
- org.cqframework.cql.elm.execution.Expression
-
- org.cqframework.cql.elm.execution.Query
-
- org.opencds.cqf.cql.engine.elm.execution.QueryEvaluator
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class QueryEvaluator extends Query
-
-
Field Summary
-
Fields inherited from class org.cqframework.cql.elm.execution.Query
_return, aggregate, let, relationship, sort, source, where
-
Fields inherited from class org.cqframework.cql.elm.execution.Element
annotation, localId, locator, resultTypeName, resultTypeSpecifier
-
-
Constructor Summary
Constructors Constructor Description QueryEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<java.lang.Object>ensureIterable(java.lang.Object source)protected java.lang.ObjectinternalEvaluate(Context context)voidsortResult(java.util.List<java.lang.Object> result, Context context, java.lang.String alias)-
Methods inherited from class org.cqframework.cql.elm.execution.Query
append, appendFields, equals, equals, getAggregate, getLet, getRelationship, getReturn, getSort, getSource, getWhere, hashCode, hashCode, setAggregate, setReturn, setSort, setWhere, toString, withAggregate, withAnnotation, withAnnotation, withLet, withLet, withLocalId, withLocator, withRelationship, withRelationship, withResultTypeName, withResultTypeSpecifier, withReturn, withSort, withSource, withSource, withWhere
-
Methods inherited from class org.cqframework.cql.elm.execution.Element
getAnnotation, getLocalId, getLocator, getResultTypeName, getResultTypeSpecifier, setLocalId, setLocator, setResultTypeName, setResultTypeSpecifier
-
Methods inherited from class org.opencds.cqf.cql.engine.elm.execution.Executable
evaluate
-
-
-
-
Method Detail
-
ensureIterable
public java.lang.Iterable<java.lang.Object> ensureIterable(java.lang.Object source)
-
sortResult
public void sortResult(java.util.List<java.lang.Object> result, Context context, java.lang.String alias)
-
internalEvaluate
protected java.lang.Object internalEvaluate(Context context)
- Overrides:
internalEvaluatein classExecutable
-
-