Package | Description |
---|---|
de.fuberlin.wiwiss.d2rq.algebra |
Implementation of an RDF-based relational algebra.
|
de.fuberlin.wiwiss.d2rq.dbschema |
JDBC-based database schema inspection code.
|
de.fuberlin.wiwiss.d2rq.mapgen |
The mapping generator introspects a database schema and generates a simple
default D2RQ mapping that matches the DB schema.
|
de.fuberlin.wiwiss.d2rq.sql |
SQL query and result processing code.
|
de.fuberlin.wiwiss.d2rq.sql.vendor |
Modifier and Type | Method and Description |
---|---|
RelationName |
AliasMap.Alias.alias() |
RelationName |
AliasMap.applyTo(RelationName original) |
RelationName |
AliasMap.Alias.original() |
RelationName |
AliasMap.originalOf(RelationName name) |
RelationName |
Attribute.relationName()
Returns the table name, including the schema if the table is
in a schema.
|
RelationName |
Join.table1() |
RelationName |
Join.table2() |
RelationName |
RelationName.withPrefix(int index) |
Modifier and Type | Method and Description |
---|---|
Set<RelationName> |
Relation.tables() |
Modifier and Type | Method and Description |
---|---|
RelationName |
AliasMap.applyTo(RelationName original) |
int |
RelationName.compareTo(RelationName other)
Relations without schema are less than relations with schema.
|
static AliasMap |
AliasMap.create1(RelationName original,
RelationName alias) |
boolean |
AliasMap.hasAlias(RelationName original) |
boolean |
AliasMap.isAlias(RelationName name) |
RelationName |
AliasMap.originalOf(RelationName name) |
NodeRelation |
NodeRelation.renameSingleRelation(RelationName oldName,
RelationName newName) |
Constructor and Description |
---|
AliasMap.Alias(RelationName original,
RelationName alias) |
Attribute(RelationName relationName,
String attributeName) |
Modifier and Type | Method and Description |
---|---|
RelationName |
DatabaseSchemaInspector.getCorrectCapitalization(RelationName relationName)
Looks up a RelationName with the schema in order to retrieve the correct capitalization
|
Modifier and Type | Method and Description |
---|---|
List<RelationName> |
DatabaseSchemaInspector.listTableNames(String searchInSchema)
Lists available table names
|
Modifier and Type | Method and Description |
---|---|
List<Join> |
DatabaseSchemaInspector.foreignKeys(RelationName tableName,
int direction)
Returns a list of imported or exported (foreign) keys for a table.
|
RelationName |
DatabaseSchemaInspector.getCorrectCapitalization(RelationName relationName)
Looks up a RelationName with the schema in order to retrieve the correct capitalization
|
List<Attribute> |
DatabaseSchemaInspector.listColumns(RelationName tableName) |
List<Attribute> |
DatabaseSchemaInspector.primaryKeyColumns(RelationName tableName) |
Map<String,List<String>> |
DatabaseSchemaInspector.uniqueColumns(RelationName tableName)
Returns unique indexes defined on the table.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MappingGenerator.isLinkTable(RelationName tableName)
A table T is considered to be a link table if it has exactly two
foreign key constraints, and the constraints reference other
tables (not T), and the constraints cover all columns of T,
and there are no foreign keys from other tables pointing to this table
|
boolean |
Filter.matches(RelationName table) |
protected String |
W3CMappingGenerator.vocabularyIRITurtle(RelationName table) |
protected String |
MappingGenerator.vocabularyIRITurtle(RelationName tableName) |
protected void |
W3CMappingGenerator.writeEntityIdentifier(RelationName tableName,
List<Attribute> identifierColumns) |
protected void |
MappingGenerator.writeEntityIdentifier(RelationName tableName,
List<Attribute> identifierColumns) |
void |
MappingGenerator.writeLabelBridge(RelationName tableName,
List<Attribute> labelColumns) |
protected void |
W3CMappingGenerator.writePseudoEntityIdentifier(RelationName tableName) |
protected void |
MappingGenerator.writePseudoEntityIdentifier(RelationName tableName) |
void |
MappingGenerator.writeTable(RelationName tableName) |
Modifier and Type | Method and Description |
---|---|
static RelationName |
SQL.parseRelationName(String qualifiedName)
Constructs a relation name from a fully qualified name in schema.table
or table notation.
|
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
ConnectedDB.getUniqueKeyColumns(RelationName tableName) |
Modifier and Type | Method and Description |
---|---|
String |
Vendor.getRelationNameAliasExpression(RelationName relationName,
RelationName aliasName)
A relation name with an alias name for use in
FROM
clauses. |
String |
SQL92.getRelationNameAliasExpression(RelationName relationName,
RelationName aliasName) |
String |
Vendor.quoteRelationName(RelationName relationName)
Handles special characters in relation names.
|
String |
SQL92.quoteRelationName(RelationName relationName) |