Class BaseCqlTranslationProvider
- java.lang.Object
-
- org.linuxforhealth.fhir.cql.translator.impl.BaseCqlTranslationProvider
-
- All Implemented Interfaces:
CqlTranslationProvider
- Direct Known Subclasses:
InJVMCqlTranslationProvider
public abstract class BaseCqlTranslationProvider extends java.lang.Object implements CqlTranslationProvider
Provide basic support for implementations of the CqlTranslationProvider interface.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.linuxforhealth.fhir.cql.translator.CqlTranslationProvider
CqlTranslationProvider.Format, CqlTranslationProvider.Option
-
-
Field Summary
Fields Modifier and Type Field Description static CqlTranslationProvider.Format
DEFAULT_TARGET_FORMAT
-
Constructor Summary
Constructors Constructor Description BaseCqlTranslationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CqlTranslationProvider.Option>
getDefaultOptions()
java.util.List<org.cqframework.cql.elm.execution.Library>
translate(java.io.InputStream cql)
java.util.List<org.cqframework.cql.elm.execution.Library>
translate(java.io.InputStream cql, java.util.List<CqlTranslationProvider.Option> options)
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.linuxforhealth.fhir.cql.translator.CqlTranslationProvider
translate
-
-
-
-
Field Detail
-
DEFAULT_TARGET_FORMAT
public static final CqlTranslationProvider.Format DEFAULT_TARGET_FORMAT
-
-
Method Detail
-
getDefaultOptions
public java.util.List<CqlTranslationProvider.Option> getDefaultOptions()
-
translate
public java.util.List<org.cqframework.cql.elm.execution.Library> translate(java.io.InputStream cql) throws CqlTranslationException
- Specified by:
translate
in interfaceCqlTranslationProvider
- Throws:
CqlTranslationException
-
translate
public java.util.List<org.cqframework.cql.elm.execution.Library> translate(java.io.InputStream cql, java.util.List<CqlTranslationProvider.Option> options) throws CqlTranslationException
- Specified by:
translate
in interfaceCqlTranslationProvider
- Throws:
CqlTranslationException
-
-