Package com.syzygy.events.database
Interface Database.Querrier.DataListener<S extends Database.Querrier<S>,W extends Database.Querrier.QueryResult<?>>
- Type Parameters:
S- The type of the querrierW- The type of return data
- Enclosing interface:
- Database.Querrier<T extends Database.Querrier<T>>
public static interface Database.Querrier.DataListener<S extends Database.Querrier<S>,W extends Database.Querrier.QueryResult<?>>
Listener that is called when a query finishes loading data and returns data
-
Method Summary
Modifier and TypeMethodDescriptionvoidonCompletion(S query, W data, boolean success) Called when the query has completed getting the data
-
Method Details
-
onCompletion
Called when the query has completed getting the data- Parameters:
query- The querydata- The list of instances found by the query
-