| Constructor and Description |
|---|
PGBuffersArray(Context context,
ArrayType type,
FieldFormat elementFormat,
io.netty.buffer.ByteBuf[] elementBuffers,
int[] dimensions) |
| Modifier and Type | Method and Description |
|---|---|
static PGBuffersArray |
encode(Context context,
ArrayType type,
Object array) |
static void |
encode(Context context,
Type componentType,
FieldFormat format,
Object value,
List<io.netty.buffer.ByteBuf> elementBuffers) |
void |
free() |
protected Object |
getArray(Context context,
Class<?> targetComponentType,
long index,
int count) |
int |
getLength() |
protected ResultSet |
getResultSet(Context context,
long index,
int count) |
checkFreed, getArray, getArray, getArray, getArray, getArray, getBaseType, getBaseTypeName, getResultSet, getResultSet, getResultSet, getResultSet, getTypepublic PGBuffersArray(Context context, ArrayType type, FieldFormat elementFormat, io.netty.buffer.ByteBuf[] elementBuffers, int[] dimensions)
public static PGBuffersArray encode(Context context, ArrayType type, Object array) throws IOException
IOExceptionpublic static void encode(Context context, Type componentType, FieldFormat format, Object value, List<io.netty.buffer.ByteBuf> elementBuffers) throws IOException
IOExceptionprotected Object getArray(Context context, Class<?> targetComponentType, long index, int count) throws SQLException
getArray in class PGArraySQLExceptionprotected ResultSet getResultSet(Context context, long index, int count) throws SQLException
getResultSet in class PGArraySQLExceptionpublic void free()