public class MetadataStore extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected NavigableMap<String,Datatype> |
datatypes |
protected LinkedHashMap<String,Role> |
roles |
protected List<Schema> |
schemaList |
protected NavigableMap<String,Schema> |
schemas |
protected NavigableMap<String,Datatype> |
unmondifiableDatatypes |
Constructor and Description |
---|
MetadataStore() |
Modifier and Type | Method and Description |
---|---|
void |
addDatatype(String name,
Datatype datatype) |
void |
addDataTypes(Map<String,Datatype> typeMap) |
void |
addSchema(Schema schema) |
NavigableMap<String,Datatype> |
getDatatypes() |
NavigableMap<String,Datatype> |
getDatatypesExcludingAliases()
Get the type information excluding aliases and case sensitive by name
|
Collection<Grant> |
getGrants() |
Schema |
getSchema(String name) |
List<Schema> |
getSchemaList() |
NavigableMap<String,Schema> |
getSchemas() |
void |
merge(MetadataStore store) |
void |
removeGrant(Grant toRemoveGrant) |
Schema |
removeSchema(String schemaName) |
protected NavigableMap<String,Schema> schemas
protected NavigableMap<String,Datatype> datatypes
protected NavigableMap<String,Datatype> unmondifiableDatatypes
protected LinkedHashMap<String,Role> roles
public NavigableMap<String,Schema> getSchemas()
public void addSchema(Schema schema)
public NavigableMap<String,Datatype> getDatatypes()
public NavigableMap<String,Datatype> getDatatypesExcludingAliases()
public void merge(MetadataStore store)
public void removeGrant(Grant toRemoveGrant)
public Collection<Grant> getGrants()
Copyright © 2019. All rights reserved.