public class BigQueryJsonDataWriter extends Object implements AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
append(org.json.JSONArray data,
long offset) |
void |
close() |
void |
finalizeWriteStream()
Call this method before committing the stream
|
String |
getStreamName() |
public void append(org.json.JSONArray data,
long offset)
throws com.google.protobuf.Descriptors.DescriptorValidationException,
IOException
data - JSONArray to be appendedoffset - offset at which data has to be addedcom.google.protobuf.Descriptors.DescriptorValidationExceptionIOExceptionpublic void finalizeWriteStream()
public String getStreamName()
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2023. All rights reserved.