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)
SfSqlArray(String text, int baseType, Object elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
free()
Object
getArray()
Object
getArray(long index, int count)
Object
getArray(long index, int count, Map<String,Class<?>> map)
Object
getArray(Map<String,Class<?>> map)
int
getBaseType()
String
getBaseTypeName()
String
getJsonString()
ResultSet
getResultSet()
ResultSet
getResultSet(long index, int count)
ResultSet
getResultSet(long index, int count, Map<String,Class<?>> map)
ResultSet
getResultSet(Map<String,Class<?>> map)
BindingParameterMetadata
getSchema()
String
getText()
-
-
-
Method Detail
-
getBaseTypeName
public String getBaseTypeName() throws SQLException
- Specified by:
getBaseTypeName
in interfaceArray
- Throws:
SQLException
-
getBaseType
public int getBaseType() throws SQLException
- Specified by:
getBaseType
in interfaceArray
- Throws:
SQLException
-
getArray
public Object getArray() throws SQLException
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getArray
public Object getArray(Map<String,Class<?>> map) throws SQLException
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getArray
public Object getArray(long index, int count) throws SQLException
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getArray
public Object getArray(long index, int count, Map<String,Class<?>> map) throws SQLException
- Specified by:
getArray
in interfaceArray
- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet() throws SQLException
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet(Map<String,Class<?>> map) throws SQLException
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet(long index, int count) throws SQLException
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet(long index, int count, Map<String,Class<?>> map) throws SQLException
- Specified by:
getResultSet
in interfaceArray
- Throws:
SQLException
-
free
public void free() throws SQLException
- Specified by:
free
in interfaceArray
- Throws:
SQLException
-
getText
public String getText()
-
getJsonString
public String getJsonString() throws SQLException
- Throws:
SQLException
-
getSchema
public BindingParameterMetadata getSchema() throws SQLException
- Throws:
SQLException
-
-