org.openrdf.sail.rdbms.optimizers
Class SqlConstantOptimizer
java.lang.Object
org.openrdf.query.algebra.helpers.QueryModelVisitorBase<X>
org.openrdf.sail.rdbms.algebra.base.RdbmsQueryModelVisitorBase<RuntimeException>
org.openrdf.sail.rdbms.optimizers.SqlConstantOptimizer
- All Implemented Interfaces:
- QueryOptimizer, QueryModelVisitor<RuntimeException>
public class SqlConstantOptimizer
- extends RdbmsQueryModelVisitorBase<RuntimeException>
- implements QueryOptimizer
Optimises SQL constants, include operations with static values and null
operations.
- Author:
- James Leigh
| Methods inherited from class org.openrdf.sail.rdbms.algebra.base.RdbmsQueryModelVisitorBase |
meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meetBinarySqlOperator, meetFromItem, meetSqlConstant, meetSqlExpr, meetUnarySqlOperator, meetValueColumnBase |
| Methods inherited from class org.openrdf.query.algebra.helpers.QueryModelVisitorBase |
meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meetBinaryTupleOperator, meetBinaryValueOperator, meetCompareSubQueryValueOperator, meetNode, meetOther, meetSubQueryValueOperator, meetUnaryTupleOperator, meetUnaryValueOperator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlConstantOptimizer
public SqlConstantOptimizer()
meet
public void meet(SelectQuery node)
throws RuntimeException
- Overrides:
meet in class RdbmsQueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(SqlAnd node)
throws RuntimeException
- Overrides:
meet in class RdbmsQueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(SqlCase node)
throws RuntimeException
- Overrides:
meet in class RdbmsQueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(SqlCompare node)
throws RuntimeException
- Overrides:
meet in class RdbmsQueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(SqlConcat node)
throws RuntimeException
- Overrides:
meet in class RdbmsQueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(SqlEq node)
throws RuntimeException
- Overrides:
meet in class RdbmsQueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(SqlIsNull node)
throws RuntimeException
- Overrides:
meet in class RdbmsQueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(SqlLowerCase node)
throws RuntimeException
- Overrides:
meet in class RdbmsQueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(SqlNot node)
throws RuntimeException
- Overrides:
meet in class RdbmsQueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(SqlOr node)
throws RuntimeException
- Overrides:
meet in class RdbmsQueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
optimize
public void optimize(SqlExpr sqlExpr)
optimize
public void optimize(TupleExpr tupleExpr,
Dataset dataset,
BindingSet bindings)
- Specified by:
optimize in interface QueryOptimizer
Copyright © 2001-2008 Aduna. All Rights Reserved.