|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.lib.db.OracleOciCollection
public class OracleOciCollection
Quercus Oracle OCI-Collection object oriented API.
Method Summary | |
---|---|
boolean |
append(Env env,
Value value)
Appends element to the collection |
boolean |
assign(Env env,
OracleOciCollection fromCollection)
Assigns a value to the collection from another existing collection |
boolean |
assignElem(Env env,
int index,
Value value)
Assigns a value to the element of the collection |
boolean |
free(Env env)
Frees the resources associated with the collection object |
protected java.sql.Array |
getCollection()
Returns the underlying Oracle collection |
Value |
getElem(Env env,
int index)
Returns value of the element by index (1-based) |
protected java.util.ArrayList<java.lang.Object> |
getJavaCollection()
Returns the underlying Java collection |
LongValue |
max(Env env)
Returns the maximum number of elements in the collection If the returned value is 0, then the number of elements is not limited. |
LongValue |
size(Env env)
Returns size of the collection |
java.lang.String |
toString()
|
boolean |
trim(Env env,
int num)
Trims num elements from the end of the collection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean append(Env env, Value value)
value
- can be a string or a numberpublic boolean assign(Env env, OracleOciCollection fromCollection)
public boolean assignElem(Env env, int index, Value value)
index
- 1-based indexvalue
- can be a string or a numberpublic boolean free(Env env)
protected java.sql.Array getCollection()
public Value getElem(Env env, int index)
protected java.util.ArrayList<java.lang.Object> getJavaCollection()
public LongValue max(Env env)
public LongValue size(Env env)
public boolean trim(Env env, int num)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |