Package org.teiid.adminapi
Interface VDB
-
- All Superinterfaces:
AdminObject,DomainAware,Serializable
- All Known Implementing Classes:
VDBMetaData
public interface VDB extends AdminObject, DomainAware
Represents a Virtual Database in the Teiid System.
A VDB has a name and a version.The identifier pattern for a VDB is name.version, where the name of the VDB and its version represent its unique identifier in the Teiid system. There are no spaces allowed in a given VDB name, and VDB name must start with a letter. A version number is automatically assigned to a VDB when it is deployed into a system. A VDB is uniquely identified by name.version". For example: "Accounts.1", "UnifiedSales.4", etc.
- Since:
- 4.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classVDB.ConnectionTypestatic classVDB.Status
-
Field Summary
-
Fields inherited from interface org.teiid.adminapi.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VDB.ConnectionTypegetConnectionType()List<DataPolicy>getDataPolicies()Get the data roles defined on this VDBStringgetDescription()Get the description of the VDBList<? extends Entry>getEntries()Get the list of other resources included in the VDBList<Model>getModels()StringgetName()Get the name for this AdminObject, usually the last component of the identifier.List<Translator>getOverrideTranslators()Get the list of translators defined in the VDBVDB.StatusgetStatus()List<String>getValidityErrors()Shows any validity errors present in the VDBList<? extends VDBImport>getVDBImports()Get the list of vdb importsStringgetVersion()booleanisValid()Shows if VDB is a valid entitybooleanisVisible(String modelName)Whether the model is visible-
Methods inherited from interface org.teiid.adminapi.AdminObject
getProperties, getPropertyValue
-
Methods inherited from interface org.teiid.adminapi.DomainAware
getHostName, getServerGroup, getServerName
-
-
-
-
Method Detail
-
getStatus
VDB.Status getStatus()
- Returns:
- the status
-
getConnectionType
VDB.ConnectionType getConnectionType()
- Returns:
- the connection status
-
getVersion
String getVersion()
- Returns:
- the VDB version.
-
getDescription
String getDescription()
Get the description of the VDB- Returns:
-
getValidityErrors
List<String> getValidityErrors()
Shows any validity errors present in the VDB- Returns:
-
isValid
boolean isValid()
Shows if VDB is a valid entity- Returns:
-
getDataPolicies
List<DataPolicy> getDataPolicies()
Get the data roles defined on this VDB- Returns:
-
getOverrideTranslators
List<Translator> getOverrideTranslators()
Get the list of translators defined in the VDB- Returns:
-
getEntries
List<? extends Entry> getEntries()
Get the list of other resources included in the VDB- Returns:
-
isVisible
boolean isVisible(String modelName)
Whether the model is visible- Parameters:
modelName-- Returns:
-
getName
String getName()
Description copied from interface:AdminObjectGet the name for this AdminObject, usually the last component of the identifier.- Specified by:
getNamein interfaceAdminObject- Returns:
- the name of the vdb. If this vdb is using semantic versioning, that version will be included in the name.
-
-