Package sql.visitors.squall

Examples of sql.visitors.squall.IndexWhereVisitor


   * affectedComponent This is the only method in this class where
   * IndexWhereVisitor is actually instantiated and invoked
   */
  private void processWhereForComponent(Component affectedComponent,
      Expression whereCompExpression) {
    final IndexWhereVisitor whereVisitor = new IndexWhereVisitor(affectedComponent, _schema,
        _pq.getTan());
    whereCompExpression.accept(whereVisitor);
    attachWhereClause(affectedComponent, whereVisitor.getSelectOperator());
  }
View Full Code Here


  }

  private void processWhereClause(Expression whereExpr) {
    // all the selection are performed on the last component
    final Component affectedComponent = _cg.getQueryPlan().getLastComponent();
    final IndexWhereVisitor whereVisitor = new IndexWhereVisitor(affectedComponent, _schema,
        _pq.getTan());
    if (whereExpr != null) {
      whereExpr.accept(whereVisitor);
      attachWhereClause(whereVisitor.getSelectOperator(), affectedComponent);
    }
  }
View Full Code Here

TOP

Related Classes of sql.visitors.squall.IndexWhereVisitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.