Package net.snowflake.client.core
Class SfSqlArray
- java.lang.Object
-
- net.snowflake.client.core.SfSqlArray
-
- All Implemented Interfaces:
Array
@SnowflakeJdbcInternalApi public class SfSqlArray extends Object implements Array
-
-
Constructor Summary
Constructors Constructor Description SfSqlArray(int baseType, Object elements, SFBaseSession session, com.fasterxml.jackson.databind.ObjectMapper objectMapper)SfSqlArray(String text, int baseType, Object elements, SFBaseSession session, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfree()ObjectgetArray()ObjectgetArray(long index, int count)ObjectgetArray(long index, int count, Map<String,Class<?>> map)ObjectgetArray(Map<String,Class<?>> map)intgetBaseType()StringgetBaseTypeName()StringgetJsonString()ResultSetgetResultSet()ResultSetgetResultSet(long index, int count)ResultSetgetResultSet(long index, int count, Map<String,Class<?>> map)ResultSetgetResultSet(Map<String,Class<?>> map)BindingParameterMetadatagetSchema()StringgetText()
-
-
-
Constructor Detail
-
SfSqlArray
public SfSqlArray(String text, int baseType, Object elements, SFBaseSession session, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
SfSqlArray
public SfSqlArray(int baseType, Object elements, SFBaseSession session, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getBaseTypeName
public String getBaseTypeName() throws SQLException
- Specified by:
getBaseTypeNamein interfaceArray- Throws:
SQLException
-
getBaseType
public int getBaseType() throws SQLException- Specified by:
getBaseTypein interfaceArray- Throws:
SQLException
-
getArray
public Object getArray() throws SQLException
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getArray
public Object getArray(Map<String,Class<?>> map) throws SQLException
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getArray
public Object getArray(long index, int count) throws SQLException
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getArray
public Object getArray(long index, int count, Map<String,Class<?>> map) throws SQLException
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet() throws SQLException
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet(Map<String,Class<?>> map) throws SQLException
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet(long index, int count) throws SQLException
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet(long index, int count, Map<String,Class<?>> map) throws SQLException
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
free
public void free() throws SQLException- Specified by:
freein interfaceArray- Throws:
SQLException
-
getText
public String getText()
-
getJsonString
public String getJsonString() throws SQLException
- Throws:
SQLException
-
getSchema
public BindingParameterMetadata getSchema() throws SQLException
- Throws:
SQLException
-
-