public interface DBMetadata
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<RelationID,RelationDefinition> |
copyRelations()
Deprecated.
|
com.google.common.collect.ImmutableMap<RelationID,DatabaseRelationDefinition> |
copyTables()
Deprecated.
|
void |
freeze()
After calling this method, the DBMetadata cannot be modified
|
DatabaseRelationDefinition |
getDatabaseRelation(RelationID id)
Retrieves the data definition object based on its name.
|
Collection<DatabaseRelationDefinition> |
getDatabaseRelations()
Retrieves the tables list form the metadata.
|
String |
getDbmsProductName() |
DBParameters |
getDBParameters()
New-gen interface
TODO: stop using the DBMetadata object in most of the code but DBParameters instead when needed
|
String |
getDriverName() |
String |
getDriverVersion() |
QuotedIDFactory |
getQuotedIDFactory()
Deprecated.
|
RelationDefinition |
getRelation(RelationID name)
Retrieves the data definition object based on its name.
|
com.google.common.collect.ImmutableMultimap<RelationPredicate,com.google.common.collect.ImmutableList<Integer>> |
getUniqueConstraints()
Generates a map for each predicate in the body of the rules in 'program'
that contains the Primary Key data for the predicates obtained from the
info in the metadata.
|
String |
printKeys() |
String getDbmsProductName()
String getDriverName()
String getDriverVersion()
String printKeys()
com.google.common.collect.ImmutableMultimap<RelationPredicate,com.google.common.collect.ImmutableList<Integer>> getUniqueConstraints()
@Deprecated QuotedIDFactory getQuotedIDFactory()
DatabaseRelationDefinition getDatabaseRelation(RelationID id)
id - RelationDefinition getRelation(RelationID name)
name - Collection<DatabaseRelationDefinition> getDatabaseRelations()
void freeze()
@Deprecated com.google.common.collect.ImmutableMap<RelationID,DatabaseRelationDefinition> copyTables()
@Deprecated com.google.common.collect.ImmutableMap<RelationID,RelationDefinition> copyRelations()
DBParameters getDBParameters()
Copyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.