|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.shiftone.exq.impl.query.CursorImpl
Class CursorImpl contains a reference to a QueryResult and an index
Nested Class Summary |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary | |
(package private) java.lang.Object[] |
currentRowData
|
(package private) int |
currentRowIndex
|
(package private) int |
maxRow
|
(package private) int |
minRow
|
(package private) int |
numPages
|
(package private) int |
pageNumber
|
(package private) int |
rowCount
|
(package private) int |
rowsPerPage
|
Constructor Summary | |
CursorImpl(QueryResult queryResult)
Constructor CursorImpl |
|
CursorImpl(QueryResult queryResult,
int pageNumber,
int rowsPerPage)
Constructor CursorImpl |
|
CursorImpl(QueryResult queryResult,
int pageNumber,
int rowsPerPage,
int numPages)
Constructor CursorImpl THIS IS A LYING STINKING CONSTRUCTOR. |
Method Summary | |
void |
clear()
Removes all mappings from this map (optional operation). |
boolean |
containsKey(java.lang.Object key)
Returns true if this map contains a mapping for the specified key. |
boolean |
containsValue(java.lang.Object value)
Returns true if this map maps one or more keys to the specified value. |
java.util.Set |
entrySet()
Returns a set view of the mappings contained in this map. |
boolean |
equals(java.lang.Object o)
Compares the specified object with this map for equality. |
java.lang.Object |
get(java.lang.Object key)
Returns the value to which this map maps the specified key. |
int |
getColumnCount()
Method getColumnCount |
int |
getColumnIndex(java.lang.String name)
Method getColumnIndex |
java.lang.String |
getColumnName(int index)
Method getColumnName |
java.lang.Class |
getColumnType(int index)
Method getColumnType |
int |
getPageCount()
Method getPageCount |
int |
getPageNumber()
Method getPageNumber |
int |
getRowCount()
Method getRowCount |
int |
getRowNumber()
Method getRowNumber |
java.lang.Object |
getValue(int columnIndex)
Method getValue |
java.lang.Object |
getValue(java.lang.String columnName)
Method getValue |
int |
hashCode()
Returns the hash code value for this map. |
boolean |
isEmpty()
Returns true if this map contains no key-value mappings. |
java.util.Set |
keySet()
Returns a set view of the keys contained in this map. |
boolean |
next()
Method next |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Associates the specified value with the specified key in this map (optional operation). |
void |
putAll(java.util.Map t)
Copies all of the mappings from the specified map to this map (optional operation). |
java.lang.Object |
remove(java.lang.Object key)
Removes the mapping for this key from this map if it is present (optional operation). |
void |
reset()
Method reset |
int |
size()
Returns the number of key-value mappings in this map. |
java.util.Collection |
values()
Returns a collection view of the values contained in this map. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
int rowCount
int minRow
int maxRow
int numPages
int rowsPerPage
int pageNumber
int currentRowIndex
java.lang.Object[] currentRowData
Constructor Detail |
public CursorImpl(QueryResult queryResult)
queryResult
- public CursorImpl(QueryResult queryResult, int pageNumber, int rowsPerPage)
queryResult
- pageNumber
- zero based page numberrowsPerPage
- number of rows that should appear per pagepublic CursorImpl(QueryResult queryResult, int pageNumber, int rowsPerPage, int numPages)
queryResult
- pageNumber
- rowsPerPage
- numPages
- Method Detail |
public void reset()
reset
in interface Cursor
public final boolean next()
next
in interface Cursor
public int getPageCount()
getPageCount
in interface Cursor
public int getPageNumber()
getPageNumber
in interface Cursor
public int getColumnCount()
getColumnCount
in interface Cursor
public java.lang.String getColumnName(int index)
getColumnName
in interface Cursor
index
- public java.lang.Class getColumnType(int index)
getColumnType
in interface Cursor
index
- public int getColumnIndex(java.lang.String name)
getColumnIndex
in interface Cursor
name
- public final int getRowCount()
getRowCount
in interface Cursor
public final int getRowNumber()
getRowNumber
in interface Cursor
public final java.lang.Object getValue(java.lang.String columnName)
getValue
in interface Cursor
columnName
- public final java.lang.Object getValue(int columnIndex)
getValue
in interface Cursor
columnIndex
- public void clear()
clear
in interface java.util.Map
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map
key
- public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map
value
- public java.util.Set entrySet()
entrySet
in interface java.util.Map
public boolean equals(java.lang.Object o)
equals
in interface java.util.Map
o
- public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map
key
- public int hashCode()
hashCode
in interface java.util.Map
public boolean isEmpty()
isEmpty
in interface java.util.Map
public java.util.Set keySet()
keySet
in interface java.util.Map
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
key
- value
- public void putAll(java.util.Map t)
putAll
in interface java.util.Map
t
- public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
key
- public int size()
size
in interface java.util.Map
public java.util.Collection values()
values
in interface java.util.Map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |