public class KettleDatabaseRepositoryMetaStore
extends org.pentaho.metastore.stores.memory.MemoryMetaStore
implements org.pentaho.metastore.api.IMetaStore
Modifier and Type | Field and Description |
---|---|
protected KettleDatabaseRepository |
repository |
Constructor and Description |
---|
KettleDatabaseRepositoryMetaStore(KettleDatabaseRepository repository) |
Modifier and Type | Method and Description |
---|---|
void |
createElement(String namespace,
org.pentaho.metastore.api.IMetaStoreElementType elementType,
org.pentaho.metastore.api.IMetaStoreElement element) |
void |
createElementType(String namespace,
org.pentaho.metastore.api.IMetaStoreElementType elementType) |
void |
createNamespace(String namespace) |
void |
deleteElement(String namespace,
org.pentaho.metastore.api.IMetaStoreElementType elementType,
String elementId) |
void |
deleteElementType(String namespace,
org.pentaho.metastore.api.IMetaStoreElementType elementType) |
void |
deleteNamespace(String namespace) |
String |
getDescription() |
org.pentaho.metastore.api.IMetaStoreElement |
getElement(String namespace,
org.pentaho.metastore.api.IMetaStoreElementType elementType,
String elementId) |
org.pentaho.metastore.api.IMetaStoreElement |
getElementByName(String namespace,
org.pentaho.metastore.api.IMetaStoreElementType elementType,
String name) |
List<String> |
getElementIds(String namespace,
org.pentaho.metastore.api.IMetaStoreElementType elementType) |
List<org.pentaho.metastore.api.IMetaStoreElement> |
getElements(String namespace,
org.pentaho.metastore.api.IMetaStoreElementType elementType) |
org.pentaho.metastore.api.IMetaStoreElementType |
getElementType(String namespace,
String elementTypeId) |
org.pentaho.metastore.api.IMetaStoreElementType |
getElementTypeByName(String namespace,
String elementTypeName) |
List<String> |
getElementTypeIds(String namespace) |
List<org.pentaho.metastore.api.IMetaStoreElementType> |
getElementTypes(String namespace) |
String |
getName() |
List<String> |
getNamespaces() |
boolean |
namespaceExists(String namespace) |
org.pentaho.metastore.api.IMetaStoreAttribute |
newAttribute(String id,
Object value) |
org.pentaho.metastore.api.IMetaStoreElement |
newElement() |
org.pentaho.metastore.api.IMetaStoreElement |
newElement(org.pentaho.metastore.api.IMetaStoreElementType elementType,
String id,
Object value) |
org.pentaho.metastore.api.security.IMetaStoreElementOwner |
newElementOwner(String name,
org.pentaho.metastore.api.security.MetaStoreElementOwnerType ownerType) |
org.pentaho.metastore.api.IMetaStoreElementType |
newElementType(String namespace) |
void |
updateElement(String namespace,
org.pentaho.metastore.api.IMetaStoreElementType elementType,
String elementId,
org.pentaho.metastore.api.IMetaStoreElement element) |
void |
updateElementType(String namespace,
org.pentaho.metastore.api.IMetaStoreElementType elementType) |
getTwoWayPasswordEncoder, setDescription, setName, setTwoWayPasswordEncoder
protected KettleDatabaseRepository repository
public KettleDatabaseRepositoryMetaStore(KettleDatabaseRepository repository)
public List<String> getNamespaces() throws org.pentaho.metastore.api.exceptions.MetaStoreException
getNamespaces
in interface org.pentaho.metastore.api.IMetaStore
getNamespaces
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public void createNamespace(String namespace) throws org.pentaho.metastore.api.exceptions.MetaStoreException, org.pentaho.metastore.api.exceptions.MetaStoreNamespaceExistsException
createNamespace
in interface org.pentaho.metastore.api.IMetaStore
createNamespace
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
org.pentaho.metastore.api.exceptions.MetaStoreNamespaceExistsException
public void deleteNamespace(String namespace) throws org.pentaho.metastore.api.exceptions.MetaStoreException, org.pentaho.metastore.api.exceptions.MetaStoreDependenciesExistsException
deleteNamespace
in interface org.pentaho.metastore.api.IMetaStore
deleteNamespace
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
org.pentaho.metastore.api.exceptions.MetaStoreDependenciesExistsException
public boolean namespaceExists(String namespace) throws org.pentaho.metastore.api.exceptions.MetaStoreException
namespaceExists
in interface org.pentaho.metastore.api.IMetaStore
namespaceExists
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public void createElementType(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType) throws org.pentaho.metastore.api.exceptions.MetaStoreException, org.pentaho.metastore.api.exceptions.MetaStoreElementTypeExistsException
createElementType
in interface org.pentaho.metastore.api.IMetaStore
createElementType
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
org.pentaho.metastore.api.exceptions.MetaStoreElementTypeExistsException
public List<org.pentaho.metastore.api.IMetaStoreElementType> getElementTypes(String namespace) throws org.pentaho.metastore.api.exceptions.MetaStoreException
getElementTypes
in interface org.pentaho.metastore.api.IMetaStore
getElementTypes
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public List<String> getElementTypeIds(String namespace) throws org.pentaho.metastore.api.exceptions.MetaStoreException
getElementTypeIds
in interface org.pentaho.metastore.api.IMetaStore
getElementTypeIds
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public org.pentaho.metastore.api.IMetaStoreElementType getElementType(String namespace, String elementTypeId) throws org.pentaho.metastore.api.exceptions.MetaStoreException
getElementType
in interface org.pentaho.metastore.api.IMetaStore
getElementType
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public org.pentaho.metastore.api.IMetaStoreElementType getElementTypeByName(String namespace, String elementTypeName) throws org.pentaho.metastore.api.exceptions.MetaStoreException
getElementTypeByName
in interface org.pentaho.metastore.api.IMetaStore
getElementTypeByName
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public void updateElementType(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType) throws org.pentaho.metastore.api.exceptions.MetaStoreException
updateElementType
in interface org.pentaho.metastore.api.IMetaStore
updateElementType
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public void deleteElementType(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType) throws org.pentaho.metastore.api.exceptions.MetaStoreException, org.pentaho.metastore.api.exceptions.MetaStoreDependenciesExistsException
deleteElementType
in interface org.pentaho.metastore.api.IMetaStore
deleteElementType
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
org.pentaho.metastore.api.exceptions.MetaStoreDependenciesExistsException
public List<org.pentaho.metastore.api.IMetaStoreElement> getElements(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType) throws org.pentaho.metastore.api.exceptions.MetaStoreException
getElements
in interface org.pentaho.metastore.api.IMetaStore
getElements
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public List<String> getElementIds(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType) throws org.pentaho.metastore.api.exceptions.MetaStoreException
getElementIds
in interface org.pentaho.metastore.api.IMetaStore
getElementIds
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public org.pentaho.metastore.api.IMetaStoreElement getElement(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType, String elementId) throws org.pentaho.metastore.api.exceptions.MetaStoreException
getElement
in interface org.pentaho.metastore.api.IMetaStore
getElement
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public org.pentaho.metastore.api.IMetaStoreElement getElementByName(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType, String name) throws org.pentaho.metastore.api.exceptions.MetaStoreException
getElementByName
in interface org.pentaho.metastore.api.IMetaStore
getElementByName
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public void createElement(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType, org.pentaho.metastore.api.IMetaStoreElement element) throws org.pentaho.metastore.api.exceptions.MetaStoreException, org.pentaho.metastore.api.exceptions.MetaStoreElementExistException
createElement
in interface org.pentaho.metastore.api.IMetaStore
createElement
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
org.pentaho.metastore.api.exceptions.MetaStoreElementExistException
public void deleteElement(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType, String elementId) throws org.pentaho.metastore.api.exceptions.MetaStoreException
deleteElement
in interface org.pentaho.metastore.api.IMetaStore
deleteElement
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public void updateElement(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType, String elementId, org.pentaho.metastore.api.IMetaStoreElement element) throws org.pentaho.metastore.api.exceptions.MetaStoreException
updateElement
in interface org.pentaho.metastore.api.IMetaStore
updateElement
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public org.pentaho.metastore.api.IMetaStoreElementType newElementType(String namespace) throws org.pentaho.metastore.api.exceptions.MetaStoreException
newElementType
in interface org.pentaho.metastore.api.IMetaStore
newElementType
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public org.pentaho.metastore.api.IMetaStoreElement newElement() throws org.pentaho.metastore.api.exceptions.MetaStoreException
newElement
in interface org.pentaho.metastore.api.IMetaStore
newElement
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public org.pentaho.metastore.api.IMetaStoreElement newElement(org.pentaho.metastore.api.IMetaStoreElementType elementType, String id, Object value) throws org.pentaho.metastore.api.exceptions.MetaStoreException
newElement
in interface org.pentaho.metastore.api.IMetaStore
newElement
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public org.pentaho.metastore.api.IMetaStoreAttribute newAttribute(String id, Object value) throws org.pentaho.metastore.api.exceptions.MetaStoreException
newAttribute
in interface org.pentaho.metastore.api.IMetaStore
newAttribute
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public org.pentaho.metastore.api.security.IMetaStoreElementOwner newElementOwner(String name, org.pentaho.metastore.api.security.MetaStoreElementOwnerType ownerType) throws org.pentaho.metastore.api.exceptions.MetaStoreException
newElementOwner
in interface org.pentaho.metastore.api.IMetaStore
newElementOwner
in class org.pentaho.metastore.stores.memory.MemoryMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public String getName()
getName
in interface org.pentaho.metastore.api.IMetaStore
getName
in class org.pentaho.metastore.api.BaseMetaStore
public String getDescription()
getDescription
in interface org.pentaho.metastore.api.IMetaStore
getDescription
in class org.pentaho.metastore.api.BaseMetaStore
Copyright © 2019 Hitachi Vantara. All rights reserved.