public abstract class AggregationEventProcessorConfig extends Object implements EventProcessorConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
AggregationEventProcessorConfig.Builder |
EventProcessorConfig.FallbackConfig| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_NAME |
TYPE_FIELD| Constructor and Description |
|---|
AggregationEventProcessorConfig() |
| Modifier and Type | Method and Description |
|---|---|
static AggregationEventProcessorConfig.Builder |
builder() |
abstract Optional<AggregationConditions> |
conditions() |
abstract long |
executeEveryMs() |
abstract List<String> |
groupBy() |
abstract String |
query() |
abstract com.google.common.collect.ImmutableSet<Parameter> |
queryParameters() |
Set<String> |
requiredPermissions()
Returns the permissions that are required to create the event processor configuration.
|
void |
resolveNativeEntity(EntityDescriptor entityDescriptor,
com.google.common.graph.MutableGraph<EntityDescriptor> mutableGraph) |
abstract long |
searchWithinMs() |
abstract List<AggregationSeries> |
series() |
abstract com.google.common.collect.ImmutableSet<String> |
streams() |
abstract AggregationEventProcessorConfig.Builder |
toBuilder() |
EventProcessorConfigEntity |
toContentPackEntity(EntityDescriptorIds entityDescriptorIds) |
Optional<EventProcessorSchedulerConfig> |
toJobSchedulerConfig(EventDefinition eventDefinition,
JobSchedulerClock clock)
Returns a
JobDefinitionConfig for this event processor configuration. |
ValidationResult |
validate()
Validates the event processor configuration.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittypegetContentPackPluginPackagepublic static final String TYPE_NAME
public abstract String query()
public abstract com.google.common.collect.ImmutableSet<Parameter> queryParameters()
public abstract com.google.common.collect.ImmutableSet<String> streams()
public abstract List<AggregationSeries> series()
public abstract Optional<AggregationConditions> conditions()
public abstract long searchWithinMs()
public abstract long executeEveryMs()
public Set<String> requiredPermissions()
EventProcessorConfigrequiredPermissions in interface EventProcessorConfigpublic static AggregationEventProcessorConfig.Builder builder()
public abstract AggregationEventProcessorConfig.Builder toBuilder()
public Optional<EventProcessorSchedulerConfig> toJobSchedulerConfig(EventDefinition eventDefinition, JobSchedulerClock clock)
EventProcessorConfigJobDefinitionConfig for this event processor configuration. If the event processor shouldn't
be scheduled, this method returns an empty Optional.toJobSchedulerConfig in interface EventProcessorConfigeventDefinition - the event definitionclock - the clock that can be used to get the current timepublic ValidationResult validate()
EventProcessorConfigvalidate in interface EventProcessorConfigpublic EventProcessorConfigEntity toContentPackEntity(EntityDescriptorIds entityDescriptorIds)
toContentPackEntity in interface ContentPackable<EventProcessorConfigEntity>public void resolveNativeEntity(EntityDescriptor entityDescriptor, com.google.common.graph.MutableGraph<EntityDescriptor> mutableGraph)
resolveNativeEntity in interface ContentPackable<EventProcessorConfigEntity>Copyright © 2012–2021 Graylog, Inc.. All rights reserved.