public class JsonObjectStreamSink extends Object implements Sink
| Constructor and Description |
|---|
JsonObjectStreamSink(ConfigLoadContext sc,
org.json.JSONObject config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush()
Flush the sink
|
List<org.json.JSONObject> |
getList() |
void |
init() |
void |
process(Message msg)
Process a message into the output sink.
|
public JsonObjectStreamSink(ConfigLoadContext sc, org.json.JSONObject config) throws Builder.BuildFailure
Builder.BuildFailurepublic void flush()
Sinkpublic void process(Message msg)
Sinkpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic List<org.json.JSONObject> getList()
Copyright © 2022 continual.io. All rights reserved.