public class ImmutableMetadataLookup extends Object implements MetadataLookup
| Modifier and Type | Field and Description |
|---|---|
protected QuotedIDFactory |
idFactory |
protected com.google.common.collect.ImmutableMap<RelationID,DatabaseRelationDefinition> |
map |
| Modifier and Type | Method and Description |
|---|---|
QuotedIDFactory |
getQuotedIDFactory() |
DatabaseRelationDefinition |
getRelation(RelationID id)
Retrieves the data definition object based on its name.
|
protected com.google.common.collect.ImmutableList<DatabaseRelationDefinition> |
getRelations() |
protected final QuotedIDFactory idFactory
protected final com.google.common.collect.ImmutableMap<RelationID,DatabaseRelationDefinition> map
public DatabaseRelationDefinition getRelation(RelationID id) throws MetadataExtractionException
MetadataLookupgetRelation in interface MetadataLookupMetadataExtractionException - if the relation is not foundpublic QuotedIDFactory getQuotedIDFactory()
getQuotedIDFactory in interface MetadataLookupprotected com.google.common.collect.ImmutableList<DatabaseRelationDefinition> getRelations()
Copyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.