|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.healthmarketscience.jackcess.CursorBuilder
public class CursorBuilder
Builder style class for constructing a Cursor. By default, a cursor is created at the beginning of the table, and any start/end rows are inclusive.
Constructor Summary | |
---|---|
CursorBuilder(Table table)
|
Method Summary | |
---|---|
CursorBuilder |
afterLast()
Sets the cursor so that it will start at the end (unless a savepoint is given). |
CursorBuilder |
beforeFirst()
Sets the cursor so that it will start at the beginning (unless a savepoint is given). |
CursorBuilder |
restoreSavepoint(Cursor.Savepoint savepoint)
Sets a savepoint to restore for the initial position of the cursor. |
CursorBuilder |
setColumnMatcher(ColumnMatcher columnMatcher)
Sets the ColumnMatcher to use for matching row patterns. |
CursorBuilder |
setEndEntry(java.lang.Object... endEntry)
Sets the ending row for a range based index cursor to the given entry (where the given values correspond to the index's columns). |
CursorBuilder |
setEndRow(java.lang.Object[] endRow)
Sets the ending row for a range based index cursor. |
CursorBuilder |
setEndRowInclusive(boolean inclusive)
Sets whether the ending row for a range based index cursor is inclusive or exclusive. |
CursorBuilder |
setIndex(Index index)
Sets an index to use for the cursor. |
CursorBuilder |
setIndexByColumnNames(java.lang.String... columnNames)
Sets an index to use for the cursor by searching the table for an index with exactly the given columns. |
CursorBuilder |
setIndexByColumns(Column... columns)
Sets an index to use for the cursor by searching the table for an index with exactly the given columns. |
CursorBuilder |
setIndexByName(java.lang.String indexName)
Sets an index to use for the cursor by searching the table for an index with the given name. |
CursorBuilder |
setSpecificEntry(java.lang.Object... specificEntry)
Sets the starting and ending row for a range based index cursor to the given entry (where the given values correspond to the index's columns). |
CursorBuilder |
setSpecificRow(java.lang.Object[] specificRow)
Sets the starting and ending row for a range based index cursor. |
CursorBuilder |
setStartEntry(java.lang.Object... startEntry)
Sets the starting row for a range based index cursor to the given entry (where the given values correspond to the index's columns). |
CursorBuilder |
setStartRow(java.lang.Object[] startRow)
Sets the starting row for a range based index cursor. |
CursorBuilder |
setStartRowInclusive(boolean inclusive)
Sets whether the starting row for a range based index cursor is inclusive or exclusive. |
Cursor |
toCursor()
Returns a new cursor for the table, constructed to the given specifications. |
IndexCursor |
toIndexCursor()
Returns a new index cursor for the table, constructed to the given specifications. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CursorBuilder(Table table)
Method Detail |
---|
public CursorBuilder beforeFirst()
public CursorBuilder afterLast()
public CursorBuilder restoreSavepoint(Cursor.Savepoint savepoint)
public CursorBuilder setIndex(Index index)
public CursorBuilder setIndexByName(java.lang.String indexName)
java.lang.IllegalArgumentException
- if no index can be found on the table with the given namepublic CursorBuilder setIndexByColumnNames(java.lang.String... columnNames)
java.lang.IllegalArgumentException
- if no index can be found on the table with the given columnspublic CursorBuilder setIndexByColumns(Column... columns)
java.lang.IllegalArgumentException
- if no index can be found on the table with the given columnspublic CursorBuilder setSpecificRow(java.lang.Object[] specificRow)
A valid index must be specified before calling this method.
public CursorBuilder setSpecificEntry(java.lang.Object... specificEntry)
A valid index must be specified before calling this method.
public CursorBuilder setStartRow(java.lang.Object[] startRow)
A valid index must be specified before calling this method.
public CursorBuilder setStartEntry(java.lang.Object... startEntry)
A valid index must be specified before calling this method.
public CursorBuilder setStartRowInclusive(boolean inclusive)
public CursorBuilder setEndRow(java.lang.Object[] endRow)
A valid index must be specified before calling this method.
public CursorBuilder setEndEntry(java.lang.Object... endEntry)
A valid index must be specified before calling this method.
public CursorBuilder setEndRowInclusive(boolean inclusive)
public CursorBuilder setColumnMatcher(ColumnMatcher columnMatcher)
public Cursor toCursor() throws java.io.IOException
java.io.IOException
public IndexCursor toIndexCursor() throws java.io.IOException
java.io.IOException
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |