org.d2rq.db.vendor
Class HSQLDB.HSQLDBCompatibilityDoubleDataType

java.lang.Object
  extended by org.d2rq.db.types.DataType
      extended by org.d2rq.db.types.SQLApproximateNumeric
          extended by org.d2rq.db.vendor.HSQLDB.HSQLDBCompatibilityDoubleDataType
Enclosing class:
HSQLDB

public static class HSQLDB.HSQLDBCompatibilityDoubleDataType
extends SQLApproximateNumeric


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

Constructor Detail

HSQLDB.HSQLDBCompatibilityDoubleDataType

public HSQLDB.HSQLDBCompatibilityDoubleDataType()
Method Detail

toSQLLiteral

public String toSQLLiteral(String value,
                           Vendor vendor)
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
vendor - A vendor instance responsible for quoting/escaping
Returns:
A quoted and escaped SQL literal, suitable for comparison to a column