public class SQLApproximateNumeric extends DataType
DataType.GenericType| Constructor and Description |
|---|
SQLApproximateNumeric(Vendor syntax,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIRISafe() |
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 |
value(ResultSet resultSet,
int column)
Retrieves a string value in preferred format (canonical form
of the closest XSD type) from a SQL ResultSet.
|
isUnsupported, name, supportsDistinct, syntax, toString, valueRegexpublic String rdfType()
DataTypenull
indicates a known SQL type that cannot be mapped to RDF.public 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 typeSQLExceptionpublic String toSQLLiteral(String value)
DataTypeNULL
is returned.toSQLLiteral in class DataTypevalue - A value