Package com.exasol.adapter.metadata
Class SchemaMetadataInfo
- java.lang.Object
-
- com.exasol.adapter.metadata.SchemaMetadataInfo
-
public class SchemaMetadataInfo extends java.lang.ObjectRepresents 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 booleancontainsProperty(java.lang.String key)Check if the property with the given key is setjava.lang.StringgetAdapterNotes()java.util.Map<java.lang.String,java.lang.String>getProperties()Keys are case-insensitive and stored upper casejava.lang.StringgetProperty(java.lang.String name)Get a property value by the property namejava.lang.StringgetSchemaName()java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.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:
trueif the property with the given key is set
-
-