public interface Codec
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Codec.Factory |
| Modifier and Type | Field and Description |
|---|---|
static Codec.Factory |
FACTORY |
static Codec |
JSON |
static Codec |
THRIFT |
| Modifier and Type | Method and Description |
|---|---|
List<DependencyLink> |
readDependencyLinks(byte[] bytes)
Returns null if the dependency links couldn't be decoded
|
Span |
readSpan(byte[] bytes)
Returns null if the span couldn't be decoded
|
List<Span> |
readSpans(byte[] bytes)
Returns null if the spans couldn't be decoded
|
byte[] |
writeDependencyLinks(List<DependencyLink> value)
Returns null if the dependency links couldn't be encoded
|
byte[] |
writeSpan(Span value)
Returns null if the span couldn't be encoded
|
byte[] |
writeSpans(List<Span> value)
Returns null if the spans couldn't be encoded
|
byte[] |
writeTraces(List<List<Span>> value)
Returns null if the traces couldn't be encoded
|
static final Codec JSON
static final Codec THRIFT
static final Codec.Factory FACTORY
@Nullable Span readSpan(byte[] bytes)
@Nullable byte[] writeSpan(Span value)
@Nullable List<Span> readSpans(byte[] bytes)
@Nullable byte[] writeSpans(List<Span> value)
@Nullable byte[] writeTraces(List<List<Span>> value)
@Nullable List<DependencyLink> readDependencyLinks(byte[] bytes)
@Nullable byte[] writeDependencyLinks(List<DependencyLink> value)
Copyright © 2015–2016 OpenZipkin. All rights reserved.