de.fuberlin.wiwiss.d2rq.sql.vendor
Class MySQL.MySQLCompatibilityBitDataType

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.sql.types.DataType
      extended by de.fuberlin.wiwiss.d2rq.sql.types.SQLBit
          extended by de.fuberlin.wiwiss.d2rq.sql.vendor.MySQL.MySQLCompatibilityBitDataType
Enclosing class:
MySQL

public static class MySQL.MySQLCompatibilityBitDataType
extends SQLBit


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
MySQL.MySQLCompatibilityBitDataType(Vendor syntax)
           
 
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 de.fuberlin.wiwiss.d2rq.sql.types.SQLBit
isIRISafe, toSQLLiteral, valueRegex
 
Methods inherited from class de.fuberlin.wiwiss.d2rq.sql.types.DataType
isUnsupported, name, rdfType, supportsDistinct, syntax, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MySQL.MySQLCompatibilityBitDataType

public MySQL.MySQLCompatibilityBitDataType(Vendor syntax)
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 DataType
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