Package com.clickhouse.jdbc
Class ClickHouseArray
- java.lang.Object
-
- com.clickhouse.jdbc.ClickHouseArray
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedClickHouseArray(ClickHouseResultSet resultSet, int columnIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidensureValid()voidfree()ObjectgetArray()ObjectgetArray(long index, int count)ObjectgetArray(long index, int count, Map<String,Class<?>> map)ObjectgetArray(Map<String,Class<?>> map)protected ClickHouseColumngetBaseColumn()intgetBaseType()StringgetBaseTypeName()ResultSetgetResultSet()ResultSetgetResultSet(long index, int count)ResultSetgetResultSet(long index, int count, Map<String,Class<?>> map)ResultSetgetResultSet(Map<String,Class<?>> map)
-
-
-
Constructor Detail
-
ClickHouseArray
protected ClickHouseArray(ClickHouseResultSet resultSet, int columnIndex) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
ensureValid
protected void ensureValid() throws SQLException- Throws:
SQLException
-
getBaseColumn
protected ClickHouseColumn getBaseColumn()
-
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
-
-