public final class ArrayImpl extends Object implements Comparable<ArrayImpl>, Externalizable, Array
Array implementation with minimal JDBC functionality.| Modifier and Type | Class and Description |
|---|---|
static class |
ArrayImpl.NullException |
| Constructor and Description |
|---|
ArrayImpl() |
ArrayImpl(Object... values) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ArrayImpl o) |
int |
compareTo(ArrayImpl o,
boolean noNulls,
Comparator<Object> comparator) |
boolean |
equals(Object obj) |
void |
free() |
Object |
getArray() |
Object |
getArray(long index,
int count) |
Object |
getArray(long index,
int count,
Map<String,Class<?>> map) |
Object |
getArray(Map<String,Class<?>> map) |
int |
getBaseType() |
String |
getBaseTypeName() |
ResultSet |
getResultSet() |
ResultSet |
getResultSet(long index,
int count) |
ResultSet |
getResultSet(long index,
int count,
Map<String,Class<?>> map) |
ResultSet |
getResultSet(Map<String,Class<?>> map) |
Object[] |
getValues() |
int |
hashCode() |
boolean |
isZeroBased() |
void |
readExternal(ObjectInput in) |
void |
setZeroBased(boolean zeroBased) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public ArrayImpl(Object... values)
public ArrayImpl()
public int compareTo(ArrayImpl o)
compareTo in interface Comparable<ArrayImpl>public int compareTo(ArrayImpl o, boolean noNulls, Comparator<Object> comparator)
public Object[] getValues()
public boolean isZeroBased()
public void setZeroBased(boolean zeroBased)
public void free()
throws SQLException
free in interface ArraySQLExceptionpublic Object getArray() throws SQLException
getArray in interface ArraySQLExceptionpublic Object getArray(Map<String,Class<?>> map) throws SQLException
getArray in interface ArraySQLExceptionpublic Object getArray(long index, int count) throws SQLException
getArray in interface ArraySQLExceptionpublic Object getArray(long index, int count, Map<String,Class<?>> map) throws SQLException
getArray in interface ArraySQLExceptionpublic int getBaseType()
throws SQLException
getBaseType in interface ArraySQLExceptionpublic String getBaseTypeName() throws SQLException
getBaseTypeName in interface ArraySQLExceptionpublic ResultSet getResultSet() throws SQLException
getResultSet in interface ArraySQLExceptionpublic ResultSet getResultSet(Map<String,Class<?>> map) throws SQLException
getResultSet in interface ArraySQLExceptionpublic ResultSet getResultSet(long index, int count) throws SQLException
getResultSet in interface ArraySQLExceptionpublic ResultSet getResultSet(long index, int count, Map<String,Class<?>> map) throws SQLException
getResultSet in interface ArraySQLExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.