|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
inteface for resultset (query) object
| Nested Class Summary |
| Nested classes inherited from class railo.runtime.type.Collection |
Collection.Key |
| Field Summary | |
static int |
ORDER_ASC
Constant ORDER_ASC, used for method sort |
static int |
ORDER_DESC
Constant ORDER_DESC, used for method sort |
| Fields inherited from interface java.sql.ResultSet |
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE |
| Method Summary | |
boolean |
addColumn(Collection.Key columnName,
Array content)
adds a new column to the resultset |
boolean |
addColumn(Collection.Key columnName,
Array content,
int type)
adds a new column to the resultset |
boolean |
addColumn(java.lang.String columnName,
Array content)
Deprecated. use instead |
boolean |
addColumn(java.lang.String columnName,
Array content,
int type)
Deprecated. use instead |
boolean |
addRow(int count)
adds a new row to the resultset |
java.lang.Object |
clone()
|
int |
executionTime()
|
java.lang.Object |
getAt(Collection.Key key,
int row)
return a value of the resultset by specifed colmn and row |
java.lang.Object |
getAt(Collection.Key key,
int row,
java.lang.Object defaultValue)
return a value of the resultset by specifed colmn and row, otherwise to getAt this method throw no exception if value dont exist (return null) |
java.lang.Object |
getAt(java.lang.String key,
int row)
Deprecated. use instead |
java.lang.Object |
getAt(java.lang.String key,
int row,
java.lang.Object defaultValue)
Deprecated. use instead |
QueryColumn |
getColumn(Collection.Key key)
return the query column matching to key |
QueryColumn |
getColumn(Collection.Key key,
QueryColumn column)
return the query column matching to key, if key not exist return null |
QueryColumn |
getColumn(java.lang.String key)
Deprecated. use instead |
QueryColumn |
getColumn(java.lang.String key,
QueryColumn column)
Deprecated. use instead |
Array |
getMetaDataSimple()
|
int[] |
getTypes()
|
java.util.Map |
getTypesAsMap()
|
int |
getUpdateCount()
|
boolean |
isCached()
is query from cache or not |
QueryColumn |
removeColumn(Collection.Key key)
remove column matching to key |
QueryColumn |
removeColumn(java.lang.String key)
Deprecated. use instead |
QueryColumn |
removeColumnEL(Collection.Key key)
remove column matching to key |
QueryColumn |
removeColumnEL(java.lang.String key)
Deprecated. use instead |
int |
removeRow(int row)
remove row from query |
int |
removeRowEL(int row)
remove row from query |
java.lang.Object |
setAt(Collection.Key key,
int row,
java.lang.Object value)
set a value at the defined position |
java.lang.Object |
setAt(java.lang.String key,
int row,
java.lang.Object value)
Deprecated. use instead |
java.lang.Object |
setAtEL(Collection.Key key,
int row,
java.lang.Object value)
set a value at the defined position |
java.lang.Object |
setAtEL(java.lang.String key,
int row,
java.lang.Object value)
Deprecated. use instead |
void |
setCached(boolean isCached)
sets if query is form cache or not |
void |
setExecutionTime(long l)
sets the execution Time of the query |
void |
sort(Collection.Key column)
sorts a query by a column, direction is asc |
void |
sort(Collection.Key strColumn,
int order)
sorts a query by a column |
void |
sort(java.lang.String column)
Deprecated. use instead |
void |
sort(java.lang.String strColumn,
int order)
Deprecated. use instead |
| Methods inherited from interface railo.runtime.type.Collection |
clear, containsKey, containsKey, duplicate, get, get, get, get, keys, keysAsString, remove, removeEL, set, set, setEL, setEL, size |
| Methods inherited from interface railo.runtime.dump.Dumpable |
toDumpData |
| Methods inherited from interface railo.runtime.type.Iteratorable |
iterator, keyIterator |
| Methods inherited from interface railo.runtime.op.Castable |
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo |
| Methods inherited from interface railo.runtime.type.Iterator |
getCurrentrow, getRecordcount, go, go, isEmpty, next, next, reset, reset |
| Methods inherited from interface com.allaire.cfx.Query |
addRow, getColumnIndex, getColumns, getData, getName, getRowCount, setData |
| Methods inherited from interface java.sql.ResultSet |
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, close, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getInt, getInt, getLong, getLong, getMetaData, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getShort, getShort, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, next, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull |
| Field Detail |
public static final int ORDER_ASC
ORDER_ASC, used for method sort
public static final int ORDER_DESC
ORDER_DESC, used for method sort
| Method Detail |
public int getUpdateCount()
public java.lang.Object getAt(java.lang.String key,
int row)
throws PageException
getAt(railo.runtime.type.Collection.Key, int)
key - column to getrow - row to get from (1-recordcount)
PageException - if invalid position definition
public java.lang.Object getAt(Collection.Key key,
int row)
throws PageException
key - column to getrow - row to get from (1-recordcount)
PageException - if invalid position definition
public java.lang.Object getAt(java.lang.String key,
int row,
java.lang.Object defaultValue)
getAt(railo.runtime.type.Collection.Key, int, Object)
key - column to getrow - row to get from (1-recordcount)
public java.lang.Object getAt(Collection.Key key,
int row,
java.lang.Object defaultValue)
key - column to getrow - row to get from (1-recordcount)
public java.lang.Object setAt(java.lang.String key,
int row,
java.lang.Object value)
throws PageException
setAtEL(railo.runtime.type.Collection.Key, int, Object)
key - column to setrow - row to setvalue - value to fill
PageException
public java.lang.Object setAt(Collection.Key key,
int row,
java.lang.Object value)
throws PageException
key - column to setrow - row to setvalue - value to fill
PageException
public java.lang.Object setAtEL(java.lang.String key,
int row,
java.lang.Object value)
setAtEL(railo.runtime.type.Collection.Key, int, Object)
key - column to setrow - row to setvalue - value to fill
public java.lang.Object setAtEL(Collection.Key key,
int row,
java.lang.Object value)
key - column to setrow - row to setvalue - value to fill
public boolean addRow(int count)
count - count of rows to add
public int removeRow(int row)
throws PageException
row -
PageExceptionpublic int removeRowEL(int row)
row -
public boolean addColumn(java.lang.String columnName,
Array content)
throws PageException
addColumn(railo.runtime.type.Collection.Key, Array)
columnName - name of the new columncontent - content of the new column inside a array (must have same size like query has records)
PageException
public boolean addColumn(Collection.Key columnName,
Array content)
throws PageException
columnName - name of the new columncontent - content of the new column inside a array (must have same size like query has records)
PageException
public boolean addColumn(java.lang.String columnName,
Array content,
int type)
throws PageException
addColumn(railo.runtime.type.Collection.Key, Array, int)
columnName - name of the new columncontent - content of the new column inside a array (must have same size like query has records)type - data type from (java.sql.Types)
PageException
public boolean addColumn(Collection.Key columnName,
Array content,
int type)
throws PageException
columnName - name of the new columncontent - content of the new column inside a array (must have same size like query has records)type - data type from (java.sql.Types)
PageExceptionpublic java.lang.Object clone()
clone in interface Collectionpublic int[] getTypes()
public java.util.Map getTypesAsMap()
public QueryColumn getColumn(java.lang.String key)
throws PageException
getColumn(railo.runtime.type.Collection.Key)
key - key to get
PageException
public QueryColumn getColumn(Collection.Key key)
throws PageException
key - key to get
PageException
public QueryColumn getColumn(java.lang.String key,
QueryColumn column)
getColumn(railo.runtime.type.Collection.Key, QueryColumn)
key - key to get
public QueryColumn getColumn(Collection.Key key,
QueryColumn column)
key - key to get
public QueryColumn removeColumn(java.lang.String key)
throws PageException
removeColumn(railo.runtime.type.Collection.Key)
key - key to remove
PageException
public QueryColumn removeColumn(Collection.Key key)
throws PageException
key - key to remove
PageExceptionpublic QueryColumn removeColumnEL(java.lang.String key)
removeColumnEL(railo.runtime.type.Collection.Key)
key - key to remove
public QueryColumn removeColumnEL(Collection.Key key)
key - key to remove
public int executionTime()
public void setExecutionTime(long l)
l -
public void sort(java.lang.String column)
throws PageException
sort(railo.runtime.type.Collection.Key)
column - colun to sort
PageException
public void sort(Collection.Key column)
throws PageException
column - colun to sort
PageException
public void sort(java.lang.String strColumn,
int order)
throws PageException
sort(railo.runtime.type.Collection.Key, int)
strColumn - column to sortorder - sort type (Query.ORDER_ASC or Query.ORDER_DESC)
PageException
public void sort(Collection.Key strColumn,
int order)
throws PageException
strColumn - column to sortorder - sort type (Query.ORDER_ASC or Query.ORDER_DESC)
PageExceptionpublic void setCached(boolean isCached)
isCached - is cached or notpublic boolean isCached()
public Array getMetaDataSimple()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||