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.expr | |
de.fuberlin.wiwiss.d2rq.map |
Classes that represent the components of a mapping file.
|
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.nodes |
Code that maps a set of database values into a set of RDF nodes.
|
de.fuberlin.wiwiss.d2rq.optimizer.expr | |
de.fuberlin.wiwiss.d2rq.sql |
SQL query and result processing code.
|
de.fuberlin.wiwiss.d2rq.sql.vendor | |
de.fuberlin.wiwiss.d2rq.values |
Code for expressing a rule that generates a set of values from some data in the database.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
ColumnRenamerMap.applyTo(Attribute original) |
abstract Attribute |
ColumnRenamer.applyTo(Attribute original) |
Attribute |
AliasMap.applyTo(Attribute attribute) |
Attribute |
Join.equalAttribute(Attribute column) |
Attribute |
AliasMap.originalOf(Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
Set<Attribute> |
Relation.allKnownAttributes() |
List<Attribute> |
Join.attributes1() |
List<Attribute> |
Join.attributes2() |
Set<Attribute> |
ProjectionSpec.requiredAttributes() |
Set<Attribute> |
ExpressionProjectionSpec.requiredAttributes() |
Set<Attribute> |
Attribute.requiredAttributes() |
Modifier and Type | Method and Description |
---|---|
Attribute |
ColumnRenamerMap.applyTo(Attribute original) |
abstract Attribute |
ColumnRenamer.applyTo(Attribute original) |
Attribute |
AliasMap.applyTo(Attribute attribute) |
boolean |
Join.containsColumn(Attribute column) |
static Relation |
Relation.createSimpleRelation(ConnectedDB database,
Attribute[] attributes) |
Attribute |
Join.equalAttribute(Attribute column) |
Attribute |
AliasMap.originalOf(Attribute attribute) |
Constructor and Description |
---|
Join(Attribute oneSide,
Attribute otherSide,
int joinDirection) |
Constructor and Description |
---|
ColumnRenamerMap(Map<Attribute,Attribute> originalsToReplacements) |
ColumnRenamerMap(Map<Attribute,Attribute> originalsToReplacements) |
Join(List<Attribute> oneSideAttributes,
List<Attribute> otherSideAttributes,
int joinDirection) |
Join(List<Attribute> oneSideAttributes,
List<Attribute> otherSideAttributes,
int joinDirection) |
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
DatabaseSchemaInspector.listColumns(RelationName tableName) |
List<Attribute> |
DatabaseSchemaInspector.primaryKeyColumns(RelationName tableName) |
Modifier and Type | Method and Description |
---|---|
DataType |
DatabaseSchemaInspector.columnType(Attribute column) |
boolean |
DatabaseSchemaInspector.isNullable(Attribute column) |
boolean |
DatabaseSchemaInspector.isZerofillColumn(Attribute column) |
Modifier and Type | Method and Description |
---|---|
Set<Attribute> |
UnaryMinus.attributes() |
Set<Attribute> |
SQLExpression.attributes() |
Set<Attribute> |
NotNull.attributes() |
Set<Attribute> |
Negation.attributes() |
abstract Set<Attribute> |
Expression.attributes() |
Set<Attribute> |
Equality.attributes() |
Set<Attribute> |
Disjunction.attributes() |
Set<Attribute> |
Constant.attributes() |
Set<Attribute> |
Conjunction.attributes() |
Set<Attribute> |
Concatenation.attributes() |
Set<Attribute> |
BooleanToIntegerCaseExpression.attributes() |
Set<Attribute> |
BinaryOperator.attributes() |
Set<Attribute> |
AttributeExpr.attributes() |
Modifier and Type | Method and Description |
---|---|
static Expression |
Equality.createAttributeEquality(Attribute attribute1,
Attribute attribute2) |
static Expression |
Equality.createAttributeValue(Attribute attribute,
String value) |
Constructor and Description |
---|
AttributeExpr(Attribute attribute) |
Constant(String value,
Attribute attributeForTrackingType) |
Modifier and Type | Method and Description |
---|---|
Attribute |
DownloadMap.getContentDownloadColumn() |
Modifier and Type | Method and Description |
---|---|
protected List<Attribute> |
MappingGenerator.filter(List<Attribute> columns,
boolean requireDistinct,
String reason) |
Modifier and Type | Method and Description |
---|---|
boolean |
Filter.matches(Attribute column) |
protected String |
W3CMappingGenerator.vocabularyIRITurtle(Attribute attribute) |
protected String |
MappingGenerator.vocabularyIRITurtle(Attribute attribute) |
void |
MappingGenerator.writeColumn(Attribute column) |
Modifier and Type | Method and Description |
---|---|
protected List<Attribute> |
MappingGenerator.filter(List<Attribute> columns,
boolean requireDistinct,
String reason) |
boolean |
Filter.matchesAll(Collection<Attribute> columns) |
protected String |
W3CMappingGenerator.vocabularyIRITurtle(List<Attribute> attributes) |
protected String |
MappingGenerator.vocabularyIRITurtle(List<Attribute> attributes) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
NodeSetFilter.limitValuesToAttribute(Attribute attribute)
Limits this node set to those whose value matches a value in a
particular database table column.
|
void |
NodeSetConstraintBuilder.limitValuesToAttribute(Attribute attribute) |
void |
DetermineNodeType.limitValuesToAttribute(Attribute attribute) |
Constructor and Description |
---|
AttributeExprEx(Attribute attribute,
NodeMaker nodeMaker) |
ConstantEx(String value,
Attribute attributeForTrackingType,
Node node) |
Modifier and Type | Method and Description |
---|---|
static Attribute |
SQL.parseAttribute(String qualifiedName)
Constructs an attribute from a fully qualified column name in [schema.]table.column
notation.
|
Modifier and Type | Method and Description |
---|---|
static Set<Attribute> |
SQL.findColumnsInExpression(String expression) |
Modifier and Type | Method and Description |
---|---|
boolean |
ConnectedDB.areCompatibleFormats(Attribute column1,
Attribute column2)
Checks if two columns are formatted by the database in a compatible
fashion.
|
DataType |
ConnectedDB.columnType(Attribute column)
Returns a column's datatype.
|
boolean |
ConnectedDB.isNullable(Attribute column) |
Modifier and Type | Method and Description |
---|---|
String |
Vendor.quoteAttribute(Attribute attribute)
Handles special characters in attribute names.
|
String |
SQL92.quoteAttribute(Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
Pattern.attributes() |
List<Attribute> |
BlankNodeID.attributes() |
Constructor and Description |
---|
Column(Attribute attribute) |
Constructor and Description |
---|
BlankNodeID(String classMapID,
List<Attribute> attributes)
Constructs a new blank node identifier.
|