Package org.opennms.nephron
Class Pipeline.WriteToElasticsearch
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>>,org.apache.beam.sdk.values.PDone>
-
- org.opennms.nephron.Pipeline.WriteToElasticsearch
-
- All Implemented Interfaces:
Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
- Enclosing class:
- Pipeline
public static class Pipeline.WriteToElasticsearch extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>>,org.apache.beam.sdk.values.PDone>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WriteToElasticsearch(String elasticUrl, String elasticUser, String elasticPassword, String elasticIndex, IndexStrategy indexStrategy, int elasticConnectTimeout, int elasticSocketTimeout, int elasticRetryCount, long elasticRetryDuration)WriteToElasticsearch(NephronOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.values.PDoneexpand(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> input)
-
-
-
Constructor Detail
-
WriteToElasticsearch
public WriteToElasticsearch(String elasticUrl, String elasticUser, String elasticPassword, String elasticIndex, IndexStrategy indexStrategy, int elasticConnectTimeout, int elasticSocketTimeout, int elasticRetryCount, long elasticRetryDuration)
-
WriteToElasticsearch
public WriteToElasticsearch(NephronOptions options)
-
-
Method Detail
-
expand
public org.apache.beam.sdk.values.PDone expand(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> input)
- Specified by:
expandin classorg.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>>,org.apache.beam.sdk.values.PDone>
-
-