public class UnsupportedDataType extends DataType
DataType.GenericType| Constructor and Description |
|---|
UnsupportedDataType(int jdbcType,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUnsupported() |
String |
rdfType()
Return the appropriate RDF datatype for a SQL data type.
|
String |
toSQLLiteral(String value)
Creates a SQL literal for the given value, suitable
for comparison to a column of this indicated type.
|
String |
toString() |
String |
value(ResultSet resultSet,
int column)
Retrieves a string value in preferred format (canonical form
of the closest XSD type) from a SQL ResultSet.
|
isIRISafe, name, supportsDistinct, syntax, valueRegexpublic UnsupportedDataType(int jdbcType,
String name)
public boolean isUnsupported()
isUnsupported in class DataTypepublic String rdfType()
DataTypenull
indicates a known SQL type that cannot be mapped to RDF.public String toSQLLiteral(String value)
DataTypeNULL
is returned.toSQLLiteral in class DataTypevalue - A valuepublic String value(ResultSet resultSet, int column) throws SQLException
DataTypevalue in class DataTyperesultSet - Result of a SELECT querycolumn - The column index to retrieve; leftmost columns is 1null if SQL result was null or is not representable in the XSD typeSQLException