public class HBaseSpanViewer extends Object
| Constructor and Description |
|---|
HBaseSpanViewer(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
static void |
appendJsonString(com.google.protobuf.Message message,
OutputStreamWriter writer) |
void |
close() |
List<SpanProtos.Span> |
getRootSpans() |
List<SpanProtos.Span> |
getSpans(long traceid) |
static void |
main(String[] args)
Run basic test.
|
void |
startClient() |
void |
stopClient() |
static String |
toJsonString(com.google.protobuf.Message message) |
public HBaseSpanViewer(org.apache.hadoop.conf.Configuration conf)
public void close()
public void startClient()
public void stopClient()
public List<SpanProtos.Span> getSpans(long traceid) throws IOException
IOExceptionpublic List<SpanProtos.Span> getRootSpans() throws IOException
IOExceptionpublic static String toJsonString(com.google.protobuf.Message message) throws IOException
IOExceptionpublic static void appendJsonString(com.google.protobuf.Message message,
OutputStreamWriter writer)
throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 2016 The Apache Software Foundation. All Rights Reserved.