public class TableDataWriteChannel extends com.google.cloud.BaseWriteChannel<BigQueryOptions,WriteChannelConfiguration>
com.google.cloud.BaseWriteChannel.BaseState<ServiceOptionsT extends com.google.cloud.ServiceOptions<?,ServiceOptionsT>,EntityT extends Serializable>
Modifier and Type | Method and Description |
---|---|
protected void |
flushBuffer(int length,
boolean last) |
Job |
getJob()
Returns the
Job created to insert the rows. |
protected com.google.cloud.bigquery.TableDataWriteChannel.StateImpl.Builder |
stateBuilder() |
protected void flushBuffer(int length, boolean last)
flushBuffer
in class com.google.cloud.BaseWriteChannel<BigQueryOptions,WriteChannelConfiguration>
protected com.google.cloud.bigquery.TableDataWriteChannel.StateImpl.Builder stateBuilder()
stateBuilder
in class com.google.cloud.BaseWriteChannel<BigQueryOptions,WriteChannelConfiguration>
public Job getJob()
Job
created to insert the rows. The job is available only once the upload
finished and the channel was closed, returns null
otherwise.Copyright © 2019 Google LLC. All rights reserved.