Package zipkin2.elasticsearch.internal
Class BulkIndexWriter<T>
- java.lang.Object
-
- zipkin2.elasticsearch.internal.BulkIndexWriter<T>
-
public abstract class BulkIndexWriter<T> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static BulkIndexWriter<java.util.Map.Entry<java.lang.String,java.lang.String>>
AUTOCOMPLETE
static BulkIndexWriter<Span>
SPAN
static BulkIndexWriter<Span>
SPAN_SEARCH_DISABLED
-
Constructor Summary
Constructors Constructor Description BulkIndexWriter()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.String
writeDocument(T input, io.netty.buffer.ByteBufOutputStream sink)
Write a complete json document according to index strategy and returns the ID field.
-
-
-
Field Detail
-
SPAN
public static final BulkIndexWriter<Span> SPAN
-
SPAN_SEARCH_DISABLED
public static final BulkIndexWriter<Span> SPAN_SEARCH_DISABLED
-
AUTOCOMPLETE
public static final BulkIndexWriter<java.util.Map.Entry<java.lang.String,java.lang.String>> AUTOCOMPLETE
-
-
Method Detail
-
writeDocument
public abstract java.lang.String writeDocument(T input, io.netty.buffer.ByteBufOutputStream sink)
Write a complete json document according to index strategy and returns the ID field.
-
-