Package plan_runner.expressions

Examples of plan_runner.expressions.ColumnReference


    final TypeConversion tc = _schema.getType(ParserUtil.getFullSchemaColumnName(column, _tan));

    // extract the position (index) of the required column
    final int position = _it.getColumnIndex(column, _affectedComponent);

    final ValueExpression ve = new ColumnReference(tc, position);
    _exprStack.push(ve);
  }
View Full Code Here


    // expr is changed in place, so that it does not contain synonims
    final int position = _nt.indexOf(_tupleSchema, expr);
    if (position != ParserUtil.NOT_FOUND) {
      // we found an expression already in the tuple schema
      final TypeConversion tc = _nt.getType(_tupleSchema, expr);
      final ValueExpression ve = new ColumnReference(tc, position,
          ParserUtil.getStringExpr(expr));
      pushToExprStack(ve);
      return true;
    } else
      return false;
View Full Code Here

    final int position = _nt.getColumnIndex(_tupleSchema, column);

    // extract type for the column
    final TypeConversion tc = _nt.getType(_tupleSchema, column);

    final ValueExpression ve = new ColumnReference(tc, position,
        ParserUtil.getStringExpr(column));
    pushToExprStack(ve);
  }
View Full Code Here

    // expr is changed in place, so that it does not contain synonims
    final int position = _nt.indexOf(_tupleSchema, expr);
    if (position != ParserUtil.NOT_FOUND) {
      // we found an expression already in the tuple schema
      final TypeConversion tc = _nt.getType(_tupleSchema, expr);
      final ValueExpression ve = new ColumnReference(tc, position,
          ParserUtil.getStringExpr(expr));
      pushToExprStack(ve);
      return true;
    } else
      return false;
View Full Code Here

      final int position = _nt.getColumnIndex(_tupleSchema, column);

      // extract type for the column
      final TypeConversion tc = _nt.getType(_tupleSchema, column);

      final ValueExpression ve = new ColumnReference(tc, position,
          ParserUtil.getStringExpr(column));
      pushToExprStack(ve);
    } else
      throw new NotFromMyBranchException();
  }
View Full Code Here

    // expr is changed in place, so that it does not contain synonims
    final int position = _nt.indexOf(_inputTupleSchema, expr);
    if (position != ParserUtil.NOT_FOUND) {
      // we found an expression already in the tuple schema
      final TypeConversion tc = _nt.getType(_inputTupleSchema, expr);
      final ValueExpression ve = new ColumnReference(tc, position,
          ParserUtil.getStringExpr(expr));
      pushToExprStack(ve);
      return true;
    } else
      return false;
View Full Code Here

    final int position = _nt.getColumnIndex(_inputTupleSchema, column);

    // extract type for the column
    final TypeConversion tc = _nt.getType(_inputTupleSchema, column);

    final ValueExpression ve = new ColumnReference(tc, position,
        ParserUtil.getStringExpr(column));
    pushToExprStack(ve);
  }
View Full Code Here

  private int _numTuplesProcessed = 0;

  public ProjectOperator(int[] projectIndexes) {
    for (final int columnNumber : projectIndexes) {
      final ColumnReference columnReference = new ColumnReference(new StringConversion(),
          columnNumber);
      _veList.add(columnReference);
    }
  }
View Full Code Here

          _tan));

      // extract the position (index) of the required column
      final int position = _it.getColumnIndex(column, _affectedComponent);

      final ValueExpression ve = new ColumnReference(tc, position);
      _exprStack.push(ve);
    } else
      throw new NotFromMyBranchException();
  }
View Full Code Here

    // expr is changed in place, so that it does not contain synonims
    final int position = _nt.indexOf(_tupleSchema, expr);
    if (position != ParserUtil.NOT_FOUND) {
      // we found an expression already in the tuple schema
      final TypeConversion tc = _nt.getType(_tupleSchema, expr);
      final ValueExpression ve = new ColumnReference(tc, position,
          ParserUtil.getStringExpr(expr));
      pushToExprStack(ve);
      return true;
    } else
      return false;
View Full Code Here

TOP

Related Classes of plan_runner.expressions.ColumnReference

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.