public class FluxCsvParser extends Object
com.influxdb.query| Modifier and Type | Class and Description |
|---|---|
static class |
FluxCsvParser.FluxCsvState |
static class |
FluxCsvParser.FluxRecordOrTable |
static interface |
FluxCsvParser.FluxResponseConsumer |
class |
FluxCsvParser.FluxResponseConsumerTable |
static class |
FluxCsvParser.ResponseMetadataMode |
| Constructor and Description |
|---|
FluxCsvParser() |
FluxCsvParser(FluxCsvParser.ResponseMetadataMode responseMetadataMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
parseFluxResponse(okio.BufferedSource bufferedSource,
Cancellable cancellable,
FluxCsvParser.FluxResponseConsumer consumer)
Parse Flux CSV response to
FluxCsvParser.FluxResponseConsumer. |
FluxCsvParser.FluxRecordOrTable |
parseNextResponse(FluxCsvParser.FluxCsvState state)
|
public FluxCsvParser()
public FluxCsvParser(@Nonnull FluxCsvParser.ResponseMetadataMode responseMetadataMode)
public void parseFluxResponse(@Nonnull okio.BufferedSource bufferedSource, @Nonnull Cancellable cancellable, @Nonnull FluxCsvParser.FluxResponseConsumer consumer) throws IOException
FluxCsvParser.FluxResponseConsumer.bufferedSource - with datacancellable - to cancel parsingconsumer - to accept FluxTables and FluxRecordsIOException - If there is a problem with reading CSV@Nonnull public FluxCsvParser.FluxRecordOrTable parseNextResponse(@Nonnull FluxCsvParser.FluxCsvState state)
state - current state of parsingCopyright © 2018–2022 InfluxData, Inc.. All rights reserved.