Class ExtensionAggregateBooleansQuery
java.lang.Object
com.djrapitops.plan.extension.implementation.storage.queries.ExtensionAggregateBooleansQuery
- All Implemented Interfaces:
Query<Map<Integer,
ExtensionData.Builder>>
public class ExtensionAggregateBooleansQuery
extends Object
implements Query<Map<Integer,ExtensionData.Builder>>
Query for selecting a percentage of true for each boolean provided for players.
Returns Map: PluginID - ExtensionData.Builder
.
How it is done: 1. Query count of boolean values 2. Query count of boolean=true 3. Combine with provider information 4. Map into ExtensionData objects by PluginID, one per ID
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ExtensionAggregateBooleansQuery
-
-
Method Details
-
executeQuery
- Specified by:
executeQuery
in interfaceQuery<Map<Integer,
ExtensionData.Builder>>
-