ICommand for commands that require a Jackcess Cursor to identify or manipulate records.
This interface provides methods to match patterns against the current database state and to persist changes specifically at the current cursor position.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the row matches the pattern, false otherwisethe active database cursor cur, Map<String, Object> the data of the row to compare currentRow)Verifies if the current row at the cursor position matches the provided data pattern. |
| public IndexSelector | Returns: the index selectorReturns the |
| public Map | Returns: the row pattern mapReturns the pattern of column names and values used to identify the target row. |
| public IFeedbackAction | Returns: a feedback action to be executed after persistencethe cursor positioned at the target row cur)Persists the command's changes to the row currently pointed to by the cursor. |
| currentRowMatches | back to summary |
|---|---|
| public boolean currentRowMatches(Cursor cur, Map<String, Object> currentRow) Verifies if the current row at the cursor position matches the provided data pattern. | |
| getIndexSelector | back to summary |
|---|---|
| public IndexSelector getIndexSelector() Returns the
| |
| getRowPattern | back to summary |
|---|---|
| public Map Returns the pattern of column names and values used to identify the target row. | |
| persistCurrentRow | back to summary |
|---|---|
| public IFeedbackAction persistCurrentRow(Cursor cur) throws IOException Persists the command's changes to the row currently pointed to by the cursor.
This is typically used by
| |