com.sleepycat.je.sync
Interface ChangeReader.Change

All Known Implementing Classes:
LogChangeReader.JEChange
Enclosing interface:
ChangeReader

public static interface ChangeReader.Change

A change operation that is part of a ChangeTxn; used only by SyncProcessor implementations and custom sources of change set information.


Method Summary
 DatabaseEntry getData()
          Returns the record data for this change, or null if this is a DELETE operation.
 String getDatabaseName()
          Returns the name of the local database to which this change was applied.
 DatabaseEntry getKey()
          Returns the record key for this change.
 ChangeReader.ChangeType getType()
          Returns the operation type of this change.
 

Method Detail

getType

ChangeReader.ChangeType getType()
Returns the operation type of this change.


getKey

DatabaseEntry getKey()
Returns the record key for this change.


getData

DatabaseEntry getData()
Returns the record data for this change, or null if this is a DELETE operation.


getDatabaseName

String getDatabaseName()
Returns the name of the local database to which this change was applied.



Copyright (c) 2004-2012 Oracle. All rights reserved.