Class SchemaMetadataInfo


  • public class SchemaMetadataInfo
    extends Object
    Represents the metadata of an EXASOL Virtual Schema which are sent with each request. The metadata are just "for information" for the adapter. These metadata don't contain the table metadata.
    • Constructor Detail

      • SchemaMetadataInfo

        public SchemaMetadataInfo​(String schemaName,
                                  String adapterNotes,
                                  Map<String,​String> properties)
        Instantiates a new Schema metadata info.
        Parameters:
        schemaName - the schema name
        adapterNotes - the adapter notes
        properties - the properties
    • Method Detail

      • getSchemaName

        public String getSchemaName()
        Gets schema name.
        Returns:
        the schema name
      • getAdapterNotes

        public String getAdapterNotes()
        Gets adapter notes.
        Returns:
        the adapter notes
      • getProperties

        public Map<String,​String> getProperties()
        Keys are case-insensitive and stored upper case
        Returns:
        map with schema properties
      • getProperty

        public String getProperty​(String name)
        Get a property value by the property name
        Parameters:
        name - property name
        Returns:
        property value
      • containsProperty

        public boolean containsProperty​(String key)
        Check if the property with the given key is set
        Parameters:
        key - key to check
        Returns:
        true if the property with the given key is set