public class SFResultSetMetaData extends Object
| Constructor and Description |
|---|
SFResultSetMetaData(int columnCount,
List<String> columnNames,
List<String> columnTypeNames,
List<Integer> columnTypes,
SFBaseSession session) |
SFResultSetMetaData(List<SnowflakeColumnMetadata> columnMetadata,
SFBaseSession session,
net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter,
net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter,
net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter,
net.snowflake.common.core.SnowflakeDateTimeFormat dateFormatter,
net.snowflake.common.core.SnowflakeDateTimeFormat timeFormatter) |
SFResultSetMetaData(List<SnowflakeColumnMetadata> columnMetadata,
String queryId,
SFBaseSession session,
boolean isResultColumnCaseInsensitive,
net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter,
net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter,
net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter,
net.snowflake.common.core.SnowflakeDateTimeFormat dateFormatter,
net.snowflake.common.core.SnowflakeDateTimeFormat timeFormatter) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCatalogName(int column) |
int |
getColumnCount()
Get number of columns
|
Integer |
getColumnDisplaySize(int column) |
int |
getColumnIndex(String columnName)
Get the index of the column by name
|
String |
getColumnLabel(int column) |
String |
getColumnName(int column) |
List<String> |
getColumnNames()
Get the list of column names
|
int |
getColumnType(int column) |
String |
getColumnTypeName(int column) |
int |
getInternalColumnType(int column) |
int |
getPrecision(int column) |
String |
getQueryId()
get the query id
|
int |
getScale(int column) |
String |
getSchemaName(int column) |
SFBaseSession |
getSession()
get the session
|
String |
getTableName(int column) |
int |
isNullable(int column) |
boolean |
isSigned(int column) |
public SFResultSetMetaData(int columnCount,
List<String> columnNames,
List<String> columnTypeNames,
List<Integer> columnTypes,
SFBaseSession session)
public SFResultSetMetaData(List<SnowflakeColumnMetadata> columnMetadata, SFBaseSession session, net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat dateFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timeFormatter)
public SFResultSetMetaData(List<SnowflakeColumnMetadata> columnMetadata, String queryId, SFBaseSession session, boolean isResultColumnCaseInsensitive, net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat dateFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timeFormatter)
public String getQueryId()
public SFBaseSession getSession()
public List<String> getColumnNames()
public int getColumnIndex(String columnName)
columnName - column namepublic int getColumnCount()
public int getColumnType(int column)
throws SFException
SFExceptionpublic int getInternalColumnType(int column)
throws SFException
SFExceptionpublic String getColumnTypeName(int column) throws SFException
SFExceptionpublic int getScale(int column)
public int getPrecision(int column)
public boolean isSigned(int column)
public String getColumnLabel(int column)
public String getColumnName(int column)
public int isNullable(int column)
public String getCatalogName(int column)
public String getSchemaName(int column)
public String getTableName(int column)
public Integer getColumnDisplaySize(int column)
Copyright © 2022. All rights reserved.