All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.snowflake.client.jdbc.SnowflakeResultSetMetaData Maven / Gradle / Ivy

There is a newer version: 3.20.0
Show newest version
package net.snowflake.client.jdbc;

import java.sql.SQLException;
import java.util.List;

public interface SnowflakeResultSetMetaData {
  String getQueryID() throws SQLException;

  List getColumnNames() throws SQLException;

  int getColumnIndex(String columnName) throws SQLException;

  int getInternalColumnType(int column) throws SQLException;

  List getColumnFields(int column) throws SQLException;

  /**
   * Get vector dimension
   *
   * @param column column index
   * @return vector dimension when the column is vector type or 0 when it is not vector type
   * @throws SQLException when cannot get column dimension
   */
  int getDimension(int column) throws SQLException;

  /**
   * Get vector dimension
   *
   * @param columnName column name
   * @return vector dimension when the column is vector type or 0 when it is not vector type
   * @throws SQLException when cannot get column dimension
   */
  int getDimension(String columnName) throws SQLException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy