Package com.exasol.dbbuilder
Class VirtualSchema
- java.lang.Object
-
- com.exasol.dbbuilder.AbstractDatabaseObject
-
- com.exasol.dbbuilder.VirtualSchema
-
- All Implemented Interfaces:
DatabaseObject
public class VirtualSchema extends AbstractDatabaseObject
Virtual Schema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVirtualSchema.BuilderBuilder for aVirtualSchema.
-
Field Summary
-
Fields inherited from class com.exasol.dbbuilder.AbstractDatabaseObject
name, writer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VirtualSchema.Builderbuilder(DatabaseObjectWriter writer, String name)Create a new builder for aVirtualSchema.AdapterScriptgetAdapterScript()Get the adapter script that powers the Virtual Schema.ConnectionDefinitiongetConnectionDefinition()Get the connection definition.StringgetDialectName()Get the name of the Virtual Schema dialect.DatabaseObjectgetParent()Get the parent object.Map<String,String>getProperties()Get the raw adapter properties.StringgetSourceSchemaName()Get the name of the source schema.StringgetType()Get the type of the database object.booleanhasParent()Check if this object has a parent object that sets the scope within the database-
Methods inherited from class com.exasol.dbbuilder.AbstractDatabaseObject
getFullyQualifiedName, getName
-
-
-
-
Method Detail
-
getType
public String getType()
Description copied from interface:DatabaseObjectGet the type of the database object.- Returns:
- type of the database object
-
hasParent
public boolean hasParent()
Description copied from interface:DatabaseObjectCheck if this object has a parent object that sets the scope within the database- Returns:
trueif the object has a parent
-
getParent
public DatabaseObject getParent()
Description copied from interface:DatabaseObjectGet the parent object.- Returns:
- parent object
-
getSourceSchemaName
public String getSourceSchemaName()
Get the name of the source schema.- Returns:
- source schema name
-
getAdapterScript
public AdapterScript getAdapterScript()
Get the adapter script that powers the Virtual Schema.- Returns:
- adapter script
-
getDialectName
public String getDialectName()
Get the name of the Virtual Schema dialect.- Returns:
- dialect name
-
getConnectionDefinition
public ConnectionDefinition getConnectionDefinition()
Get the connection definition.- Returns:
- connection definition
-
getProperties
public Map<String,String> getProperties()
Get the raw adapter properties.- Returns:
- raw adapter properties
-
builder
public static VirtualSchema.Builder builder(DatabaseObjectWriter writer, String name)
Create a new builder for aVirtualSchema.- Parameters:
writer- database object writername- name of the Virtual Schema to be built- Returns:
- builder instance
-
-