|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FxResultSet
FxSQL result set
| Nested Class Summary | |
|---|---|
static interface |
FxResultSet.WrappedLock
A lock with user name information. |
| Method Summary | ||
|---|---|---|
|
collectColumn(int columnIndex)
Projects a single column to a list. |
|
int |
getColumnCount()
Returns the number of columns in this FxResultSet object. |
|
int |
getColumnIndex(java.lang.String name)
Get the index for the given column. |
|
java.util.Map<java.lang.String,java.lang.Integer> |
getColumnIndexMap()
Returns a map returning the column index using the lowercase column name as a key. |
|
java.lang.String |
getColumnLabel(int index)
Returns the column label of the given index in the calling user's language. |
|
java.lang.String[] |
getColumnLabels()
Returns the column labels in the calling user's language. |
|
java.lang.String |
getColumnName(int pos)
Get the designated column's name. |
|
java.lang.String[] |
getColumnNames()
Returns the column names. |
|
java.util.List<FxFoundType> |
getContentTypes()
Returns a list of all content types that are part of the resultset. |
|
long |
getCreatedBriefcaseId()
If the query created a new briefcase, its ID can be retrieved with this method. |
|
long |
getCreationTime()
Returns the time this resultset was created at. |
|
int |
getDbSearchTime()
Returns the time needed to find all matching records in the database. |
|
int |
getFetchTime()
Returns the time needed to find fetch the matching records from the database. |
|
ResultLocation |
getLocation()
Returns the location for which the query was executed. |
|
int |
getMaxFetchRows()
Returns the maximum rows parameter specified with the search. |
|
java.lang.Object |
getObject(int rowIndex,
int columnIndex)
Retrieves the value of the designated column in the current row of this FxResultSet object as a Object. |
|
int |
getParserExecutionTime()
Returns the time that was spent parsing the statement. |
|
int |
getPrimaryKeyIndex()
Return the index of the @pk column if it was selected, or -1 otherwise. |
|
FxResultRow |
getResultRow(FxPK pk)
Return a result row wrapper for the given pk, or null if the result row can't be determined. |
|
FxResultRow |
getResultRow(int index)
Return a result row wrapper for the given row number. |
|
java.lang.Iterable<FxResultRow> |
getResultRows()
Return a result row iterator for this result set. |
|
int |
getRowCount()
Returns the number of rows in this FxResultSet object. |
|
java.util.List<java.lang.Object[]> |
getRows()
Returns all rows. |
|
int |
getStartIndex()
Returns the start index specified with the search. |
|
java.lang.String |
getString(int rowIndex,
int columnIndex)
Retrieves the value of the designated column in the current row of this FxResultSet object as a String. |
|
int |
getTotalRowCount()
Returns the total row count. |
|
int |
getTotalTime()
Returns the total time spent for the search. |
|
int |
getUserWildcardIndex()
Return the start column index of the properties selected by the user wildcard @*, or -1 if no such wildcard was present in the original statement. |
|
ResultViewType |
getViewType()
Returns the view type for which the query was executed. |
|
boolean |
isTruncated()
Returns true if the found entry set was truncted. |
|
| Method Detail |
|---|
long getCreationTime()
int getStartIndex()
int getMaxFetchRows()
java.lang.String[] getColumnNames()
java.lang.String getColumnLabel(int index)
throws java.lang.ArrayIndexOutOfBoundsException
index - the column index (first column is 1)
java.lang.ArrayIndexOutOfBoundsException - if the given position is not validjava.lang.String[] getColumnLabels()
java.util.List<java.lang.Object[]> getRows()
java.lang.String getColumnName(int pos)
throws java.lang.ArrayIndexOutOfBoundsException
pos - the first column is 1, the second is 2, ...
java.lang.ArrayIndexOutOfBoundsException - if the given position is not validint getColumnIndex(java.lang.String name)
name - the column name
java.util.Map<java.lang.String,java.lang.Integer> getColumnIndexMap()
int getColumnCount()
int getRowCount()
int getTotalRowCount()
boolean isTruncated()
java.lang.Object getObject(int rowIndex,
int columnIndex)
throws java.lang.ArrayIndexOutOfBoundsException
rowIndex - - the first row is 1, the second is 2, ...columnIndex - - the first column is 1, the second is 2, ...
java.lang.ArrayIndexOutOfBoundsException - if the given row/column combination is out of range
java.lang.String getString(int rowIndex,
int columnIndex)
throws java.lang.ArrayIndexOutOfBoundsException
rowIndex - - the first row is 1, the second is 2, ...columnIndex - - the first column is 1, the second is 2, ...
java.lang.ArrayIndexOutOfBoundsException - if the given row/column combination is out of rangeint getParserExecutionTime()
int getDbSearchTime()
int getFetchTime()
int getTotalTime()
ResultLocation getLocation()
ResultViewType getViewType()
java.util.List<FxFoundType> getContentTypes()
java.lang.Iterable<FxResultRow> getResultRows()
FxResultRow getResultRow(int index)
index - the row number
FxResultRow getResultRow(FxPK pk)
pk - FxPK
long getCreatedBriefcaseId()
<T> java.util.List<T> collectColumn(int columnIndex)
columnIndex - the 1-based column index
int getUserWildcardIndex()
int getPrimaryKeyIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||