Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mwc.sqld.db
Class SimpleDeleteEngine

    java.lang.Object
      |
      +--com.mwc.sqld.db.SimpleDeleteEngine

All Implemented Interfaces:
  DeleteEngine

public class SimpleDeleteEngine
extends java.lang.Object
implements DeleteEngine

Constructor Summary
`SimpleDeleteEngine()`

Method Summary
`int` | `delete(UpdateCurser[] data, Criteria c)` Do a delete operation on some cursers for some given criteria.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SimpleDeleteEngine

    public SimpleDeleteEngine()

Method Detail

### delete

    public int delete(UpdateCurser[] data,
                      Criteria c)
               throws DBException

  Do a delete operation on some cursers for some given criteria.
  Specified by:
    `delete` in interface `DeleteEngine`
  Parameters:
    `data` - the array of cursers to traverse.
    `c` - the criteria for deletetion, null for delte all.
  Returns:
    the number of records delteted.
  Throws:
    `DBException` - if an underlying db exception is thrown.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD