public abstract class Aggregation extends Object implements Configurable, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
size |
protected AggregationType |
type |
| Constructor and Description |
|---|
Aggregation() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(BulletConfig config)
Takes a
BulletConfig containing configuration and applies it to itself. |
List<String> |
getFields()
Gets the aggregation fields.
|
abstract Strategy |
getStrategy(BulletConfig config)
Returns a new
Strategy instance that handles this aggregation. |
String |
toString() |
protected Integer size
protected final AggregationType type
public void configure(BulletConfig config)
ConfigurableBulletConfig containing configuration and applies it to itself.configure in interface Configurableconfig - The configuration containing the settings.public abstract Strategy getStrategy(BulletConfig config)
Strategy instance that handles this aggregation.config - The BulletConfig containing configuration for the strategy.public List<String> getFields()
Copyright © 2021. All rights reserved.