public class SqlArray<T>
extends java.lang.Object
implements java.sql.Array
Modifier and Type | Class and Description |
---|---|
static class |
SqlArray.BOOLEAN |
static class |
SqlArray.DATE |
static class |
SqlArray.DOUBLE |
static class |
SqlArray.FLOAT |
static class |
SqlArray.INTEGER |
static class |
SqlArray.STRING |
static class |
SqlArray.STRING2 |
Modifier and Type | Field and Description |
---|---|
static ListAsSQLArrayUserType.ArrayFactory |
FACTORY |
Modifier | Constructor and Description |
---|---|
protected |
SqlArray(java.util.List<T> data,
int baseType) |
protected |
SqlArray(java.util.List<T> data,
int baseType,
java.lang.String baseTypeName) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendDate(java.lang.StringBuilder sb,
java.util.Date date) |
void |
free() |
java.lang.Object |
getArray() |
java.lang.Object |
getArray(long index,
int count) |
java.lang.Object |
getArray(long arg0,
int arg1,
java.util.Map<java.lang.String,java.lang.Class<?>> arg2) |
java.lang.Object |
getArray(java.util.Map<java.lang.String,java.lang.Class<?>> arg0) |
int |
getBaseType() |
java.lang.String |
getBaseTypeName() |
java.sql.ResultSet |
getResultSet() |
java.sql.ResultSet |
getResultSet(long index,
int count) |
java.sql.ResultSet |
getResultSet(long arg0,
int arg1,
java.util.Map<java.lang.String,java.lang.Class<?>> arg2) |
java.sql.ResultSet |
getResultSet(java.util.Map<java.lang.String,java.lang.Class<?>> arg0) |
java.lang.String |
toString() |
public static final ListAsSQLArrayUserType.ArrayFactory FACTORY
protected SqlArray(java.util.List<T> data, int baseType)
protected SqlArray(java.util.List<T> data, int baseType, java.lang.String baseTypeName)
public java.lang.String getBaseTypeName()
getBaseTypeName
in interface java.sql.Array
public int getBaseType()
getBaseType
in interface java.sql.Array
public java.lang.Object getArray()
getArray
in interface java.sql.Array
public java.lang.Object getArray(long index, int count)
getArray
in interface java.sql.Array
public java.lang.Object getArray(java.util.Map<java.lang.String,java.lang.Class<?>> arg0)
getArray
in interface java.sql.Array
public java.lang.Object getArray(long arg0, int arg1, java.util.Map<java.lang.String,java.lang.Class<?>> arg2)
getArray
in interface java.sql.Array
public java.sql.ResultSet getResultSet()
getResultSet
in interface java.sql.Array
public java.sql.ResultSet getResultSet(java.util.Map<java.lang.String,java.lang.Class<?>> arg0)
getResultSet
in interface java.sql.Array
public java.sql.ResultSet getResultSet(long index, int count)
getResultSet
in interface java.sql.Array
public java.sql.ResultSet getResultSet(long arg0, int arg1, java.util.Map<java.lang.String,java.lang.Class<?>> arg2)
getResultSet
in interface java.sql.Array
public void free()
free
in interface java.sql.Array
public java.lang.String toString()
toString
in class java.lang.Object
protected void appendDate(java.lang.StringBuilder sb, java.util.Date date)
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.