org.d2rq.db.vendor
Class MySQL.MySQLCompatibilityDateDataType

java.lang.Object
  extended by org.d2rq.db.types.DataType
      extended by org.d2rq.db.types.SQLDate
          extended by org.d2rq.db.vendor.MySQL.MySQLCompatibilityDateDataType
Enclosing class:
MySQL

public static class MySQL.MySQLCompatibilityDateDataType
extends SQLDate


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
MySQL.MySQLCompatibilityDateDataType()
           
 
Method Summary
 String value(ResultSet resultSet, int column)
          Retrieves a string value in preferred format (canonical form of the closest XSD type) from a SQL ResultSet.
 
Methods inherited from class org.d2rq.db.types.SQLDate
isIRISafe, rdfType, toSQLLiteral
 
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

MySQL.MySQLCompatibilityDateDataType

public MySQL.MySQLCompatibilityDateDataType()
Method Detail

value

public String value(ResultSet resultSet,
                    int column)
             throws SQLException
Description copied from class: DataType
Retrieves a string value in preferred format (canonical form of the closest XSD type) from a SQL ResultSet.

Overrides:
value in class SQLDate
Parameters:
resultSet - Result of a SELECT query
column - The column index to retrieve; leftmost columns is 1
Returns:
String representation, or null if SQL result was null or is not representable in the XSD type
Throws:
SQLException