Package org.openrdf.sail.rdbms.algebra

Examples of org.openrdf.sail.rdbms.algebra.DoubleValue


  public static SqlExpr not(SqlExpr arg) {
    return new SqlNot(arg);
  }

  public static SqlExpr num(double value) {
    return new DoubleValue(value);
  }
View Full Code Here


    if (value instanceof Literal) {
      Literal lit = (Literal)value;
      URI dt = lit.getDatatype();
      if (dt != null && XMLDatatypeUtil.isNumericDatatype(dt)) {
        try {
          return new DoubleValue(lit.doubleValue());
        }
        catch (NumberFormatException e) {
          return null;
        }
      }
View Full Code Here

    if (value instanceof Literal) {
      Literal lit = (Literal)value;
      URI dt = lit.getDatatype();
      if (dt != null && XMLDatatypeUtil.isNumericDatatype(dt)) {
        try {
          return new DoubleValue(lit.doubleValue());
        }
        catch (NumberFormatException e) {
          return null;
        }
      }
View Full Code Here

  public static SqlExpr not(SqlExpr arg) {
    return new SqlNot(arg);
  }

  public static SqlExpr num(double value) {
    return new DoubleValue(value);
  }
View Full Code Here

TOP

Related Classes of org.openrdf.sail.rdbms.algebra.DoubleValue

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.