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 |
Constructor and Description |
---|
MetadataStore() |
Modifier and Type | Method and Description |
---|---|
void |
addDatatype(Datatype datatype) |
void |
addDataTypes(Collection<Datatype> types) |
void |
addGrant(Grant grant) |
void |
addRole(Role role) |
void |
addSchema(Schema schema) |
NavigableMap<String,Datatype> |
getDatatypes() |
Collection<Grant> |
getGrants() |
Role |
getRole(String roleName) |
Collection<Role> |
getRoles() |
Schema |
getSchema(String name) |
List<Schema> |
getSchemaList() |
NavigableMap<String,Schema> |
getSchemas() |
void |
merge(MetadataStore store) |
void |
removeGrant(Grant toRemoveGrant) |
Role |
removeRole(String roleName) |
Schema |
removeSchema(String schemaName) |
protected NavigableMap<String,Schema> schemas
protected NavigableMap<String,Datatype> datatypes
protected LinkedHashMap<String,Role> roles
public NavigableMap<String,Schema> getSchemas()
public void addSchema(Schema schema)
public void addDataTypes(Collection<Datatype> types)
public void addDatatype(Datatype datatype)
public NavigableMap<String,Datatype> getDatatypes()
public void merge(MetadataStore store)
public void addGrant(Grant grant)
public void removeGrant(Grant toRemoveGrant)
public Collection<Grant> getGrants()
public void addRole(Role role)
public Collection<Role> getRoles()
Copyright © 2017 JBoss by Red Hat. All rights reserved.