Package | Description |
---|---|
org.teiid.adminapi |
Modifier and Type | Class and Description |
---|---|
class |
AdminComponentException
An
AdminComponentException is thrown when an error occurs as a
result of an internal component error. |
class |
AdminProcessingException
An
AdminProcessingException indicates that an error occured during processing as a result
of user input. |
Modifier and Type | Method and Description |
---|---|
List<AdminException> |
AdminException.getChildren()
Returns a non-null list of failures (
AdminException s), one for each
component that failed. |
Modifier and Type | Method and Description |
---|---|
void |
AdminException.addChild(AdminException child)
Add a child
AdminException for a particular failure
if and action resulted in multiple failures. |
Modifier and Type | Method and Description |
---|---|
void |
Admin.addDataRoleMapping(String vdbName,
int vdbVersion,
String dataRole,
String mappedRoleName)
Deprecated.
|
void |
Admin.addDataRoleMapping(String vdbName,
String vdbVersion,
String dataRole,
String mappedRoleName)
Assign a Role name to the Data Role in a given VDB
|
void |
Admin.addSource(String vdbName,
int vdbVersion,
String modelName,
String sourceName,
String translatorName,
String dsName)
Deprecated.
|
void |
Admin.addSource(String vdbName,
String vdbVersion,
String modelName,
String sourceName,
String translatorName,
String dsName)
Adds a
Translator and Data source to a VDB 's Model |
void |
Admin.cancelRequest(String sessionId,
long executionId)
Cancel Request
|
void |
Admin.changeVDBConnectionType(String vdbName,
int vdbVersion,
VDB.ConnectionType type)
Deprecated.
|
void |
Admin.changeVDBConnectionType(String vdbName,
String vdbVersion,
VDB.ConnectionType type)
Change the
VDB.ConnectionType of the VDB . |
void |
Admin.clearCache(String cacheType)
Clear the cache or caches specified by the cacheIdentifier.
|
void |
Admin.clearCache(String cacheType,
String vdbName,
int vdbVersion)
Deprecated.
|
void |
Admin.clearCache(String cacheType,
String vdbName,
String vdbVersion)
Clear the cache of the given VDB for provided cache type
|
void |
Admin.createDataSource(String deploymentName,
String templateName,
Properties properties)
Creates a JCA data source
Use this method to create JDBC driver based connection, XA-datasource or Resource Adapter. |
void |
Admin.deleteDataSource(String deployedName)
Delete data source.
|
void |
Admin.deploy(String deployName,
InputStream content)
Deploy a artifact (VDB, JAR, RAR files)
|
void |
Admin.deploy(String deployName,
InputStream content,
boolean persistent)
Deploy a artifact (VDB, JAR, RAR files)
|
Collection<? extends CacheStatistics> |
Admin.getCacheStats(String cacheType)
Get the Cache Statistics for the given type
|
Collection<String> |
Admin.getCacheTypes()
Get the Caches that correspond to the specified identifier pattern
|
Properties |
Admin.getDataSource(String deployedName)
Given the deployed name of the data source, this will return all the configuration properties
used to create the datasource.
|
Collection<String> |
Admin.getDataSourceNames()
Returns the all names of all the data sources available in the configuration.
|
Set<String> |
Admin.getDataSourceTemplateNames()
Get the Datasource templates available in the configuration.
|
List<String> |
Admin.getDeployments()
Get existing deployments on in the sysem
|
Collection<? extends EngineStatistics> |
Admin.getEngineStats()
Get the Engine Statistics for the given type
|
String |
Admin.getQueryPlan(String sessionId,
long executionId)
Get the Query Plan for the given session with provided execution id.
|
Collection<? extends Request> |
Admin.getRequests()
Get the all Requests that are currently in process
|
Collection<? extends Request> |
Admin.getRequestsForSession(String sessionId)
Get the Requests for the given session
|
String |
Admin.getSchema(String vdbName,
int vdbVersion,
String modelName,
EnumSet<Admin.SchemaObjectType> allowedTypes,
String typeNamePattern)
Deprecated.
|
String |
Admin.getSchema(String vdbName,
String vdbVersion,
String modelName,
EnumSet<Admin.SchemaObjectType> allowedTypes,
String typeNamePattern)
Retrieve the schema of the given model
|
Collection<? extends Session> |
Admin.getSessions()
Get all the current Sessions.
|
Collection<? extends PropertyDefinition> |
Admin.getTemplatePropertyDefinitions(String templateName)
Get all of the available configuration Properties for the specified connector
|
Collection<? extends Transaction> |
Admin.getTransactions()
Get all transaction matching the identifier.
|
Translator |
Admin.getTranslator(String deployedName)
Get the translator by the given the deployed name.
|
Collection<? extends PropertyDefinition> |
Admin.getTranslatorPropertyDefinitions(String translatorName)
Deprecated.
|
Collection<? extends PropertyDefinition> |
Admin.getTranslatorPropertyDefinitions(String translatorName,
Admin.TranlatorPropertyType type)
Get all of the available configuration Properties for the specified translator
|
Collection<? extends Translator> |
Admin.getTranslators()
Get the translators that are available in the configuration
|
VDB |
Admin.getVDB(String vdbName,
int vdbVersion)
Deprecated.
|
VDB |
Admin.getVDB(String vdbName,
String vdbVersion)
Get the VDB
|
Collection<? extends VDB> |
Admin.getVDBs()
Get the VDBs that currently deployed in the system
|
Collection<? extends WorkerPoolStatistics> |
Admin.getWorkerPoolStats()
Get the Worker Pool statistics in runtime engine.
|
void |
Admin.markDataSourceAvailable(String jndiName)
Tell the engine that the given source is available.
|
void |
Admin.removeDataRoleMapping(String vdbName,
int vdbVersion,
String dataRole,
String mappedRoleName)
Deprecated.
|
void |
Admin.removeDataRoleMapping(String vdbName,
String vdbVersion,
String dataRole,
String mappedRoleName)
Remove a Role name to the Data Role in a given VDB
|
void |
Admin.removeSource(String vdbName,
int vdbVersion,
String modelName,
String sourceName)
Deprecated.
|
void |
Admin.removeSource(String vdbName,
String vdbVersion,
String modelName,
String sourceName)
Removes a
Translator and Data source from a VDB 's Model |
void |
Admin.restartVDB(String vdbName,
int vdbVersion,
String... models)
Deprecated.
|
void |
Admin.restartVDB(String vdbName,
String vdbVersion,
String... models)
Restart the VDB.
|
void |
Admin.setAnyAuthenticatedForDataRole(String vdbName,
int vdbVersion,
String dataRole,
boolean anyAuthenticated)
Deprecated.
|
void |
Admin.setAnyAuthenticatedForDataRole(String vdbName,
String vdbVersion,
String dataRole,
boolean anyAuthenticated)
Set the any authenticated flag on the Data Role in a given VDB
|
void |
Admin.terminateSession(String sessionId)
Terminate the Session
|
void |
Admin.terminateTransaction(String transactionId)
Mark the given global transaction as rollback only.
|
void |
Admin.undeploy(String deployedName)
Undeploy artifact (VDB, JAR, RAR files)
|
void |
Admin.updateSource(String vdbName,
int vdbVersion,
String sourceName,
String translatorName,
String dsName)
Deprecated.
|
void |
Admin.updateSource(String vdbName,
String vdbVersion,
String sourceName,
String translatorName,
String dsName)
Update a source's
Translator and Data source |
Copyright © 2019. All rights reserved.