org.compass.gps.device.jdbc.snapshot
Class CreateAndUpdateSnapshotEvent
java.lang.Object
org.compass.gps.device.jdbc.snapshot.AbstractSnapshotEvent
org.compass.gps.device.jdbc.snapshot.CreateAndUpdateSnapshotEvent
public class CreateAndUpdateSnapshotEvent
- extends AbstractSnapshotEvent
A create and update snapshot event, works with
JdbcSnapshotEventListener.onCreateAndUpdate(CreateAndUpdateSnapshotEvent).
Holds the
ResultSetToResourceMapping that
maps to the result set that initiated the event, a list of
JdbcAliasRowSnapshot for all the
row snapapshots that were created and a list for all the ones that were
updated, and the CompassTemplate to use in order to reflect
the changes to the index.
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateAndUpdateSnapshotEvent
public CreateAndUpdateSnapshotEvent(Connection connection,
JdbcDialect dialect,
ResultSetToResourceMapping mapping,
List createSnapshots,
List updateSnapshots,
CompassGpsInterfaceDevice compassGps)
getCreateSnapshots
public List getCreateSnapshots()
getUpdateSnapshots
public List getUpdateSnapshots()
getMapping
public ResultSetToResourceMapping getMapping()
getCompassGps
public CompassGpsInterfaceDevice getCompassGps()
Copyright (c) 2004-2008 The Compass Project.