Class BeginSnapshotEvent

All Implemented Interfaces:
Serializable

public final class BeginSnapshotEvent extends AbstractQueryEvent
The event dispatched when a query snapshot begins.
See Also:
  • Constructor Details

    • BeginSnapshotEvent

      public BeginSnapshotEvent(Object source, List<Schema.Field> fields)
      Parameters:
      source - the source of the event
      fields - the list of fields that the query tuples will have
  • Method Details

    • getFields

      public List<Schema.Field> getFields()
      Get the list of fields that the query tuples will have
      Returns:
      the list of fields (schema) for the query tuples
    • dispatch

      public void dispatch(QueryListener listener)
      Dispatches this event to the listener
      Specified by:
      dispatch in class AbstractQueryEvent
      Parameters:
      listener - the query listener