Interface MemoryResultSetEvent

All Superinterfaces:
Event
All Known Implementing Classes:
MemoryResultSetEventImpl

public interface MemoryResultSetEvent extends Event
An event that is produced to indicate the presence of specific data in a JDBC-database or similar. While ResultSetEvent provides direct access to the underlying ResultSet, this event provides similar data structures but in memory. Therefore these events are usually serialisable.
Unlike a normal result set, a memory result set has no position, it cannot be closed and it cannot be updated. Therefore it can only be consumed logically, its data cannot be changed.
Author:
Ulrich Kreher
  • Method Details

    • getResultSet

      MemoryResultSet getResultSet()
      Gets the memory result set that caused this event.
      This result set cannot be changed.
      Returns:
      The memory result set that caused this event.