Class SchemaMetadataInfo


  • public class SchemaMetadataInfo
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      SchemaMetadataInfo​(java.lang.String schemaName, java.lang.String adapterNotes, java.util.Map<java.lang.String,​java.lang.String> properties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsProperty​(java.lang.String key)
      Check if the property with the given key is set
      java.lang.String getAdapterNotes()  
      java.util.Map<java.lang.String,​java.lang.String> getProperties()
      Keys are case-insensitive and stored upper case
      java.lang.String getProperty​(java.lang.String name)
      Get a property value by the property name
      java.lang.String getSchemaName()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SchemaMetadataInfo

        public SchemaMetadataInfo​(java.lang.String schemaName,
                                  java.lang.String adapterNotes,
                                  java.util.Map<java.lang.String,​java.lang.String> properties)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getSchemaName

        public java.lang.String getSchemaName()
      • getAdapterNotes

        public java.lang.String getAdapterNotes()
      • getProperties

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

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

        public boolean containsProperty​(java.lang.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