de.fuberlin.wiwiss.d2rq.sql.vendor
Class HSQLDB.HSQLDBCompatibilityDoubleDataType

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.sql.types.DataType
      extended by de.fuberlin.wiwiss.d2rq.sql.types.SQLApproximateNumeric
          extended by de.fuberlin.wiwiss.d2rq.sql.vendor.HSQLDB.HSQLDBCompatibilityDoubleDataType
Enclosing class:
HSQLDB

public static class HSQLDB.HSQLDBCompatibilityDoubleDataType
extends SQLApproximateNumeric


Nested Class Summary
 
Nested classes/interfaces inherited from class de.fuberlin.wiwiss.d2rq.sql.types.DataType
DataType.GenericType
 
Field Summary
 
Fields inherited from class de.fuberlin.wiwiss.d2rq.sql.types.DataType
log
 
Constructor Summary
HSQLDB.HSQLDBCompatibilityDoubleDataType(Vendor syntax)
           
 
Method Summary
 String toSQLLiteral(String value)
          Creates a SQL literal for the given value, suitable for comparison to a column of this indicated type.
 
Methods inherited from class de.fuberlin.wiwiss.d2rq.sql.types.SQLApproximateNumeric
isIRISafe, rdfType, value
 
Methods inherited from class de.fuberlin.wiwiss.d2rq.sql.types.DataType
isUnsupported, name, supportsDistinct, syntax, toString, valueRegex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HSQLDB.HSQLDBCompatibilityDoubleDataType

public HSQLDB.HSQLDBCompatibilityDoubleDataType(Vendor syntax)
Method Detail

toSQLLiteral

public String toSQLLiteral(String value)
Description copied from class: DataType
Creates a SQL literal for the given value, suitable for comparison to a column of this indicated type. If the value is not suitable for the column type (e.g., not a number for a SQLExactNumeric), NULL is returned.

Overrides:
toSQLLiteral in class SQLApproximateNumeric
Parameters:
value - A value
Returns:
A quoted and escaped SQL literal, suitable for comparison to a column