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