Package com.wavefront.ingester
Class AbstractIngesterFormatter.IngesterFormatBuilder<T extends org.apache.avro.specific.SpecificRecordBase>
- java.lang.Object
-
- com.wavefront.ingester.AbstractIngesterFormatter.IngesterFormatBuilder<T>
-
- Direct Known Subclasses:
EventIngesterFormatter.EventIngesterFormatBuilder,ReportHistogramIngesterFormatter.ReportHistogramIngesterFormatBuilder,ReportMetricIngesterFormatter.ReportMetricIngesterFormatBuilder,ReportPointIngesterFormatter.ReportPointIngesterFormatBuilder,ReportSourceTagIngesterFormatter.SourceTagIngesterFormatBuilder,SpanIngesterFormatter.SpanFormatBuilder
- Enclosing class:
- AbstractIngesterFormatter<T extends org.apache.avro.specific.SpecificRecordBase>
public abstract static class AbstractIngesterFormatter.IngesterFormatBuilder<T extends org.apache.avro.specific.SpecificRecordBase> extends Object
This class can be used to create a parser for content that proxy receives.
-
-
Constructor Summary
Constructors Constructor Description IngesterFormatBuilder()
-
Method Summary
-
-
-
Method Detail
-
caseSensitiveLiterals
public AbstractIngesterFormatter.IngesterFormatBuilder<T> caseSensitiveLiterals(List<String> literals)
-
caseSensitiveLiterals
public AbstractIngesterFormatter.IngesterFormatBuilder<T> caseSensitiveLiterals(List<String> literals, BiConsumer<T,String> textConsumer)
-
caseInsensitiveLiterals
public AbstractIngesterFormatter.IngesterFormatBuilder<T> caseInsensitiveLiterals(List<String> literals)
-
text
public AbstractIngesterFormatter.IngesterFormatBuilder<T> text(BiConsumer<T,String> textConsumer)
-
value
public AbstractIngesterFormatter.IngesterFormatBuilder<T> value(BiConsumer<T,Double> valueConsumer)
-
centroids
public AbstractIngesterFormatter.IngesterFormatBuilder<T> centroids()
-
timestamp
public AbstractIngesterFormatter.IngesterFormatBuilder<T> timestamp(BiConsumer<T,Long> timestampConsumer)
-
optionalTimestamp
public AbstractIngesterFormatter.IngesterFormatBuilder<T> optionalTimestamp(BiConsumer<T,Long> timestampConsumer)
-
rawTimestamp
public AbstractIngesterFormatter.IngesterFormatBuilder<T> rawTimestamp(BiConsumer<T,Long> timestampConsumer)
-
annotationMap
public AbstractIngesterFormatter.IngesterFormatBuilder<T> annotationMap(BiConsumer<T,Map<String,String>> mapConsumer)
-
annotationMap
public AbstractIngesterFormatter.IngesterFormatBuilder<T> annotationMap(Function<T,Map<String,String>> mapProvider, BiConsumer<T,Map<String,String>> mapConsumer)
-
annotationMap
public AbstractIngesterFormatter.IngesterFormatBuilder<T> annotationMap(BiConsumer<T,Map<String,String>> mapConsumer, int limit)
-
annotationList
public AbstractIngesterFormatter.IngesterFormatBuilder<T> annotationList(BiConsumer<T,List<Annotation>> listConsumer)
-
annotationList
public AbstractIngesterFormatter.IngesterFormatBuilder<T> annotationList(BiConsumer<T,List<Annotation>> listConsumer, Predicate<String> stringPredicate)
-
annotationList
public AbstractIngesterFormatter.IngesterFormatBuilder<T> annotationList(Function<T,List<Annotation>> listProvider, BiConsumer<T,List<Annotation>> listConsumer)
-
annotationList
public AbstractIngesterFormatter.IngesterFormatBuilder<T> annotationList(BiConsumer<T,List<Annotation>> listConsumer, int limit)
-
annotationMultimap
public AbstractIngesterFormatter.IngesterFormatBuilder<T> annotationMultimap(BiConsumer<T,Map<String,List<String>>> multimapConsumer)
-
textList
public AbstractIngesterFormatter.IngesterFormatBuilder<T> textList(BiConsumer<T,List<String>> listConsumer)
-
build
public abstract AbstractIngesterFormatter<T> build()
-
-