Package org.neo4j.jdbc
Class Neo4jResultSetMetaData
- java.lang.Object
-
- org.neo4j.jdbc.Neo4jResultSetMetaData
-
- All Implemented Interfaces:
ResultSetMetaData,Wrapper
- Direct Known Subclasses:
ListNeo4jResultSetMetaData
public abstract class Neo4jResultSetMetaData extends Object implements ResultSetMetaData
- Since:
- 3.0.0
- Author:
- AgileLARUS
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>keysList of column of the ResultSet-
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNeo4jResultSetMetaData(List<String> keys)Default constructor with the list of column.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCatalogName(int column)StringgetColumnClassName(int column)By default, every field are string ...intgetColumnCount()intgetColumnDisplaySize(int column)StringgetColumnLabel(int column)StringgetColumnName(int column)intgetColumnType(int column)By default, every field are string ...StringgetColumnTypeName(int column)By default, every field are string ...intgetPrecision(int column)intgetScale(int column)StringgetSchemaName(int column)PLANNED FOR REL 3.1StringgetTableName(int column)PLANNED FOR REL 3.1booleanisAutoIncrement(int column)booleanisCaseSensitive(int column)booleanisCurrency(int column)booleanisDefinitelyWritable(int column)intisNullable(int column)booleanisReadOnly(int column)booleanisSearchable(int column)booleanisSigned(int column)booleanisWrapperFor(Class<?> iface)booleanisWritable(int column)<T> Tunwrap(Class<T> iface)
-
-
-
Method Detail
-
getColumnCount
public int getColumnCount() throws SQLException- Specified by:
getColumnCountin interfaceResultSetMetaData- Throws:
SQLException
-
getColumnLabel
public String getColumnLabel(int column) throws SQLException
- Specified by:
getColumnLabelin interfaceResultSetMetaData- Throws:
SQLException
-
getColumnName
public String getColumnName(int column) throws SQLException
- Specified by:
getColumnNamein interfaceResultSetMetaData- Throws:
SQLException
-
getCatalogName
public String getCatalogName(int column) throws SQLException
- Specified by:
getCatalogNamein interfaceResultSetMetaData- Throws:
SQLException
-
getColumnDisplaySize
public int getColumnDisplaySize(int column) throws SQLException- Specified by:
getColumnDisplaySizein interfaceResultSetMetaData- Throws:
SQLException
-
isAutoIncrement
public boolean isAutoIncrement(int column) throws SQLException- Specified by:
isAutoIncrementin interfaceResultSetMetaData- Throws:
SQLException
-
isSearchable
public boolean isSearchable(int column) throws SQLException- Specified by:
isSearchablein interfaceResultSetMetaData- Throws:
SQLException
-
isCurrency
public boolean isCurrency(int column) throws SQLException- Specified by:
isCurrencyin interfaceResultSetMetaData- Throws:
SQLException
-
isNullable
public int isNullable(int column) throws SQLException- Specified by:
isNullablein interfaceResultSetMetaData- Throws:
SQLException
-
isSigned
public boolean isSigned(int column) throws SQLException- Specified by:
isSignedin interfaceResultSetMetaData- Throws:
SQLException
-
getPrecision
public int getPrecision(int column) throws SQLException- Specified by:
getPrecisionin interfaceResultSetMetaData- Throws:
SQLException
-
getScale
public int getScale(int column) throws SQLException- Specified by:
getScalein interfaceResultSetMetaData- Throws:
SQLException
-
unwrap
public <T> T unwrap(Class<T> iface) throws SQLException
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
isWrapperFor
public boolean isWrapperFor(Class<?> iface) throws SQLException
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-
getColumnType
public int getColumnType(int column) throws SQLExceptionBy default, every field are string ...- Specified by:
getColumnTypein interfaceResultSetMetaData- Throws:
SQLException
-
getColumnTypeName
public String getColumnTypeName(int column) throws SQLException
By default, every field are string ...- Specified by:
getColumnTypeNamein interfaceResultSetMetaData- Throws:
SQLException
-
getColumnClassName
public String getColumnClassName(int column) throws SQLException
By default, every field are string ...- Specified by:
getColumnClassNamein interfaceResultSetMetaData- Throws:
SQLException
-
getTableName
public String getTableName(int column) throws SQLException
PLANNED FOR REL 3.1- Specified by:
getTableNamein interfaceResultSetMetaData- Throws:
SQLException
-
getSchemaName
public String getSchemaName(int column) throws SQLException
PLANNED FOR REL 3.1- Specified by:
getSchemaNamein interfaceResultSetMetaData- Throws:
SQLException
-
isCaseSensitive
public boolean isCaseSensitive(int column) throws SQLException- Specified by:
isCaseSensitivein interfaceResultSetMetaData- Throws:
SQLException
-
isReadOnly
public boolean isReadOnly(int column) throws SQLException- Specified by:
isReadOnlyin interfaceResultSetMetaData- Throws:
SQLException
-
isWritable
public boolean isWritable(int column) throws SQLException- Specified by:
isWritablein interfaceResultSetMetaData- Throws:
SQLException
-
isDefinitelyWritable
public boolean isDefinitelyWritable(int column) throws SQLException- Specified by:
isDefinitelyWritablein interfaceResultSetMetaData- Throws:
SQLException
-
-