Class AbstractResultsMetadata
java.lang.Object
org.apache.jena.jdbc.results.metadata.AbstractResultsMetadata
- All Implemented Interfaces:
ResultSetMetaData
,Wrapper
- Direct Known Subclasses:
JenaResultsMetadata
,MetaResultSetMetadata
Abstract implementation of JDBC result set metadata
-
Field Summary
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractResultsMetadata
(ResultSet results, ColumnInfo[] columns) Abstract implementation of result set metadata -
Method Summary
Modifier and TypeMethodDescriptiongetCatalogName
(int column) getColumnClassName
(int column) int
int
getColumnDisplaySize
(int column) Gets a columns display sizegetColumnLabel
(int column) getColumnName
(int column) int
getColumnType
(int column) getColumnTypeName
(int column) Gets a copy of the raw underlying column informationint
getPrecision
(int column) int
getScale
(int column) getSchemaName
(int column) getTableName
(int column) boolean
isAutoIncrement
(int column) boolean
isCaseSensitive
(int column) boolean
isCurrency
(int column) boolean
isDefinitelyWritable
(int column) int
isNullable
(int column) boolean
isReadOnly
(int column) boolean
isSearchable
(int column) boolean
isSigned
(int column) boolean
isWrapperFor
(Class<?> iface) boolean
isWritable
(int column) <T> T
-
Constructor Details
-
AbstractResultsMetadata
Abstract implementation of result set metadata- Parameters:
results
- Result Setcolumns
- Column information- Throws:
SQLException
- Thrown if metadata cannot be created
-
-
Method Details
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
unwrap
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
getCatalogName
- Specified by:
getCatalogName
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnClassName
- Specified by:
getColumnClassName
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCount
in interfaceResultSetMetaData
-
getColumnDisplaySize
Gets a columns display sizeSince RDF imposes no maximum on the size of a term this may be arbitrarily large hence
Integer.MAX_VALUE
is returned, users should not rely on this method to give them accurate information for UI usage.- Specified by:
getColumnDisplaySize
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnName
- Specified by:
getColumnName
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnLabel
- Specified by:
getColumnLabel
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnType
- Specified by:
getColumnType
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnTypeName
- Specified by:
getColumnTypeName
in interfaceResultSetMetaData
- Throws:
SQLException
-
getPrecision
- Specified by:
getPrecision
in interfaceResultSetMetaData
- Throws:
SQLException
-
getScale
- Specified by:
getScale
in interfaceResultSetMetaData
- Throws:
SQLException
-
getSchemaName
- Specified by:
getSchemaName
in interfaceResultSetMetaData
-
getTableName
- Specified by:
getTableName
in interfaceResultSetMetaData
-
isAutoIncrement
- Specified by:
isAutoIncrement
in interfaceResultSetMetaData
- Throws:
SQLException
-
isCaseSensitive
- Specified by:
isCaseSensitive
in interfaceResultSetMetaData
- Throws:
SQLException
-
isCurrency
- Specified by:
isCurrency
in interfaceResultSetMetaData
- Throws:
SQLException
-
isDefinitelyWritable
- Specified by:
isDefinitelyWritable
in interfaceResultSetMetaData
- Throws:
SQLException
-
isNullable
- Specified by:
isNullable
in interfaceResultSetMetaData
- Throws:
SQLException
-
isReadOnly
- Specified by:
isReadOnly
in interfaceResultSetMetaData
- Throws:
SQLException
-
isSearchable
- Specified by:
isSearchable
in interfaceResultSetMetaData
- Throws:
SQLException
-
isSigned
- Specified by:
isSigned
in interfaceResultSetMetaData
- Throws:
SQLException
-
isWritable
- Specified by:
isWritable
in interfaceResultSetMetaData
- Throws:
SQLException
-
getJenaColumnInfo
Gets a copy of the raw underlying column information- Returns:
- Column Information
-