Admin.Cache, Admin.SchemaObjectType, Admin.TranlatorPropertyType
Constructor and Description |
---|
EmbeddedAdminImpl(EmbeddedServer embeddedServer) |
Modifier and Type | Method and Description |
---|---|
void |
addDataRoleMapping(String vdbName,
int vdbVersion,
String dataRole,
String mappedRoleName) |
void |
addDataRoleMapping(String vdbName,
String vdbVersion,
String dataRole,
String mappedRoleName) |
void |
addSource(String vdbName,
int vdbVersion,
String modelName,
String sourceName,
String translatorName,
String dsName) |
void |
addSource(String vdbName,
String vdbVersion,
String modelName,
String sourceName,
String translatorName,
String dsName) |
void |
cancelRequest(String sessionId,
long executionId) |
void |
changeVDBConnectionType(String vdbName,
int vdbVersion,
VDB.ConnectionType type) |
void |
changeVDBConnectionType(String vdbName,
String vdbVersion,
VDB.ConnectionType type) |
void |
clearCache(String cacheType) |
void |
clearCache(String cacheType,
String vdbName,
int vdbVersion) |
void |
clearCache(String cacheType,
String vdbName,
String vdbVersion) |
void |
close() |
void |
createDataSource(String deploymentName,
String templateName,
Properties properties) |
void |
deleteDataSource(String deployedName) |
void |
deploy(String deployName,
InputStream content) |
void |
deploy(String deployName,
InputStream content,
boolean peristent) |
void |
deployVDBZip(URL url) |
Collection<? extends CacheStatistics> |
getCacheStats(String cacheType) |
Collection<String> |
getCacheTypes() |
Properties |
getDataSource(String deployedName) |
Collection<String> |
getDataSourceNames() |
Set<String> |
getDataSourceTemplateNames() |
List<String> |
getDeployments() |
Collection<? extends EngineStatistics> |
getEngineStats() |
String |
getQueryPlan(String sessionId,
long executionId) |
Collection<? extends Request> |
getRequests() |
Collection<? extends Request> |
getRequestsForSession(String sessionId) |
String |
getSchema(String vdbName,
int vdbVersion,
String modelName,
EnumSet<Admin.SchemaObjectType> allowedTypes,
String typeNamePattern) |
String |
getSchema(String vdbName,
String vdbVersion,
String modelName,
EnumSet<Admin.SchemaObjectType> allowedTypes,
String typeNamePattern) |
Collection<? extends Session> |
getSessions() |
Collection<? extends PropertyDefinition> |
getTemplatePropertyDefinitions(String templateName) |
Collection<? extends Transaction> |
getTransactions() |
Translator |
getTranslator(String deployedName) |
Collection<? extends PropertyDefinition> |
getTranslatorPropertyDefinitions(String translatorName) |
Collection<? extends PropertyDefinition> |
getTranslatorPropertyDefinitions(String translatorName,
Admin.TranlatorPropertyType type) |
Collection<? extends Translator> |
getTranslators() |
VDB |
getVDB(String vdbName,
int vdbVersion) |
VDB |
getVDB(String vdbName,
String vdbVersion) |
Collection<? extends VDB> |
getVDBs() |
Collection<? extends VDB> |
getVDBs(boolean singleInstance) |
Collection<? extends WorkerPoolStatistics> |
getWorkerPoolStats() |
void |
markDataSourceAvailable(String jndiName) |
static String |
prettyFormat(String input) |
void |
removeDataRoleMapping(String vdbName,
int vdbVersion,
String dataRole,
String mappedRoleName) |
void |
removeDataRoleMapping(String vdbName,
String vdbVersion,
String dataRole,
String mappedRoleName) |
void |
removeSource(String vdbName,
int vdbVersion,
String modelName,
String sourceName) |
void |
removeSource(String vdbName,
String vdbVersion,
String modelName,
String sourceName) |
void |
restart() |
void |
restartVDB(String vdbName,
int vdbVersion,
String... models) |
void |
restartVDB(String vdbName,
String vdbVersion,
String... models) |
void |
setAnyAuthenticatedForDataRole(String vdbName,
int vdbVersion,
String dataRole,
boolean anyAuthenticated) |
void |
setAnyAuthenticatedForDataRole(String vdbName,
String vdbVersion,
String dataRole,
boolean anyAuthenticated) |
void |
setProfileName(String name) |
void |
terminateSession(String sessionId) |
void |
terminateTransaction(String transactionId) |
void |
undeploy(String deployedName) |
void |
updateSource(String vdbName,
int vdbVersion,
String sourceName,
String translatorName,
String dsName) |
void |
updateSource(String vdbName,
String vdbVersion,
String sourceName,
String translatorName,
String dsName) |
public EmbeddedAdminImpl(EmbeddedServer embeddedServer)
public void setProfileName(String name)
setProfileName
in interface Admin
public void clearCache(String cacheType, String vdbName, int vdbVersion) throws AdminException
clearCache
in interface Admin
AdminException
public void addDataRoleMapping(String vdbName, int vdbVersion, String dataRole, String mappedRoleName) throws AdminException
addDataRoleMapping
in interface Admin
AdminException
public void removeDataRoleMapping(String vdbName, int vdbVersion, String dataRole, String mappedRoleName) throws AdminException
removeDataRoleMapping
in interface Admin
AdminException
public void setAnyAuthenticatedForDataRole(String vdbName, int vdbVersion, String dataRole, boolean anyAuthenticated) throws AdminException
setAnyAuthenticatedForDataRole
in interface Admin
AdminException
public void changeVDBConnectionType(String vdbName, int vdbVersion, VDB.ConnectionType type) throws AdminException
changeVDBConnectionType
in interface Admin
AdminException
public void updateSource(String vdbName, int vdbVersion, String sourceName, String translatorName, String dsName) throws AdminException
updateSource
in interface Admin
AdminException
public void addSource(String vdbName, int vdbVersion, String modelName, String sourceName, String translatorName, String dsName) throws AdminException
addSource
in interface Admin
AdminException
public VDB getVDB(String vdbName, int vdbVersion) throws AdminException
getVDB
in interface Admin
AdminException
public void removeSource(String vdbName, int vdbVersion, String modelName, String sourceName) throws AdminException
removeSource
in interface Admin
AdminException
public void restartVDB(String vdbName, int vdbVersion, String... models) throws AdminException
restartVDB
in interface Admin
AdminException
public String getSchema(String vdbName, int vdbVersion, String modelName, EnumSet<Admin.SchemaObjectType> allowedTypes, String typeNamePattern) throws AdminException
getSchema
in interface Admin
AdminException
public void removeSource(String vdbName, String vdbVersion, String modelName, String sourceName) throws AdminException
removeSource
in interface Admin
AdminException
public void addSource(String vdbName, String vdbVersion, String modelName, String sourceName, String translatorName, String dsName) throws AdminException
addSource
in interface Admin
AdminException
public void updateSource(String vdbName, String vdbVersion, String sourceName, String translatorName, String dsName) throws AdminException
updateSource
in interface Admin
AdminException
public void changeVDBConnectionType(String vdbName, String vdbVersion, VDB.ConnectionType type) throws AdminException
changeVDBConnectionType
in interface Admin
AdminException
public void deployVDBZip(URL url) throws AdminProcessingException
deployVDBZip
in interface Admin
AdminProcessingException
public void deploy(String deployName, InputStream content) throws AdminException
deploy
in interface Admin
AdminException
public void deploy(String deployName, InputStream content, boolean peristent) throws AdminException
deploy
in interface Admin
AdminException
public void undeploy(String deployedName) throws AdminException
undeploy
in interface Admin
AdminException
public Collection<? extends VDB> getVDBs() throws AdminException
getVDBs
in interface Admin
AdminException
public Collection<? extends VDB> getVDBs(boolean singleInstance) throws AdminException
getVDBs
in interface Admin
AdminException
public VDB getVDB(String vdbName, String vdbVersion) throws AdminException
getVDB
in interface Admin
AdminException
public void restartVDB(String vdbName, String vdbVersion, String... models) throws AdminException
restartVDB
in interface Admin
AdminException
public Collection<? extends Translator> getTranslators() throws AdminException
getTranslators
in interface Admin
AdminException
public Translator getTranslator(String deployedName) throws AdminException
getTranslator
in interface Admin
AdminException
public Collection<? extends WorkerPoolStatistics> getWorkerPoolStats() throws AdminException
getWorkerPoolStats
in interface Admin
AdminException
public Collection<String> getCacheTypes() throws AdminException
getCacheTypes
in interface Admin
AdminException
public Collection<? extends Session> getSessions() throws AdminException
getSessions
in interface Admin
AdminException
public Collection<? extends Request> getRequests() throws AdminException
getRequests
in interface Admin
AdminException
public Collection<? extends Request> getRequestsForSession(String sessionId) throws AdminException
getRequestsForSession
in interface Admin
AdminException
public Collection<? extends PropertyDefinition> getTemplatePropertyDefinitions(String templateName) throws AdminException
getTemplatePropertyDefinitions
in interface Admin
AdminException
public Collection<? extends PropertyDefinition> getTranslatorPropertyDefinitions(String translatorName) throws AdminException
getTranslatorPropertyDefinitions
in interface Admin
AdminException
public Collection<? extends PropertyDefinition> getTranslatorPropertyDefinitions(String translatorName, Admin.TranlatorPropertyType type) throws AdminException
getTranslatorPropertyDefinitions
in interface Admin
AdminException
public Collection<? extends Transaction> getTransactions() throws AdminException
getTransactions
in interface Admin
AdminException
public void clearCache(String cacheType) throws AdminException
clearCache
in interface Admin
AdminException
public void clearCache(String cacheType, String vdbName, String vdbVersion) throws AdminException
clearCache
in interface Admin
AdminException
public Collection<? extends CacheStatistics> getCacheStats(String cacheType) throws AdminException
getCacheStats
in interface Admin
AdminException
public Collection<? extends EngineStatistics> getEngineStats() throws AdminException
getEngineStats
in interface Admin
AdminException
public void terminateSession(String sessionId) throws AdminException
terminateSession
in interface Admin
AdminException
public void cancelRequest(String sessionId, long executionId) throws AdminException
cancelRequest
in interface Admin
AdminException
public void terminateTransaction(String transactionId) throws AdminException
terminateTransaction
in interface Admin
AdminException
public void addDataRoleMapping(String vdbName, String vdbVersion, String dataRole, String mappedRoleName) throws AdminException
addDataRoleMapping
in interface Admin
AdminException
public void removeDataRoleMapping(String vdbName, String vdbVersion, String dataRole, String mappedRoleName) throws AdminException
removeDataRoleMapping
in interface Admin
AdminException
public void setAnyAuthenticatedForDataRole(String vdbName, String vdbVersion, String dataRole, boolean anyAuthenticated) throws AdminException
setAnyAuthenticatedForDataRole
in interface Admin
AdminException
public void createDataSource(String deploymentName, String templateName, Properties properties) throws AdminException
createDataSource
in interface Admin
AdminException
public Properties getDataSource(String deployedName) throws AdminException
getDataSource
in interface Admin
AdminException
public void deleteDataSource(String deployedName) throws AdminException
deleteDataSource
in interface Admin
AdminException
public Collection<String> getDataSourceNames() throws AdminException
getDataSourceNames
in interface Admin
AdminException
public Set<String> getDataSourceTemplateNames() throws AdminException
getDataSourceTemplateNames
in interface Admin
AdminException
public void markDataSourceAvailable(String jndiName) throws AdminException
markDataSourceAvailable
in interface Admin
AdminException
public String getSchema(String vdbName, String vdbVersion, String modelName, EnumSet<Admin.SchemaObjectType> allowedTypes, String typeNamePattern) throws AdminException
getSchema
in interface Admin
AdminException
public static String prettyFormat(String input) throws TransformerException
TransformerException
public String getQueryPlan(String sessionId, long executionId) throws AdminException
getQueryPlan
in interface Admin
AdminException
public List<String> getDeployments() throws AdminException
getDeployments
in interface Admin
AdminException
Copyright © 2020. All rights reserved.