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

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

/*
 * Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
 */

package net.snowflake.client.jdbc;

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

/**
 * This interface defines Snowflake specific APIs for Statement
 */
public interface SnowflakeStatement
{
  /**
   * @return the Snowflake query ID of the latest executed query
   */
  String getQueryID() throws SQLException;

  /**
   * @return the Snowflake query IDs of the latest executed batch queries
   */
  List getBatchQueryIDs() throws SQLException;

  /**
   * Set statement level parameter
   *
   * @param name  parameter name
   * @param value parameter value
   */
  void setParameter(String name, Object value) throws SQLException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy