Package | Description |
---|---|
de.fuberlin.wiwiss.d2rq.algebra |
Implementation of an RDF-based relational algebra.
|
de.fuberlin.wiwiss.d2rq.expr | |
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.parser |
Code that converts a D2RQ mapping file from its RDF representation into
corresponding Java objects.
|
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 |
---|---|
Expression |
ColumnRenamer.applyTo(Expression original) |
Expression |
RelationImpl.condition() |
abstract Expression |
Relation.condition()
An expression that must be satisfied for all tuples in the
relation.
|
Expression |
VariableConstraints.constraint() |
Expression |
OrderSpec.expression() |
Expression |
ProjectionSpec.notNullExpression(ConnectedDB database,
AliasMap aliases) |
Expression |
ExpressionProjectionSpec.notNullExpression(ConnectedDB database,
AliasMap aliases) |
Expression |
Attribute.notNullExpression(ConnectedDB db,
AliasMap aliases) |
Expression |
Attribute.selectValue(String value) |
Expression |
RelationImpl.softCondition() |
abstract Expression |
Relation.softCondition()
An expression satisfied by all tuples in the relation.
|
Expression |
ProjectionSpec.toExpression() |
Expression |
ExpressionProjectionSpec.toExpression() |
Expression |
Attribute.toExpression() |
Modifier and Type | Method and Description |
---|---|
Expression |
ColumnRenamer.applyTo(Expression original) |
Relation |
RelationalOperators.select(Expression condition)
Applies the selection operator to this relation.
|
Relation |
RelationImpl.select(Expression selectCondition) |
NodeRelation |
NodeRelation.select(Expression expression) |
Relation |
MutableRelation.select(Expression condition) |
Constructor and Description |
---|
ExpressionProjectionSpec(Expression expression) |
OrderSpec(Expression expression) |
OrderSpec(Expression expression,
boolean ascending) |
RelationImpl(ConnectedDB database,
AliasMap aliases,
Expression condition,
Expression softCondition,
Set<Join> joinConditions,
Set<ProjectionSpec> projections,
boolean isUnique,
List<OrderSpec> orderSpecs,
int limit,
int limitInverse) |
Modifier and Type | Class and Description |
---|---|
class |
Add |
class |
AttributeExpr |
class |
BinaryOperator |
class |
BooleanToIntegerCaseExpression
A CASE statement that turns a BOOLEAN (TRUE, FALSE) into an
INT (1, 0)
|
class |
Concatenation |
class |
Conjunction |
class |
Constant
A constant-valued expression.
|
class |
Disjunction |
class |
Divide |
class |
Equality
An expression that is TRUE iff its two constituent expressions are true.
|
class |
GreaterThan |
class |
GreaterThanOrEqual |
class |
LessThan |
class |
LessThanOrEqual |
class |
Multiply |
class |
Negation
An expression that negates an underlying expression
|
class |
NotNull |
class |
SQLExpression
An SQL expression.
|
class |
Subtract |
class |
UnaryMinus |
Modifier and Type | Field and Description |
---|---|
protected Expression |
BinaryOperator.expr1 |
protected Expression |
BinaryOperator.expr2 |
static Expression |
Expression.FALSE |
static Expression |
Expression.TRUE |
Modifier and Type | Method and Description |
---|---|
Expression |
Expression.and(Expression other) |
static Expression |
NotNull.create(Expression expr) |
static Expression |
Equality.create(Expression expr1,
Expression expr2) |
static Expression |
Equality.createExpressionValue(Expression expression,
String value) |
Expression |
Expression.or(Expression other) |
Modifier and Type | Method and Description |
---|---|
static Expression |
Disjunction.create(Collection<Expression> expressions) |
static Expression |
Conjunction.create(Collection<Expression> expressions) |
static Expression |
Concatenation.create(List<Expression> expressions) |
Constructor and Description |
---|
Add(Expression expr1,
Expression expr2) |
BinaryOperator(Expression expr1,
Expression expr2,
String operator) |
BooleanToIntegerCaseExpression(Expression base) |
Divide(Expression expr1,
Expression expr2) |
GreaterThan(Expression expr1,
Expression expr2) |
GreaterThanOrEqual(Expression expr1,
Expression expr2) |
LessThan(Expression expr1,
Expression expr2) |
LessThanOrEqual(Expression expr1,
Expression expr2) |
Multiply(Expression expr1,
Expression expr2) |
Negation(Expression base) |
Subtract(Expression expr1,
Expression expr2) |
UnaryMinus(Expression base) |
Modifier and Type | Method and Description |
---|---|
Expression |
NodeSetConstraintBuilder.constraint() |
Modifier and Type | Method and Description |
---|---|
void |
NodeSetFilter.limitValuesToExpression(Expression expression)
Limits this node set to nodes whose value matches the given
SQL expression.
|
void |
NodeSetConstraintBuilder.limitValuesToExpression(Expression expression) |
void |
DetermineNodeType.limitValuesToExpression(Expression expression) |
Modifier and Type | Class and Description |
---|---|
class |
AttributeExprEx
Extends
AttributeExpr with a NodeMaker . |
class |
ConstantEx
Extends a
Constant with a Node . |
Modifier and Type | Method and Description |
---|---|
static Expression |
TransformExprToSQLApplyer.convert(Expr expr,
NodeRelation nodeRelation)
Converts a SPARQL filter expression to an SQL expression
|
Expression |
TransformExprToSQLApplyer.result()
Returns the sql Expression
|
Modifier and Type | Method and Description |
---|---|
protected void |
TransformExprToSQLApplyer.extensionConvert(ExprFunction function,
List<Expression> args) |
Modifier and Type | Method and Description |
---|---|
void |
RelationBuilder.addCondition(Expression condition) |
Modifier and Type | Method and Description |
---|---|
Expression |
Vendor.booleanExpressionToSimpleExpression(Expression expression)
Turns a BOOLEAN expression into an expression that is guaranteed to
be usable in any place where an expression is allowed.
|
Expression |
SQLServer.booleanExpressionToSimpleExpression(Expression expression)
Expressions can not return true or false in Microsoft SQL
Server.
|
Expression |
SQL92.booleanExpressionToSimpleExpression(Expression expression)
In most databases, we don't have to do anything because boolean
expressions are allowed anywhere.
|
Expression |
Oracle.booleanExpressionToSimpleExpression(Expression expression)
Oracle doesn't actually support booolean expressions, except in
a few places.
|
Expression |
Vendor.getRowNumLimitAsExpression(int limit)
Returns an expression for limiting the number of returned rows
for engines that support this (
ROWNUM <= n ) |
Expression |
SQL92.getRowNumLimitAsExpression(int limit) |
Expression |
Oracle.getRowNumLimitAsExpression(int limit) |
Modifier and Type | Method and Description |
---|---|
Expression |
Vendor.booleanExpressionToSimpleExpression(Expression expression)
Turns a BOOLEAN expression into an expression that is guaranteed to
be usable in any place where an expression is allowed.
|
Expression |
SQLServer.booleanExpressionToSimpleExpression(Expression expression)
Expressions can not return true or false in Microsoft SQL
Server.
|
Expression |
SQL92.booleanExpressionToSimpleExpression(Expression expression)
In most databases, we don't have to do anything because boolean
expressions are allowed anywhere.
|
Expression |
Oracle.booleanExpressionToSimpleExpression(Expression expression)
Oracle doesn't actually support booolean expressions, except in
a few places.
|
Modifier and Type | Method and Description |
---|---|
Expression |
Pattern.toExpression() |
Expression |
BlankNodeID.toExpression() |
Expression |
ValueMaker.valueExpression(String value)
A SQL expression that selects only rows where this value maker
produces the specified value.
|
Expression |
ValueDecorator.valueExpression(String value) |
Expression |
SQLExpressionValueMaker.valueExpression(String value) |
Expression |
Pattern.valueExpression(String value) |
Expression |
ConstantValueMaker.valueExpression(String value) |
Expression |
Column.valueExpression(String value) |
Expression |
BlankNodeID.valueExpression(String value) |
Constructor and Description |
---|
SQLExpressionValueMaker(Expression expression) |