Package com.wavefront.ingester
Class ReportHistogramIngesterFormatter
- java.lang.Object
-
- com.wavefront.ingester.AbstractIngesterFormatter<ReportHistogram>
-
- com.wavefront.ingester.ReportHistogramIngesterFormatter
-
public class ReportHistogramIngesterFormatter extends AbstractIngesterFormatter<ReportHistogram>
Builder pattern for creating new ingestion formats. Inspired by the date time formatters in Joda.- Author:
- Clement Pang (clement@wavefront.com).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReportHistogramIngesterFormatter.ReportHistogramIngesterFormatBuilder-
Nested classes/interfaces inherited from class com.wavefront.ingester.AbstractIngesterFormatter
AbstractIngesterFormatter.AnnotationList<T extends org.apache.avro.specific.SpecificRecordBase>, AbstractIngesterFormatter.Centroids<T extends org.apache.avro.specific.SpecificRecordBase>, AbstractIngesterFormatter.FormatterElement<T>, AbstractIngesterFormatter.IngesterFormatBuilder<T extends org.apache.avro.specific.SpecificRecordBase>, AbstractIngesterFormatter.StringList<T extends org.apache.avro.specific.SpecificRecordBase>, AbstractIngesterFormatter.StringMap<T extends org.apache.avro.specific.SpecificRecordBase>, AbstractIngesterFormatter.StringMultiMap<T extends org.apache.avro.specific.SpecificRecordBase>, AbstractIngesterFormatter.Text<T extends org.apache.avro.specific.SpecificRecordBase>, AbstractIngesterFormatter.Timestamp<T extends org.apache.avro.specific.SpecificRecordBase>, AbstractIngesterFormatter.Value<T extends org.apache.avro.specific.SpecificRecordBase>
-
-
Field Summary
-
Fields inherited from class com.wavefront.ingester.AbstractIngesterFormatter
elements, EVENT_LITERAL, SOURCE_DESCRIPTION_LITERAL, SOURCE_TAG_LITERAL
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportHistogramdrive(String input, Supplier<String> defaultHostNameSupplier, String customerId, List<String> customSourceTags, IngesterContext ingesterContext)static AbstractIngesterFormatter.IngesterFormatBuilder<ReportHistogram>newBuilder()-
Methods inherited from class com.wavefront.ingester.AbstractIngesterFormatter
drive, getHost, unquote
-
-
-
-
Method Detail
-
newBuilder
public static AbstractIngesterFormatter.IngesterFormatBuilder<ReportHistogram> newBuilder()
-
drive
public ReportHistogram drive(String input, Supplier<String> defaultHostNameSupplier, String customerId, @Nullable List<String> customSourceTags, @Nullable IngesterContext ingesterContext)
- Specified by:
drivein classAbstractIngesterFormatter<ReportHistogram>
-
-