c

au.csiro.pathling.encoders

SchemaConverter

class SchemaConverter extends EncoderContext

The converter from FHIR schemas to SQL schemas.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SchemaConverter
  2. EncoderContext
  3. EncoderSettings
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SchemaConverter(fhirContext: FhirContext, dataTypeMappings: DataTypeMappings, config: EncoderConfig)

    fhirContext

    the FHIR context to use.

    dataTypeMappings

    the data type mappings to use.

    config

    encoder configuration to use.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. val config: EncoderConfig
    Definition Classes
    SchemaConverterEncoderContext
  7. val dataTypeMappings: DataTypeMappings
    Definition Classes
    SchemaConverterEncoderContext
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. val fhirContext: FhirContext
    Definition Classes
    SchemaConverterEncoderContext
  11. def generateFid: Boolean

    Indicates if unique field ids (_fid) should be added to the schema.

    Indicates if unique field ids (_fid) should be added to the schema. This is required to support extension but it's an option at the moment to allow for backward compatibility with V1 encodes. Once V2 has matured this can be removed together with all V1 related classes and tests.

    returns

    if unique field ids (_fid) should be added to the schema.

    Definition Classes
    EncoderContextEncoderSettings
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def maxNestingLevel: Int

    Gets the max nesting that recursive data types should be expanded to.

    Gets the max nesting that recursive data types should be expanded to. Zero indicates that fields ot type T should not be expanded in the composite of type T.

    returns

    the max nesting that recursive data types should be expanded to

    Definition Classes
    EncoderContextEncoderSettings
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. def openTypes: Set[String]

    The list of types that are encoded within open types, such as extensions.

    The list of types that are encoded within open types, such as extensions.

    Definition Classes
    EncoderContextEncoderSettings
  20. def resourceSchema[T <: IBaseResource](resourceClass: Class[T]): StructType

    Returns the spark (SQL) schema that represents the given FHIR resource class.

    Returns the spark (SQL) schema that represents the given FHIR resource class.

    resourceClass

    The class implementing the FHIR resource.

    returns

    The schema as a Spark StructType

  21. def resourceSchema(resourceDefinition: RuntimeResourceDefinition): StructType

    Returns the (spark) SQL schema that represents the given FHIR resource definition.

    Returns the (spark) SQL schema that represents the given FHIR resource definition.

    resourceDefinition

    the FHIR resource definition.

    returns

    the schema as a Spark StructType

  22. def supportsExtensions: Boolean

    Indicates if support for FHIR extension should be enabled.

    Indicates if support for FHIR extension should be enabled.

    returns

    if support for FHIR extension should be enabled.

    Definition Classes
    EncoderContextEncoderSettings
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from EncoderContext

Inherited from EncoderSettings

Inherited from AnyRef

Inherited from Any

Ungrouped