public class EmbeddedMetaStore extends org.pentaho.metastore.api.BaseMetaStore implements ReadWriteLock
Constructor and Description |
---|
EmbeddedMetaStore(AttributesInterface attributesInterface) |
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) |
JsonElement |
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) |
JsonElementType |
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) |
List<String> |
getNamespaces() |
boolean |
namespaceExists(String namespace) |
org.pentaho.metastore.api.IMetaStoreAttribute |
newAttribute(String id,
Object value) |
JsonElement |
newElement() |
JsonElement |
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) |
JsonElementType |
newElementType(String namespace) |
Lock |
readLock() |
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) |
Lock |
writeLock() |
public EmbeddedMetaStore(AttributesInterface attributesInterface)
public void createNamespace(String namespace) throws org.pentaho.metastore.api.exceptions.MetaStoreException
createNamespace
in interface org.pentaho.metastore.api.IMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public List<String> getNamespaces() throws org.pentaho.metastore.api.exceptions.MetaStoreException
getNamespaces
in interface org.pentaho.metastore.api.IMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public boolean namespaceExists(String namespace) throws org.pentaho.metastore.api.exceptions.MetaStoreException
namespaceExists
in interface org.pentaho.metastore.api.IMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public void deleteNamespace(String namespace) throws org.pentaho.metastore.api.exceptions.MetaStoreException
deleteNamespace
in interface org.pentaho.metastore.api.IMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public JsonElementType newElementType(String namespace)
newElementType
in interface org.pentaho.metastore.api.IMetaStore
public void createElementType(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType) throws org.pentaho.metastore.api.exceptions.MetaStoreException
createElementType
in interface org.pentaho.metastore.api.IMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public JsonElementType getElementType(String namespace, String elementTypeId) throws org.pentaho.metastore.api.exceptions.MetaStoreException
getElementType
in interface org.pentaho.metastore.api.IMetaStore
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
org.pentaho.metastore.api.exceptions.MetaStoreException
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
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
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
org.pentaho.metastore.api.exceptions.MetaStoreException
public void deleteElementType(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType) throws org.pentaho.metastore.api.exceptions.MetaStoreException
deleteElementType
in interface org.pentaho.metastore.api.IMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
public JsonElement newElement()
newElement
in interface org.pentaho.metastore.api.IMetaStore
public JsonElement newElement(org.pentaho.metastore.api.IMetaStoreElementType elementType, String id, Object value)
newElement
in interface org.pentaho.metastore.api.IMetaStore
public org.pentaho.metastore.api.IMetaStoreAttribute newAttribute(String id, Object value)
newAttribute
in interface org.pentaho.metastore.api.IMetaStore
public org.pentaho.metastore.api.security.IMetaStoreElementOwner newElementOwner(String name, org.pentaho.metastore.api.security.MetaStoreElementOwnerType ownerType)
newElementOwner
in interface org.pentaho.metastore.api.IMetaStore
public void createElement(String namespace, org.pentaho.metastore.api.IMetaStoreElementType elementType, org.pentaho.metastore.api.IMetaStoreElement element) throws org.pentaho.metastore.api.exceptions.MetaStoreException
createElement
in interface org.pentaho.metastore.api.IMetaStore
org.pentaho.metastore.api.exceptions.MetaStoreException
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
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
org.pentaho.metastore.api.exceptions.MetaStoreException
public JsonElement 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
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
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
org.pentaho.metastore.api.exceptions.MetaStoreException
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
org.pentaho.metastore.api.exceptions.MetaStoreException
public Lock readLock()
readLock
in interface ReadWriteLock
public Lock writeLock()
writeLock
in interface ReadWriteLock
Copyright © 2019 Hitachi Vantara. All rights reserved.