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, valueRegex
public UnsupportedDataType(int jdbcType, String name)
public boolean isUnsupported()
isUnsupported
in class DataType
public String rdfType()
DataType
null
indicates a known SQL type that cannot be mapped to RDF.public String toSQLLiteral(String value)
DataType
NULL
is returned.toSQLLiteral
in class DataType
value
- A valuepublic String value(ResultSet resultSet, int column) throws SQLException
DataType
value
in class DataType
resultSet
- 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