Package org.eigenbase.sql

Examples of org.eigenbase.sql.SqlLiteral


  }

  @Override
  public SqlNode rewrite(SqlNode sqlNode) throws RelConversionException{
    SqlExplain node = unwrap(sqlNode, SqlExplain.class);
    SqlLiteral op = node.operand(2);
    SqlExplain.Depth depth = (SqlExplain.Depth) op.getValue();
    if(node.getDetailLevel() != null) level = node.getDetailLevel();
    switch(depth){
    case LOGICAL:
      mode = ResultMode.LOGICAL;
      break;
View Full Code Here


    public boolean isArray(){
      return isArray;
    }

    public SqlNode getNode(SqlNode node){
      SqlLiteral literal;
      if(isArray){
        literal = SqlLiteral.createExactNumeric(value, parserPos);
      }else{
        literal = SqlLiteral.createCharString(value, parserPos);
      }
View Full Code Here

  }

  @Override
  public SqlNode rewrite(SqlNode sqlNode) throws RelConversionException{
    SqlExplain node = unwrap(sqlNode, SqlExplain.class);
    SqlLiteral op = node.operand(2);
    SqlExplain.Depth depth = (SqlExplain.Depth) op.getValue();
    if (node.getDetailLevel() != null) {
      level = node.getDetailLevel();
    }
    switch (depth) {
    case LOGICAL:
View Full Code Here

    public boolean isArray(){
      return isArray;
    }

    public SqlNode getNode(SqlNode node){
      SqlLiteral literal;
      if(isArray){
        literal = SqlLiteral.createExactNumeric(value, parserPos);
      }else{
        literal = SqlLiteral.createCharString(value, parserPos);
      }
View Full Code Here

  }

  @Override
  public SqlNode rewrite(SqlNode sqlNode) throws RelConversionException{
    SqlExplain node = unwrap(sqlNode, SqlExplain.class);
    SqlLiteral op = node.operand(2);
    SqlExplain.Depth depth = (SqlExplain.Depth) op.getValue();
    if(node.getDetailLevel() != null) level = node.getDetailLevel();
    switch(depth){
    case LOGICAL:
      mode = ResultMode.LOGICAL;
      break;
View Full Code Here

TOP

Related Classes of org.eigenbase.sql.SqlLiteral

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.