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 Array
SQLException
public Object getArray() throws SQLException
getArray
in interface Array
SQLException
public Object getArray(Map<String,Class<?>> map) throws SQLException
getArray
in interface Array
SQLException
public Object getArray(long index, int count) throws SQLException
getArray
in interface Array
SQLException
public Object getArray(long index, int count, Map<String,Class<?>> map) throws SQLException
getArray
in interface Array
SQLException
public int getBaseType() throws SQLException
getBaseType
in interface Array
SQLException
public String getBaseTypeName() throws SQLException
getBaseTypeName
in interface Array
SQLException
public ResultSet getResultSet() throws SQLException
getResultSet
in interface Array
SQLException
public ResultSet getResultSet(Map<String,Class<?>> map) throws SQLException
getResultSet
in interface Array
SQLException
public ResultSet getResultSet(long index, int count) throws SQLException
getResultSet
in interface Array
SQLException
public ResultSet getResultSet(long index, int count, Map<String,Class<?>> map) throws SQLException
getResultSet
in interface Array
SQLException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © 2019. All rights reserved.