org.apache.lens.client.jdbc
Class LensJdbcResultSetMetadata
java.lang.Object
org.apache.lens.client.jdbc.LensJdbcResultSetMetadata
- All Implemented Interfaces:
- ResultSetMetaData, Wrapper
public class LensJdbcResultSetMetadata
- extends Object
- implements ResultSetMetaData
The Class LensJdbcResultSetMetadata.
LensJdbcResultSetMetadata
public LensJdbcResultSetMetadata(QueryResultSetMetadata metadata)
- Instantiates a new lens jdbc result set metadata.
- Parameters:
metadata
- the metadata
getColumnCount
public int getColumnCount()
throws SQLException
- Specified by:
getColumnCount
in interface ResultSetMetaData
- Throws:
SQLException
isAutoIncrement
public boolean isAutoIncrement(int index)
throws SQLException
- Specified by:
isAutoIncrement
in interface ResultSetMetaData
- Throws:
SQLException
isCaseSensitive
public boolean isCaseSensitive(int index)
throws SQLException
- Specified by:
isCaseSensitive
in interface ResultSetMetaData
- Throws:
SQLException
isSearchable
public boolean isSearchable(int i)
throws SQLException
- Specified by:
isSearchable
in interface ResultSetMetaData
- Throws:
SQLException
isCurrency
public boolean isCurrency(int i)
throws SQLException
- Specified by:
isCurrency
in interface ResultSetMetaData
- Throws:
SQLException
isNullable
public int isNullable(int i)
throws SQLException
- Specified by:
isNullable
in interface ResultSetMetaData
- Throws:
SQLException
isSigned
public boolean isSigned(int i)
throws SQLException
- Specified by:
isSigned
in interface ResultSetMetaData
- Throws:
SQLException
getColumnDisplaySize
public int getColumnDisplaySize(int i)
throws SQLException
- Specified by:
getColumnDisplaySize
in interface ResultSetMetaData
- Throws:
SQLException
getColumnLabel
public String getColumnLabel(int i)
throws SQLException
- Specified by:
getColumnLabel
in interface ResultSetMetaData
- Throws:
SQLException
getColumnName
public String getColumnName(int i)
throws SQLException
- Specified by:
getColumnName
in interface ResultSetMetaData
- Throws:
SQLException
getSchemaName
public String getSchemaName(int i)
throws SQLException
- Specified by:
getSchemaName
in interface ResultSetMetaData
- Throws:
SQLException
getPrecision
public int getPrecision(int i)
throws SQLException
- Specified by:
getPrecision
in interface ResultSetMetaData
- Throws:
SQLException
getScale
public int getScale(int i)
throws SQLException
- Specified by:
getScale
in interface ResultSetMetaData
- Throws:
SQLException
getTableName
public String getTableName(int i)
throws SQLException
- Specified by:
getTableName
in interface ResultSetMetaData
- Throws:
SQLException
getCatalogName
public String getCatalogName(int i)
throws SQLException
- Specified by:
getCatalogName
in interface ResultSetMetaData
- Throws:
SQLException
getColumnType
public int getColumnType(int index)
throws SQLException
- Specified by:
getColumnType
in interface ResultSetMetaData
- Throws:
SQLException
getColumnTypeName
public String getColumnTypeName(int index)
throws SQLException
- Specified by:
getColumnTypeName
in interface ResultSetMetaData
- Throws:
SQLException
isReadOnly
public boolean isReadOnly(int i)
throws SQLException
- Specified by:
isReadOnly
in interface ResultSetMetaData
- Throws:
SQLException
isWritable
public boolean isWritable(int i)
throws SQLException
- Specified by:
isWritable
in interface ResultSetMetaData
- Throws:
SQLException
isDefinitelyWritable
public boolean isDefinitelyWritable(int i)
throws SQLException
- Specified by:
isDefinitelyWritable
in interface ResultSetMetaData
- Throws:
SQLException
getColumnClassName
public String getColumnClassName(int i)
throws SQLException
- Specified by:
getColumnClassName
in interface ResultSetMetaData
- Throws:
SQLException
unwrap
public <T> T unwrap(Class<T> tClass)
throws SQLException
- Specified by:
unwrap
in interface Wrapper
- Throws:
SQLException
isWrapperFor
public boolean isWrapperFor(Class<?> aClass)
throws SQLException
- Specified by:
isWrapperFor
in interface Wrapper
- Throws:
SQLException
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.