Interface SnowflakePreparedStatement
-
public interface SnowflakePreparedStatement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResultSetexecuteAsyncQuery()Execute a query asynchronouslyStringgetQueryID()voidsetBigInteger(int parameterIndex, BigInteger x)Sets the designated parameter to the given BigInteger value.<T> voidsetMap(int parameterIndex, Map<String,T> map, int type)Sets the designated parameter to the given Map instance.
-
-
-
Method Detail
-
getQueryID
String getQueryID() throws SQLException
- Returns:
- the Snowflake query ID of the latest executed query
- Throws:
SQLException- if an error occurs
-
executeAsyncQuery
ResultSet executeAsyncQuery() throws SQLException
Execute a query asynchronously- Returns:
- ResultSet containing results
- Throws:
SQLException- if an error occurs
-
setBigInteger
void setBigInteger(int parameterIndex, BigInteger x) throws SQLExceptionSets the designated parameter to the given BigInteger value.- Parameters:
parameterIndex- the parameter indexx- the BigInteger value- Throws:
SQLException- if an error occurs
-
setMap
<T> void setMap(int parameterIndex, Map<String,T> map, int type) throws SQLExceptionSets the designated parameter to the given Map instance.- Type Parameters:
T- generic type- Parameters:
parameterIndex- the parameter indexmap- the map instancetype- the type- Throws:
SQLException- if an error occurs
-
-