Uses of Class
net.snowflake.client.core.SFException
-
Packages that use SFException Package Description net.snowflake.client.core net.snowflake.client.core.arrow net.snowflake.client.jdbc net.snowflake.client.jdbc.telemetryOOB -
-
Uses of SFException in net.snowflake.client.core
Fields in net.snowflake.client.core with type parameters of type SFException Modifier and Type Field Description protected List<SFException>
SFBaseSession. sqlWarnings
Methods in net.snowflake.client.core that return types with arguments of type SFException Modifier and Type Method Description List<SFException>
SFBaseSession. getSqlWarnings()
JDBC API.Methods in net.snowflake.client.core that throw SFException Modifier and Type Method Description boolean
SFBaseResultSet. absolute(int row)
void
SFBaseSession. addProperty(String propertyName, Object propertyValue)
Adds a connection property to the connection-properties map.void
SFBaseSession. addProperty(SFSessionProperty sfSessionProperty, Object propertyValue)
Wrapper function for the other addProperty(String, Object) method that takes an SFSessionProperty instead of a String key.void
SFBaseStatement. addProperty(String propertyName, Object propertyValue)
Add a statement parametervoid
SFSession. addSFSessionProperty(String propertyName, Object propertyValue)
Add a property If a property is known for connection, add it to connection properties If not, add it as a dynamic session parametersabstract SFBaseResultSet
SFBaseStatement. asyncExecute(String sql, Map<String,ParameterBindingDTO> parametersBinding, SFBaseStatement.CallingMethod caller, ExecTimeTelemetryData execTimeData)
Execute sql asynchronously.SFBaseResultSet
SFStatement. asyncExecute(String sql, Map<String,ParameterBindingDTO> parametersBinding, SFBaseStatement.CallingMethod caller, ExecTimeTelemetryData execTimeData)
static long
ResultUtil. calculateUpdateCount(SFBaseResultSet resultSet)
Calculate number of rows updated given a result set Interpret result format based on result set's statement typeabstract void
SFBaseSession. callHeartBeat(int timeout)
Makes a heartbeat call to check for session validity.void
SFSession. callHeartBeat(int timeout)
Makes a heartbeat call to check for session validity.abstract void
SFBaseStatement. cancel()
Aborts the statement.void
SFStatement. cancel()
static void
StmtUtil. cancel(net.snowflake.client.core.StmtUtil.StmtInput stmtInput)
Cancel a statement identifiable by a request idabstract void
SFBaseSession. close()
Close the connectionvoid
SFSession. close()
Close the connectionabstract SFPreparedStatementMetaData
SFBaseStatement. describe(String sql)
Describe a statement.SFPreparedStatementMetaData
SFStatement. describe(String sql)
Describe a statementabstract SFBaseResultSet
SFBaseStatement. execute(String sql, Map<String,ParameterBindingDTO> parametersBinding, SFBaseStatement.CallingMethod caller, ExecTimeTelemetryData execTimeData)
Executes the given SQL string.SFBaseResultSet
SFStatement. execute(String sql, boolean asyncExec, Map<String,ParameterBindingDTO> parametersBinding, SFBaseStatement.CallingMethod caller, ExecTimeTelemetryData execTimeData)
Execute sqlSFBaseResultSet
SFStatement. execute(String sql, Map<String,ParameterBindingDTO> parametersBinding, SFBaseStatement.CallingMethod caller, ExecTimeTelemetryData execTimeData)
static StmtUtil.StmtOutput
StmtUtil. execute(net.snowflake.client.core.StmtUtil.StmtInput stmtInput, ExecTimeTelemetryData execTimeData)
Execute a statementObject
SFStatement. executeHelper(String sql, String mediaType, Map<String,ParameterBindingDTO> bindValues, boolean describeOnly, boolean internal, boolean asyncExec, ExecTimeTelemetryData execTimeData)
A helper method to build URL and submit the SQL to snowflake for execstatic String
SessionUtil. generateJWTToken(PrivateKey privateKey, String privateKeyFile, String privateKeyFilePwd, String accountName, String userName)
Helper function to generate a JWT tokenBigDecimal
SFArrowResultSet. getBigDecimal(int columnIndex)
BigDecimal
SFArrowResultSet. getBigDecimal(int columnIndex, int scale)
abstract BigDecimal
SFBaseResultSet. getBigDecimal(int columnIndex)
abstract BigDecimal
SFBaseResultSet. getBigDecimal(int columnIndex, int scale)
BigDecimal
SFJsonResultSet. getBigDecimal(int columnIndex)
BigDecimal
SFJsonResultSet. getBigDecimal(int columnIndex, int scale)
boolean
SFArrowResultSet. getBoolean(int columnIndex)
abstract boolean
SFBaseResultSet. getBoolean(int columnIndex)
boolean
SFJsonResultSet. getBoolean(int columnIndex)
byte
SFArrowResultSet. getByte(int columnIndex)
abstract byte
SFBaseResultSet. getByte(int columnIndex)
byte
SFJsonResultSet. getByte(int columnIndex)
byte[]
SFArrowResultSet. getBytes(int columnIndex)
abstract byte[]
SFBaseResultSet. getBytes(int columnIndex)
byte[]
SFJsonResultSet. getBytes(int columnIndex)
static List<SFChildResult>
ResultUtil. getChildResults(SFBaseSession session, String requestId, com.fasterxml.jackson.databind.JsonNode result)
Return the list of child results provided in a result, if available; otherwise return an empty listint
SFResultSetMetaData. getColumnType(int column)
String
SFResultSetMetaData. getColumnTypeName(int column)
static Date
ResultUtil. getDate(String str, TimeZone tz, SFBaseSession session)
Deprecated.Date
SFArrowResultSet. getDate(int columnIndex, TimeZone tz)
abstract Date
SFBaseResultSet. getDate(int columnIndex, TimeZone tz)
Date
SFJsonResultSet. getDate(int columnIndex)
Date
SFJsonResultSet. getDate(int columnIndex, TimeZone tz)
double
SFArrowResultSet. getDouble(int columnIndex)
abstract double
SFBaseResultSet. getDouble(int columnIndex)
double
SFJsonResultSet. getDouble(int columnIndex)
float
SFArrowResultSet. getFloat(int columnIndex)
abstract float
SFBaseResultSet. getFloat(int columnIndex)
float
SFJsonResultSet. getFloat(int columnIndex)
int
SFArrowResultSet. getInt(int columnIndex)
abstract int
SFBaseResultSet. getInt(int columnIndex)
int
SFJsonResultSet. getInt(int columnIndex)
int
SFResultSetMetaData. getInternalColumnType(int column)
long
SFArrowResultSet. getLong(int columnIndex)
abstract long
SFBaseResultSet. getLong(int columnIndex)
long
SFJsonResultSet. getLong(int columnIndex)
Object
SFArrowResultSet. getObject(int columnIndex)
abstract Object
SFBaseResultSet. getObject(int columnIndex)
Object
SFJsonResultSet. getObject(int columnIndex)
protected Object
SFFixedViewResultSet. getObjectInternal(int columnIndex)
protected abstract Object
SFJsonResultSet. getObjectInternal(int columnIndex)
Given a column index, get current row's value as an objectprotected Object
SFResultSet. getObjectInternal(int columnIndex)
protected static String
StmtUtil. getQueryResult(com.fasterxml.jackson.databind.JsonNode inProgressResponse, String previousGetResultPath, net.snowflake.client.core.StmtUtil.StmtInput stmtInput)
Issue get-result call to get query result given an in-progress response.protected static String
StmtUtil. getQueryResult(String getResultPath, net.snowflake.client.core.StmtUtil.StmtInput stmtInput)
Issue get-result call to get query result given an in-progress response.protected static com.fasterxml.jackson.databind.JsonNode
StmtUtil. getQueryResultJSON(String queryId, SFSession session)
Issue get-result call to get query result given an in progress response.protected ServerSocket
SessionUtilExternalBrowser. getServerSocket()
Gets a free port on localhoststatic net.snowflake.common.core.SFTime
ResultUtil. getSFTime(String obj, int scale, SFBaseSession session)
Convert a time internal value (scaled number of seconds + fractional seconds) into an SFTime.static net.snowflake.common.core.SFTimestamp
ResultUtil. getSFTimestamp(String timestampStr, int scale, int internalColumnType, long resultVersion, TimeZone sessionTZ, SFBaseSession session)
Convert a timestamp internal value (scaled number of seconds + fractional seconds) into a SFTimestamp.static String
ResultUtil. getSFTimestampAsString(net.snowflake.common.core.SFTimestamp sfTS, int columnType, int scale, net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter, SFBaseSession session)
Convert a SFTimestamp to a string value.short
SFArrowResultSet. getShort(int columnIndex)
abstract short
SFBaseResultSet. getShort(int columnIndex)
short
SFJsonResultSet. getShort(int columnIndex)
String
SFArrowResultSet. getString(int columnIndex)
abstract String
SFBaseResultSet. getString(int columnIndex)
String
SFJsonResultSet. getString(int columnIndex)
Time
SFArrowResultSet. getTime(int columnIndex)
abstract Time
SFBaseResultSet. getTime(int columnIndex)
Time
SFJsonResultSet. getTime(int columnIndex)
Timestamp
SFArrowResultSet. getTimestamp(int columnIndex, TimeZone tz)
abstract Timestamp
SFBaseResultSet. getTimestamp(int columnIndex, TimeZone tz)
Timestamp
SFJsonResultSet. getTimestamp(int columnIndex, TimeZone tz)
protected void
SFSession. heartbeat()
Send heartbeat for the sessionboolean
SFArrowResultSet. next()
Advance to next rowboolean
SFBaseResultSet. next()
boolean
SFFixedViewResultSet. next()
Advance to next rowboolean
SFResultSet. next()
Advance to next rowvoid
SFSession. open()
Open a new database sessionvoid
SessionUtilExternalBrowser.AuthExternalBrowserHandlers. openBrowser(String ssoUrl)
boolean
SFBaseResultSet. previous()
boolean
SFBaseResultSet. relative(int rows)
-
Uses of SFException in net.snowflake.client.core.arrow
Methods in net.snowflake.client.core.arrow that throw SFException Modifier and Type Method Description protected byte
TinyIntToFixedConverter. getByte(int index)
static Date
ArrowResultUtil. getDate(int day, TimeZone oldTz, TimeZone newTz)
Method to get Date from integer using timezone offsetsprotected int
IntToFixedConverter. getInt(int index)
protected short
SmallIntToFixedConverter. getShort(int index)
org.apache.arrow.vector.IntVector
ArrowResultChunkIndexSorter. sort()
This method is only used when sf-property sort is onBigDecimal
ArrowVectorConverter. toBigDecimal(int index)
Convert value in arrow vector to BigDecimalBigDecimal
BitToBooleanConverter. toBigDecimal(int rowIndex)
BigDecimal
DoubleToRealConverter. toBigDecimal(int rowIndex)
BigDecimal
IntToFixedConverter. toBigDecimal(int index)
BigDecimal
SmallIntToFixedConverter. toBigDecimal(int index)
BigDecimal
TinyIntToFixedConverter. toBigDecimal(int index)
BigDecimal
VarCharConverter. toBigDecimal(int index)
boolean
ArrowVectorConverter. toBoolean(int index)
Convert value in arrow vector to boolean databoolean
BigIntToFixedConverter. toBoolean(int index)
boolean
BigIntToScaledFixedConverter. toBoolean(int index)
boolean
BigIntToTimeConverter. toBoolean(int index)
boolean
BigIntToTimestampLTZConverter. toBoolean(int index)
boolean
BigIntToTimestampNTZConverter. toBoolean(int index)
boolean
DateConverter. toBoolean(int index)
boolean
DecimalToScaledFixedConverter. toBoolean(int index)
boolean
DoubleToRealConverter. toBoolean(int index)
boolean
IntToFixedConverter. toBoolean(int index)
boolean
IntToScaledFixedConverter. toBoolean(int index)
boolean
IntToTimeConverter. toBoolean(int index)
boolean
SmallIntToFixedConverter. toBoolean(int index)
boolean
SmallIntToScaledFixedConverter. toBoolean(int index)
boolean
ThreeFieldStructToTimestampTZConverter. toBoolean(int index)
boolean
TinyIntToFixedConverter. toBoolean(int index)
boolean
TinyIntToScaledFixedConverter. toBoolean(int index)
boolean
TwoFieldStructToTimestampLTZConverter. toBoolean(int index)
boolean
TwoFieldStructToTimestampNTZConverter. toBoolean(int index)
boolean
TwoFieldStructToTimestampTZConverter. toBoolean(int index)
boolean
VarBinaryToBinaryConverter. toBoolean(int index)
boolean
VarCharConverter. toBoolean(int index)
byte
ArrowVectorConverter. toByte(int index)
Convert value in arrow vector to byte databyte
BigIntToFixedConverter. toByte(int index)
byte
DecimalToScaledFixedConverter. toByte(int index)
byte
IntToFixedConverter. toByte(int index)
byte
SmallIntToFixedConverter. toByte(int index)
byte
TinyIntToFixedConverter. toByte(int index)
byte[]
ArrowVectorConverter. toBytes(int index)
Convert value in arrow vector to byte arraybyte[]
IntToFixedConverter. toBytes(int index)
byte[]
IntToTimeConverter. toBytes(int index)
byte[]
SmallIntToFixedConverter. toBytes(int index)
byte[]
ThreeFieldStructToTimestampTZConverter. toBytes(int index)
byte[]
TinyIntToFixedConverter. toBytes(int index)
byte[]
TwoFieldStructToTimestampLTZConverter. toBytes(int index)
byte[]
TwoFieldStructToTimestampNTZConverter. toBytes(int index)
byte[]
TwoFieldStructToTimestampTZConverter. toBytes(int index)
Date
ArrowVectorConverter. toDate(int index, TimeZone jvmTz, boolean useDateFormat)
Convert value in arrow vector to DateDate
BigIntToTimestampLTZConverter. toDate(int index, TimeZone tz, boolean useDateFormat)
Date
BigIntToTimestampNTZConverter. toDate(int index, TimeZone tz, boolean dateFormat)
Date
DateConverter. toDate(int index, TimeZone jvmTz, boolean useDateFormat)
Date
ThreeFieldStructToTimestampTZConverter. toDate(int index, TimeZone tz, boolean dateFormat)
Date
TwoFieldStructToTimestampLTZConverter. toDate(int index, TimeZone tz, boolean dateFormat)
Date
TwoFieldStructToTimestampNTZConverter. toDate(int index, TimeZone tz, boolean dateFormat)
Date
TwoFieldStructToTimestampTZConverter. toDate(int index, TimeZone tz, boolean dateFormat)
double
ArrowVectorConverter. toDouble(int index)
Convert value in arrow vector to double datadouble
BigIntToFixedConverter. toDouble(int index)
double
BigIntToScaledFixedConverter. toDouble(int index)
double
BitToBooleanConverter. toDouble(int rowIndex)
double
DecimalToScaledFixedConverter. toDouble(int index)
double
IntToFixedConverter. toDouble(int index)
double
IntToScaledFixedConverter. toDouble(int index)
double
SmallIntToFixedConverter. toDouble(int index)
double
TinyIntToFixedConverter. toDouble(int index)
double
VarCharConverter. toDouble(int index)
float
ArrowVectorConverter. toFloat(int index)
Convert value in arrow vector to float datafloat
BigIntToFixedConverter. toFloat(int index)
float
BigIntToScaledFixedConverter. toFloat(int index)
float
BitToBooleanConverter. toFloat(int rowIndex)
float
DecimalToScaledFixedConverter. toFloat(int index)
float
IntToFixedConverter. toFloat(int index)
float
IntToScaledFixedConverter. toFloat(int index)
float
SmallIntToFixedConverter. toFloat(int index)
float
SmallIntToScaledFixedConverter. toFloat(int index)
float
TinyIntToFixedConverter. toFloat(int index)
float
TinyIntToScaledFixedConverter. toFloat(int index)
float
VarCharConverter. toFloat(int index)
int
ArrowVectorConverter. toInt(int index)
Convert value in arrow vector to int dataint
BigIntToFixedConverter. toInt(int index)
int
BigIntToScaledFixedConverter. toInt(int index)
int
BitToBooleanConverter. toInt(int rowIndex)
int
DecimalToScaledFixedConverter. toInt(int index)
int
DoubleToRealConverter. toInt(int rowIndex)
int
IntToFixedConverter. toInt(int index)
int
IntToScaledFixedConverter. toInt(int index)
int
SmallIntToFixedConverter. toInt(int index)
int
SmallIntToScaledFixedConverter. toInt(int index)
int
TinyIntToFixedConverter. toInt(int index)
int
TinyIntToScaledFixedConverter. toInt(int index)
int
VarCharConverter. toInt(int index)
long
ArrowVectorConverter. toLong(int index)
Convert value in arrow vector to long datalong
BigIntToFixedConverter. toLong(int index)
long
BigIntToScaledFixedConverter. toLong(int index)
long
BitToBooleanConverter. toLong(int rowIndex)
long
DecimalToScaledFixedConverter. toLong(int index)
long
DoubleToRealConverter. toLong(int rowIndex)
long
IntToFixedConverter. toLong(int index)
long
IntToScaledFixedConverter. toLong(int index)
long
SmallIntToFixedConverter. toLong(int index)
long
SmallIntToScaledFixedConverter. toLong(int index)
long
TinyIntToFixedConverter. toLong(int index)
long
TinyIntToScaledFixedConverter. toLong(int index)
long
VarCharConverter. toLong(int index)
Object
ArrowVectorConverter. toObject(int index)
Convert value in arrow vector to ObjectObject
BigIntToFixedConverter. toObject(int index)
Object
BigIntToTimeConverter. toObject(int index)
Object
BigIntToTimestampLTZConverter. toObject(int index)
Object
BigIntToTimestampNTZConverter. toObject(int index)
Object
DateConverter. toObject(int index)
Object
DecimalToScaledFixedConverter. toObject(int index)
Object
IntToFixedConverter. toObject(int index)
Object
IntToScaledFixedConverter. toObject(int index)
Object
IntToTimeConverter. toObject(int index)
Object
SmallIntToFixedConverter. toObject(int index)
Object
SmallIntToScaledFixedConverter. toObject(int index)
Object
ThreeFieldStructToTimestampTZConverter. toObject(int index)
Object
TinyIntToFixedConverter. toObject(int index)
Object
TinyIntToScaledFixedConverter. toObject(int index)
Object
TwoFieldStructToTimestampLTZConverter. toObject(int index)
Object
TwoFieldStructToTimestampNTZConverter. toObject(int index)
Object
TwoFieldStructToTimestampTZConverter. toObject(int index)
short
ArrowVectorConverter. toShort(int index)
Convert value in arrow vector to short datashort
BigIntToFixedConverter. toShort(int index)
short
BigIntToScaledFixedConverter. toShort(int index)
short
BitToBooleanConverter. toShort(int rowIndex)
short
DateConverter. toShort(int index)
short
DecimalToScaledFixedConverter. toShort(int index)
short
DoubleToRealConverter. toShort(int rowIndex)
short
IntToFixedConverter. toShort(int index)
short
IntToScaledFixedConverter. toShort(int index)
short
SmallIntToFixedConverter. toShort(int index)
short
SmallIntToScaledFixedConverter. toShort(int index)
short
ThreeFieldStructToTimestampTZConverter. toShort(int rowIndex)
short
TinyIntToFixedConverter. toShort(int index)
short
TinyIntToScaledFixedConverter. toShort(int index)
short
TwoFieldStructToTimestampTZConverter. toShort(int rowIndex)
short
VarCharConverter. toShort(int index)
String
ArrowVectorConverter. toString(int index)
Convert value in arrow vector to stringString
BigIntToTimeConverter. toString(int index)
String
BigIntToTimestampLTZConverter. toString(int index)
String
BigIntToTimestampNTZConverter. toString(int index)
String
DateConverter. toString(int index)
String
IntToFixedConverter. toString(int index)
String
IntToScaledFixedConverter. toString(int index)
String
IntToTimeConverter. toString(int index)
String
SmallIntToFixedConverter. toString(int index)
String
SmallIntToScaledFixedConverter. toString(int index)
String
ThreeFieldStructToTimestampTZConverter. toString(int index)
String
TinyIntToFixedConverter. toString(int index)
String
TinyIntToScaledFixedConverter. toString(int index)
String
TwoFieldStructToTimestampLTZConverter. toString(int index)
String
TwoFieldStructToTimestampNTZConverter. toString(int index)
String
TwoFieldStructToTimestampTZConverter. toString(int index)
Time
ArrowVectorConverter. toTime(int index)
Convert value in arrow vector to TimeTime
BigIntToTimeConverter. toTime(int index)
Time
BigIntToTimestampLTZConverter. toTime(int index)
Time
BigIntToTimestampNTZConverter. toTime(int index)
Time
IntToTimeConverter. toTime(int index)
Time
ThreeFieldStructToTimestampTZConverter. toTime(int index)
Time
TwoFieldStructToTimestampLTZConverter. toTime(int index)
Time
TwoFieldStructToTimestampNTZConverter. toTime(int index)
Time
TwoFieldStructToTimestampTZConverter. toTime(int index)
Timestamp
ArrowVectorConverter. toTimestamp(int index, TimeZone tz)
Convert value in arrow vector to TimestampTimestamp
BigIntToTimeConverter. toTimestamp(int index, TimeZone tz)
Timestamp
BigIntToTimestampLTZConverter. toTimestamp(int index, TimeZone tz)
Timestamp
BigIntToTimestampNTZConverter. toTimestamp(int index, TimeZone tz)
Timestamp
DateConverter. toTimestamp(int index, TimeZone tz)
Timestamp
IntToTimeConverter. toTimestamp(int index, TimeZone tz)
Timestamp
ThreeFieldStructToTimestampTZConverter. toTimestamp(int index, TimeZone tz)
Timestamp
TwoFieldStructToTimestampLTZConverter. toTimestamp(int index, TimeZone tz)
Timestamp
TwoFieldStructToTimestampNTZConverter. toTimestamp(int index, TimeZone tz)
Timestamp
TwoFieldStructToTimestampTZConverter. toTimestamp(int index, TimeZone tz)
-
Uses of SFException in net.snowflake.client.jdbc
Methods in net.snowflake.client.jdbc that throw SFException Modifier and Type Method Description ArrowVectorConverter
ArrowResultChunk.ArrowChunkIterator. getCurrentConverter(int columnIdx)
Constructors in net.snowflake.client.jdbc with parameters of type SFException Constructor Description SnowflakeSQLException(SFException e)
SnowflakeSQLLoggedException(SFBaseSession session, SFException e)
-
Uses of SFException in net.snowflake.client.jdbc.telemetryOOB
Methods in net.snowflake.client.jdbc.telemetryOOB with parameters of type SFException Modifier and Type Method Description TelemetryEvent.LogBuilder
TelemetryEvent.LogBuilder. withException(SFException ex)
-