Package com.impossibl.postgres.jdbc
Class PGArray
- java.lang.Object
-
- com.impossibl.postgres.jdbc.PGArray
-
- All Implemented Interfaces:
Array
- Direct Known Subclasses:
PGBuffersArray
public abstract class PGArray extends Object implements Array
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcheckFreed()ObjectgetArray()ObjectgetArray(long index, int count)ObjectgetArray(long index, int count, Map<String,Class<?>> typeMap)protected abstract ObjectgetArray(Context context, Class<?> targetComponentType, long index, int count)ObjectgetArray(Class<?> targetComponentType)ObjectgetArray(Map<String,Class<?>> typeMap)intgetBaseType()StringgetBaseTypeName()abstract intgetLength()ResultSetgetResultSet()ResultSetgetResultSet(long index, int count)ResultSetgetResultSet(long index, int count, Map<String,Class<?>> typeMap)protected abstract ResultSetgetResultSet(Context context, long index, int count)ResultSetgetResultSet(Map<String,Class<?>> typeMap)ArrayTypegetType()
-
-
-
Method Detail
-
getLength
public abstract int getLength()
-
getArray
protected abstract Object getArray(Context context, Class<?> targetComponentType, long index, int count) throws SQLException
- Throws:
SQLException
-
getResultSet
protected abstract ResultSet getResultSet(Context context, long index, int count) throws SQLException
- Throws:
SQLException
-
checkFreed
protected void checkFreed() throws SQLException- Throws:
SQLException
-
getType
public ArrayType getType()
-
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(Class<?> targetComponentType) throws SQLException
- Throws:
SQLException
-
getArray
public Object getArray() throws SQLException
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getArray
public Object getArray(Map<String,Class<?>> typeMap) 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<?>> typeMap) 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<?>> typeMap) 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<?>> typeMap) throws SQLException
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
-