public class DataStoreEvent
extends java.lang.Object
DataStore
, and used to notify all subscribed
DataStoreListener
of the change.DataStore
,
DataStoreListener
Modifier and Type | Field and Description |
---|---|
private DBIDs |
inserts
Insertions.
|
private DBIDs |
removals
Removals.
|
private DBIDs |
updates
Updates.
|
Constructor and Description |
---|
DataStoreEvent(DBIDs inserts,
DBIDs removals,
DBIDs updates)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DBIDs |
getInserts()
Get the inserted objects.
|
DBIDs |
getRemovals()
Get the removed objects.
|
DBIDs |
getUpdates()
Get the updates objects.
|
static DataStoreEvent |
insertionEvent(DBIDs inserts)
Insertion event.
|
static DataStoreEvent |
removalEvent(DBIDs removals)
Removal event.
|
static DataStoreEvent |
updateEvent(DBIDs updates)
Update event.
|
private DBIDs inserts
private DBIDs removals
private DBIDs updates
public static DataStoreEvent insertionEvent(DBIDs inserts)
inserts
- Insertionspublic static DataStoreEvent removalEvent(DBIDs removals)
removals
- Removalpublic static DataStoreEvent updateEvent(DBIDs updates)
updates
- Updatespublic DBIDs getInserts()
public DBIDs getRemovals()
public DBIDs getUpdates()
Copyright © 2019 ELKI Development Team. License information.