Class EdmlDefinition


  • public class EdmlDefinition
    extends Object
    Java representation of an EDML definition file.
    • Method Detail

      • getSource

        public String getSource()
        Get the source reference, i.e. the table name or resource identifier.
        Returns:
        the source reference
      • getDestinationTable

        public String getDestinationTable()
        Get the name of the destination table in Exasol Virtual Schema.
        Returns:
        destination table
      • getDescription

        public String getDescription()
        Get the description.
        Returns:
        description
      • isAddSourceReferenceColumn

        public boolean isAddSourceReferenceColumn()
        Check if a source reference column should be added. If set to true, this adapter adds the source reference as a column named SOURCE_REFERENCE to the Exasol table.

        This feature is mainly useful if multiple sources are used (not supported by all dialects). In that case you can filter on the source name.

        Returns:
        true if a source reference should be added.
      • getMapping

        public MappingDefinition getMapping()
        Get the mapping for the document's properties. Typically you want to define fields here to define mappings for this document's properties. But you can also use toJsonMapping mapping here. In that case the whole document is mapped to a JSON string.

        You can omit the mapping element to enable auto-inference.

        Returns:
        the mapping
      • getAutoInferenceColumnNames

        public ColumnNameMapping getAutoInferenceColumnNames()
        Get the column name mapping for auto-inference.

        Only specify this when mapping is omitted.

        Returns:
        column name mapping
      • getAdditionalConfiguration

        public String getAdditionalConfiguration()
        Get the optional additional configuration options.
        Returns:
        additional configuration
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object