Package org.apache.iotdb.jdbc
Class IoTDBResultMetadata
- java.lang.Object
-
- org.apache.iotdb.jdbc.IoTDBResultMetadata
-
- All Implemented Interfaces:
java.sql.ResultSetMetaData,java.sql.Wrapper
public class IoTDBResultMetadata extends java.lang.Object implements java.sql.ResultSetMetaData
-
-
Constructor Summary
Constructors Constructor Description IoTDBResultMetadata(java.util.List<java.lang.String> columnInfoList, java.util.List<java.lang.String> columnTypeList, boolean ignoreTimestamp)Constructor of IoTDBResultMetadata.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCatalogName(int arg0)java.lang.StringgetColumnClassName(int column)intgetColumnCount()intgetColumnDisplaySize(int arg0)java.lang.StringgetColumnLabel(int column)java.lang.StringgetColumnName(int column)intgetColumnType(int column)java.lang.StringgetColumnTypeName(int column)intgetPrecision(int arg0)intgetScale(int arg0)java.lang.StringgetSchemaName(int arg0)java.lang.StringgetTableName(int arg0)booleanisAutoIncrement(int arg0)booleanisCaseSensitive(int arg0)booleanisCurrency(int arg0)booleanisDefinitelyWritable(int arg0)intisNullable(int arg0)booleanisReadOnly(int arg0)booleanisSearchable(int arg0)booleanisSigned(int arg0)booleanisWrapperFor(java.lang.Class<?> arg0)booleanisWritable(int arg0)<T> Tunwrap(java.lang.Class<T> arg0)
-
-
-
Method Detail
-
isWrapperFor
public boolean isWrapperFor(java.lang.Class<?> arg0) throws java.sql.SQLException- Specified by:
isWrapperForin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-
unwrap
public <T> T unwrap(java.lang.Class<T> arg0) throws java.sql.SQLException- Specified by:
unwrapin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-
getCatalogName
public java.lang.String getCatalogName(int arg0) throws java.sql.SQLException- Specified by:
getCatalogNamein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
getColumnClassName
public java.lang.String getColumnClassName(int column) throws java.sql.SQLException- Specified by:
getColumnClassNamein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCountin interfacejava.sql.ResultSetMetaData
-
getColumnDisplaySize
public int getColumnDisplaySize(int arg0) throws java.sql.SQLException- Specified by:
getColumnDisplaySizein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
getColumnLabel
public java.lang.String getColumnLabel(int column) throws java.sql.SQLException- Specified by:
getColumnLabelin interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
getColumnName
public java.lang.String getColumnName(int column) throws java.sql.SQLException- Specified by:
getColumnNamein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
getColumnType
public int getColumnType(int column) throws java.sql.SQLException- Specified by:
getColumnTypein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
getColumnTypeName
public java.lang.String getColumnTypeName(int column) throws java.sql.SQLException- Specified by:
getColumnTypeNamein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
getPrecision
public int getPrecision(int arg0) throws java.sql.SQLException- Specified by:
getPrecisionin interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
getScale
public int getScale(int arg0) throws java.sql.SQLException- Specified by:
getScalein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
getSchemaName
public java.lang.String getSchemaName(int arg0) throws java.sql.SQLException- Specified by:
getSchemaNamein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
getTableName
public java.lang.String getTableName(int arg0) throws java.sql.SQLException- Specified by:
getTableNamein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
isAutoIncrement
public boolean isAutoIncrement(int arg0) throws java.sql.SQLException- Specified by:
isAutoIncrementin interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
isCaseSensitive
public boolean isCaseSensitive(int arg0) throws java.sql.SQLException- Specified by:
isCaseSensitivein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
isCurrency
public boolean isCurrency(int arg0) throws java.sql.SQLException- Specified by:
isCurrencyin interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
isDefinitelyWritable
public boolean isDefinitelyWritable(int arg0) throws java.sql.SQLException- Specified by:
isDefinitelyWritablein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
isNullable
public int isNullable(int arg0) throws java.sql.SQLException- Specified by:
isNullablein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
isReadOnly
public boolean isReadOnly(int arg0) throws java.sql.SQLException- Specified by:
isReadOnlyin interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
isSearchable
public boolean isSearchable(int arg0) throws java.sql.SQLException- Specified by:
isSearchablein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
isSigned
public boolean isSigned(int arg0) throws java.sql.SQLException- Specified by:
isSignedin interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
isWritable
public boolean isWritable(int arg0) throws java.sql.SQLException- Specified by:
isWritablein interfacejava.sql.ResultSetMetaData- Throws:
java.sql.SQLException
-
-