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.core.json 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. sqlWarningsMethods 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 booleanSFBaseResultSet. absolute(int row)voidSFBaseSession. addProperty(String propertyName, Object propertyValue)Adds a connection property to the connection-properties map.voidSFBaseSession. addProperty(SFSessionProperty sfSessionProperty, Object propertyValue)Wrapper function for the other addProperty(String, Object) method that takes an SFSessionProperty instead of a String key.voidSFBaseStatement. addProperty(String propertyName, Object propertyValue)Add a statement parametervoidSFSession. 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 SFBaseResultSetSFBaseStatement. asyncExecute(String sql, Map<String,ParameterBindingDTO> parametersBinding, SFBaseStatement.CallingMethod caller, ExecTimeTelemetryData execTimeData)Execute sql asynchronously.SFBaseResultSetSFStatement. asyncExecute(String sql, Map<String,ParameterBindingDTO> parametersBinding, SFBaseStatement.CallingMethod caller, ExecTimeTelemetryData execTimeData)static longResultUtil. calculateUpdateCount(SFBaseResultSet resultSet)Calculate number of rows updated given a result set Interpret result format based on result set's statement typeabstract voidSFBaseSession. callHeartBeat(int timeout)Makes a heartbeat call to check for session validity.voidSFSession. callHeartBeat(int timeout)Makes a heartbeat call to check for session validity.abstract voidSFBaseStatement. cancel()Aborts the statement.voidSFStatement. cancel()static voidStmtUtil. cancel(net.snowflake.client.core.StmtUtil.StmtInput stmtInput)Cancel a statement identifiable by a request idabstract voidSFBaseSession. close()Close the connectionvoidSFSession. close()Close the connectionabstract SFPreparedStatementMetaDataSFBaseStatement. describe(String sql)Describe a statement.SFPreparedStatementMetaDataSFStatement. describe(String sql)Describe a statementabstract SFBaseResultSetSFBaseStatement. execute(String sql, Map<String,ParameterBindingDTO> parametersBinding, SFBaseStatement.CallingMethod caller, ExecTimeTelemetryData execTimeData)Executes the given SQL string.SFBaseResultSetSFStatement. execute(String sql, boolean asyncExec, Map<String,ParameterBindingDTO> parametersBinding, SFBaseStatement.CallingMethod caller, ExecTimeTelemetryData execTimeData)Execute sqlSFBaseResultSetSFStatement. execute(String sql, Map<String,ParameterBindingDTO> parametersBinding, SFBaseStatement.CallingMethod caller, ExecTimeTelemetryData execTimeData)static StmtUtil.StmtOutputStmtUtil. execute(net.snowflake.client.core.StmtUtil.StmtInput stmtInput, ExecTimeTelemetryData execTimeData)Execute a statementObjectSFStatement. 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 StringSessionUtil. generateJWTToken(PrivateKey privateKey, String privateKeyFile, String privateKeyFilePwd, String accountName, String userName)Helper function to generate a JWT tokenBigDecimalSFArrowResultSet. getBigDecimal(int columnIndex)BigDecimalSFArrowResultSet. getBigDecimal(int columnIndex, int scale)abstract BigDecimalSFBaseResultSet. getBigDecimal(int columnIndex)abstract BigDecimalSFBaseResultSet. getBigDecimal(int columnIndex, int scale)BigDecimalSFJsonResultSet. getBigDecimal(int columnIndex)BigDecimalSFJsonResultSet. getBigDecimal(int columnIndex, int scale)booleanSFArrowResultSet. getBoolean(int columnIndex)abstract booleanSFBaseResultSet. getBoolean(int columnIndex)booleanSFJsonResultSet. getBoolean(int columnIndex)byteSFArrowResultSet. getByte(int columnIndex)abstract byteSFBaseResultSet. getByte(int columnIndex)byteSFJsonResultSet. 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 listintSFResultSetMetaData. getColumnType(int column)StringSFResultSetMetaData. getColumnTypeName(int column)static DateResultUtil. getDate(String str, TimeZone tz, SFBaseSession session)Deprecated.DateSFArrowResultSet. getDate(int columnIndex, TimeZone tz)abstract DateSFBaseResultSet. getDate(int columnIndex, TimeZone tz)DateSFJsonResultSet. getDate(int columnIndex)DateSFJsonResultSet. getDate(int columnIndex, TimeZone tz)doubleSFArrowResultSet. getDouble(int columnIndex)abstract doubleSFBaseResultSet. getDouble(int columnIndex)doubleSFJsonResultSet. getDouble(int columnIndex)floatSFArrowResultSet. getFloat(int columnIndex)abstract floatSFBaseResultSet. getFloat(int columnIndex)floatSFJsonResultSet. getFloat(int columnIndex)intSFArrowResultSet. getInt(int columnIndex)abstract intSFBaseResultSet. getInt(int columnIndex)intSFJsonResultSet. getInt(int columnIndex)intSFResultSetMetaData. getInternalColumnType(int column)longSFArrowResultSet. getLong(int columnIndex)abstract longSFBaseResultSet. getLong(int columnIndex)longSFJsonResultSet. getLong(int columnIndex)ObjectSFArrowResultSet. getObject(int columnIndex)abstract ObjectSFBaseResultSet. getObject(int columnIndex)ObjectSFJsonResultSet. getObject(int columnIndex)protected ObjectSFFixedViewResultSet. getObjectInternal(int columnIndex)protected abstract ObjectSFJsonResultSet. getObjectInternal(int columnIndex)Given a column index, get current row's value as an objectprotected ObjectSFResultSet. getObjectInternal(int columnIndex)protected static StringStmtUtil. 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 StringStmtUtil. 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.JsonNodeStmtUtil. getQueryResultJSON(String queryId, SFSession session)Issue get-result call to get query result given an in progress response.protected ServerSocketSessionUtilExternalBrowser. getServerSocket()Gets a free port on localhoststatic net.snowflake.common.core.SFTimeResultUtil. 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.SFTimestampResultUtil. 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 StringResultUtil. 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.shortSFArrowResultSet. getShort(int columnIndex)abstract shortSFBaseResultSet. getShort(int columnIndex)shortSFJsonResultSet. getShort(int columnIndex)StringSFArrowResultSet. getString(int columnIndex)abstract StringSFBaseResultSet. getString(int columnIndex)StringSFJsonResultSet. getString(int columnIndex)TimeSFArrowResultSet. getTime(int columnIndex)abstract TimeSFBaseResultSet. getTime(int columnIndex)TimeSFJsonResultSet. getTime(int columnIndex)TimestampSFArrowResultSet. getTimestamp(int columnIndex, TimeZone tz)abstract TimestampSFBaseResultSet. getTimestamp(int columnIndex, TimeZone tz)TimestampSFJsonResultSet. getTimestamp(int columnIndex, TimeZone tz)protected voidSFSession. heartbeat()Send heartbeat for the sessionbooleanSFArrowResultSet. next()Advance to next rowbooleanSFBaseResultSet. next()booleanSFFixedViewResultSet. next()Advance to next rowbooleanSFResultSet. next()Advance to next rowvoidSFSession. open()Open a new database sessionvoidSessionUtilExternalBrowser.AuthExternalBrowserHandlers. openBrowser(String ssoUrl)booleanSFBaseResultSet. previous()booleanSFBaseResultSet. 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 byteTinyIntToFixedConverter. getByte(int index)static DateArrowResultUtil. getDate(int day, TimeZone oldTz, TimeZone newTz)Method to get Date from integer using timezone offsetsprotected intIntToFixedConverter. getInt(int index)protected shortSmallIntToFixedConverter. getShort(int index)org.apache.arrow.vector.IntVectorArrowResultChunkIndexSorter. sort()This method is only used when sf-property sort is onBigDecimalArrowVectorConverter. toBigDecimal(int index)Convert value in arrow vector to BigDecimalBigDecimalBitToBooleanConverter. toBigDecimal(int rowIndex)BigDecimalDoubleToRealConverter. toBigDecimal(int rowIndex)BigDecimalIntToFixedConverter. toBigDecimal(int index)BigDecimalSmallIntToFixedConverter. toBigDecimal(int index)BigDecimalTinyIntToFixedConverter. toBigDecimal(int index)BigDecimalVarCharConverter. toBigDecimal(int index)booleanArrowVectorConverter. toBoolean(int index)Convert value in arrow vector to boolean databooleanBigIntToFixedConverter. toBoolean(int index)booleanBigIntToScaledFixedConverter. toBoolean(int index)booleanBigIntToTimeConverter. toBoolean(int index)booleanBigIntToTimestampLTZConverter. toBoolean(int index)booleanBigIntToTimestampNTZConverter. toBoolean(int index)booleanDateConverter. toBoolean(int index)booleanDecimalToScaledFixedConverter. toBoolean(int index)booleanDoubleToRealConverter. toBoolean(int index)booleanIntToFixedConverter. toBoolean(int index)booleanIntToScaledFixedConverter. toBoolean(int index)booleanIntToTimeConverter. toBoolean(int index)booleanSmallIntToFixedConverter. toBoolean(int index)booleanSmallIntToScaledFixedConverter. toBoolean(int index)booleanThreeFieldStructToTimestampTZConverter. toBoolean(int index)booleanTinyIntToFixedConverter. toBoolean(int index)booleanTinyIntToScaledFixedConverter. toBoolean(int index)booleanTwoFieldStructToTimestampLTZConverter. toBoolean(int index)booleanTwoFieldStructToTimestampNTZConverter. toBoolean(int index)booleanTwoFieldStructToTimestampTZConverter. toBoolean(int index)booleanVarBinaryToBinaryConverter. toBoolean(int index)booleanVarCharConverter. toBoolean(int index)byteArrowVectorConverter. toByte(int index)Convert value in arrow vector to byte databyteBigIntToFixedConverter. toByte(int index)byteDecimalToScaledFixedConverter. toByte(int index)byteIntToFixedConverter. toByte(int index)byteSmallIntToFixedConverter. toByte(int index)byteTinyIntToFixedConverter. 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)DateArrowVectorConverter. toDate(int index, TimeZone jvmTz, boolean useDateFormat)Convert value in arrow vector to DateDateBigIntToTimestampLTZConverter. toDate(int index, TimeZone tz, boolean useDateFormat)DateBigIntToTimestampNTZConverter. toDate(int index, TimeZone tz, boolean dateFormat)DateDateConverter. toDate(int index, TimeZone jvmTz, boolean useDateFormat)DateThreeFieldStructToTimestampTZConverter. toDate(int index, TimeZone tz, boolean dateFormat)DateTwoFieldStructToTimestampLTZConverter. toDate(int index, TimeZone tz, boolean dateFormat)DateTwoFieldStructToTimestampNTZConverter. toDate(int index, TimeZone tz, boolean dateFormat)DateTwoFieldStructToTimestampTZConverter. toDate(int index, TimeZone tz, boolean dateFormat)DateVarCharConverter. toDate(int index, TimeZone jvmTz, boolean useDateFormat)doubleArrowVectorConverter. toDouble(int index)Convert value in arrow vector to double datadoubleBigIntToFixedConverter. toDouble(int index)doubleBigIntToScaledFixedConverter. toDouble(int index)doubleBitToBooleanConverter. toDouble(int rowIndex)doubleDecimalToScaledFixedConverter. toDouble(int index)doubleIntToFixedConverter. toDouble(int index)doubleIntToScaledFixedConverter. toDouble(int index)doubleSmallIntToFixedConverter. toDouble(int index)doubleTinyIntToFixedConverter. toDouble(int index)doubleVarCharConverter. toDouble(int index)floatArrowVectorConverter. toFloat(int index)Convert value in arrow vector to float datafloatBigIntToFixedConverter. toFloat(int index)floatBigIntToScaledFixedConverter. toFloat(int index)floatBitToBooleanConverter. toFloat(int rowIndex)floatDecimalToScaledFixedConverter. toFloat(int index)floatIntToFixedConverter. toFloat(int index)floatIntToScaledFixedConverter. toFloat(int index)floatSmallIntToFixedConverter. toFloat(int index)floatSmallIntToScaledFixedConverter. toFloat(int index)floatTinyIntToFixedConverter. toFloat(int index)floatTinyIntToScaledFixedConverter. toFloat(int index)floatVarCharConverter. toFloat(int index)intArrowVectorConverter. toInt(int index)Convert value in arrow vector to int dataintBigIntToFixedConverter. toInt(int index)intBigIntToScaledFixedConverter. toInt(int index)intBitToBooleanConverter. toInt(int rowIndex)intDecimalToScaledFixedConverter. toInt(int index)intDoubleToRealConverter. toInt(int rowIndex)intIntToFixedConverter. toInt(int index)intIntToScaledFixedConverter. toInt(int index)intSmallIntToFixedConverter. toInt(int index)intSmallIntToScaledFixedConverter. toInt(int index)intTinyIntToFixedConverter. toInt(int index)intTinyIntToScaledFixedConverter. toInt(int index)intVarCharConverter. toInt(int index)longArrowVectorConverter. toLong(int index)Convert value in arrow vector to long datalongBigIntToFixedConverter. toLong(int index)longBigIntToScaledFixedConverter. toLong(int index)longBitToBooleanConverter. toLong(int rowIndex)longDecimalToScaledFixedConverter. toLong(int index)longDoubleToRealConverter. toLong(int rowIndex)longIntToFixedConverter. toLong(int index)longIntToScaledFixedConverter. toLong(int index)longSmallIntToFixedConverter. toLong(int index)longSmallIntToScaledFixedConverter. toLong(int index)longTinyIntToFixedConverter. toLong(int index)longTinyIntToScaledFixedConverter. toLong(int index)longVarCharConverter. toLong(int index)ObjectArrowVectorConverter. toObject(int index)Convert value in arrow vector to ObjectObjectBigIntToFixedConverter. toObject(int index)ObjectBigIntToTimeConverter. toObject(int index)ObjectBigIntToTimestampLTZConverter. toObject(int index)ObjectBigIntToTimestampNTZConverter. toObject(int index)ObjectDateConverter. toObject(int index)ObjectDecimalToScaledFixedConverter. toObject(int index)ObjectIntToFixedConverter. toObject(int index)ObjectIntToScaledFixedConverter. toObject(int index)ObjectIntToTimeConverter. toObject(int index)ObjectSmallIntToFixedConverter. toObject(int index)ObjectSmallIntToScaledFixedConverter. toObject(int index)ObjectThreeFieldStructToTimestampTZConverter. toObject(int index)ObjectTinyIntToFixedConverter. toObject(int index)ObjectTinyIntToScaledFixedConverter. toObject(int index)ObjectTwoFieldStructToTimestampLTZConverter. toObject(int index)ObjectTwoFieldStructToTimestampNTZConverter. toObject(int index)ObjectTwoFieldStructToTimestampTZConverter. toObject(int index)shortArrowVectorConverter. toShort(int index)Convert value in arrow vector to short datashortBigIntToFixedConverter. toShort(int index)shortBigIntToScaledFixedConverter. toShort(int index)shortBitToBooleanConverter. toShort(int rowIndex)shortDateConverter. toShort(int index)shortDecimalToScaledFixedConverter. toShort(int index)shortDoubleToRealConverter. toShort(int rowIndex)shortIntToFixedConverter. toShort(int index)shortIntToScaledFixedConverter. toShort(int index)shortSmallIntToFixedConverter. toShort(int index)shortSmallIntToScaledFixedConverter. toShort(int index)shortThreeFieldStructToTimestampTZConverter. toShort(int rowIndex)shortTinyIntToFixedConverter. toShort(int index)shortTinyIntToScaledFixedConverter. toShort(int index)shortTwoFieldStructToTimestampTZConverter. toShort(int rowIndex)shortVarCharConverter. toShort(int index)StringArrowVectorConverter. toString(int index)Convert value in arrow vector to stringStringBigIntToTimeConverter. toString(int index)StringBigIntToTimestampLTZConverter. toString(int index)StringBigIntToTimestampNTZConverter. toString(int index)StringDateConverter. toString(int index)StringIntToFixedConverter. toString(int index)StringIntToScaledFixedConverter. toString(int index)StringIntToTimeConverter. toString(int index)StringSmallIntToFixedConverter. toString(int index)StringSmallIntToScaledFixedConverter. toString(int index)StringThreeFieldStructToTimestampTZConverter. toString(int index)StringTinyIntToFixedConverter. toString(int index)StringTinyIntToScaledFixedConverter. toString(int index)StringTwoFieldStructToTimestampLTZConverter. toString(int index)StringTwoFieldStructToTimestampNTZConverter. toString(int index)StringTwoFieldStructToTimestampTZConverter. toString(int index)TimeArrowVectorConverter. toTime(int index)Convert value in arrow vector to TimeTimeBigIntToTimeConverter. toTime(int index)TimeBigIntToTimestampLTZConverter. toTime(int index)TimeBigIntToTimestampNTZConverter. toTime(int index)TimeIntToTimeConverter. toTime(int index)TimeThreeFieldStructToTimestampTZConverter. toTime(int index)TimeTwoFieldStructToTimestampLTZConverter. toTime(int index)TimeTwoFieldStructToTimestampNTZConverter. toTime(int index)TimeTwoFieldStructToTimestampTZConverter. toTime(int index)TimestampArrowVectorConverter. toTimestamp(int index, TimeZone tz)Convert value in arrow vector to TimestampTimestampBigIntToTimeConverter. toTimestamp(int index, TimeZone tz)TimestampBigIntToTimestampLTZConverter. toTimestamp(int index, TimeZone tz)TimestampBigIntToTimestampNTZConverter. toTimestamp(int index, TimeZone tz)TimestampDateConverter. toTimestamp(int index, TimeZone tz)TimestampIntToTimeConverter. toTimestamp(int index, TimeZone tz)TimestampThreeFieldStructToTimestampTZConverter. toTimestamp(int index, TimeZone tz)TimestampTwoFieldStructToTimestampLTZConverter. toTimestamp(int index, TimeZone tz)TimestampTwoFieldStructToTimestampNTZConverter. toTimestamp(int index, TimeZone tz)TimestampTwoFieldStructToTimestampTZConverter. toTimestamp(int index, TimeZone tz) -
Uses of SFException in net.snowflake.client.core.json
Methods in net.snowflake.client.core.json that throw SFException Modifier and Type Method Description BigDecimalNumberConverter. getBigDecimal(Object obj, int columnType)BigDecimalNumberConverter. getBigDecimal(Object obj, int columnType, Integer scale)ObjectNumberConverter. getBigInt(Object obj, int columnType)BooleanBooleanConverter. getBoolean(Object obj, int columnType)byte[]BytesConverter. getBytes(Object obj, int columnType, int columnSubType, Integer scale)DateDateTimeConverter. getDate(Object obj, int columnType, int columnSubType, TimeZone tz, int scale)doubleNumberConverter. getDouble(Object obj, int columnType)floatNumberConverter. getFloat(Object obj, int columnType)intNumberConverter. getInt(Object obj, int columnType)longNumberConverter. getLong(Object obj, int columnType)shortNumberConverter. getShort(Object obj, int columnType)StringStringConverter. getString(Object obj, int columnType, int columnSubType, int scale)TimeDateTimeConverter. getTime(Object obj, int columnType, int columnSubType, TimeZone tz, int scale)TimestampDateTimeConverter. getTimestamp(Object obj, int columnType, int columnSubType, TimeZone tz, int scale) -
Uses of SFException in net.snowflake.client.jdbc
Methods in net.snowflake.client.jdbc that throw SFException Modifier and Type Method Description ArrowVectorConverterArrowResultChunk.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.LogBuilderTelemetryEvent.LogBuilder. withException(SFException ex)
-