Class NumericColumn
java.lang.Object
org.apache.jena.jdbc.results.metadata.columns.ColumnInfo
org.apache.jena.jdbc.results.metadata.columns.SparqlColumnInfo
org.apache.jena.jdbc.results.metadata.columns.NumericColumn
- Direct Known Subclasses:
ByteColumn
,DecimalColumn
,DoubleColumn
,FloatColumn
,IntegerColumn
,LongIntegerColumn
,ShortIntegerColumn
Abstract column information for numeric columns
-
Constructor Summary
ConstructorsConstructorDescriptionNumericColumn
(String label, int type, int nullable, Class<?> numericClass, int scale, int precision, boolean signed) Creates new numeric column information -
Method Summary
Methods inherited from class org.apache.jena.jdbc.results.metadata.columns.ColumnInfo
getClassName, getDisplaySize, getLabel, getNullability, getPrecision, getScale, getType, getTypeName, isAutoIncrement, isCaseSensitive, isCurrency, isReadOnly, isSearchable, isSigned, isWritable
-
Constructor Details
-
NumericColumn
public NumericColumn(String label, int type, int nullable, Class<?> numericClass, int scale, int precision, boolean signed) throws SQLException Creates new numeric column information- Parameters:
label
- Column Labeltype
- JDBC typenullable
- Whether the column is nullablenumericClass
- Numeric classscale
- Scaleprecision
- Precisionsigned
- Whether the column contains signed numbers- Throws:
SQLException
- Thrown if the column information cannot be created
-