|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OracleArray
This interface defines the Oracle extensions to the standard JDBC interface Array
.
Generally any new code should avoid the direct use of the class ARRAY
. For variable declarations use the interface Array
or this interface as required. For creating a OracleArray
use OracleConnection.createOracleArray(java.lang.String, java.lang.Object)
.
Method Summary | |
---|---|
double[] |
getDoubleArray() Oracle extension. |
double[] |
getDoubleArray(long index, int count) Oracle extension. |
float[] |
getFloatArray() Oracle extension. |
float[] |
getFloatArray(long index, int count) Oracle extension. |
int[] |
getIntArray() Oracle extension. |
int[] |
getIntArray(long index, int count) Oracle extension. |
long[] |
getLongArray() Oracle extension. |
long[] |
getLongArray(long index, int count) Oracle extension. |
OracleTypeMetaData |
getOracleMetaData() Oracle extension. |
short[] |
getShortArray() Oracle extension. |
short[] |
getShortArray(long index, int count) |
String |
getSQLTypeName() Oracle extension. |
int |
length() Oracle extension. |
Object |
toJdbc() Oracle extension. |
Methods inherited from interface java.sql.Array |
---|
free, getArray, getArray, getArray, getArray, getBaseType, getBaseTypeName, getResultSet, getResultSet, getResultSet, getResultSet |
Method Detail |
---|
OracleTypeMetaData getOracleMetaData() throws SQLException
SQLException
- if an error occursint length() throws SQLException
SQLException
String getSQLTypeName() throws SQLException
Struct
object represents.Array
object is the generic representationSQLException
- if a database access error occursObject toJdbc() throws SQLException
SQLException
- if conversion to JDBC representation results in an errorint[] getIntArray() throws SQLException
SQLException
int[] getIntArray(long index, int count) throws SQLException
index
- the index of the first element to be returnedcount
- the number of elements to be returned.SQLException
double[] getDoubleArray() throws SQLException
SQLException
double[] getDoubleArray(long index, int count) throws SQLException
index
- the index of the first element to be returnedcount
- the number of elements to be returned.SQLException
short[] getShortArray() throws SQLException
SQLException
short[] getShortArray(long index, int count) throws SQLException
SQLException
long[] getLongArray() throws SQLException
SQLException
long[] getLongArray(long index, int count) throws SQLException
index
- the index of the first element to be returnedcount
- the number of elements to be returned.SQLException
float[] getFloatArray() throws SQLException
SQLException
float[] getFloatArray(long index, int count) throws SQLException
index
- the index of the first element to be returnedcount
- the number of elements to be returned.SQLException
|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |