public final class InsertAllRequest extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
InsertAllRequest.Builder |
static class |
InsertAllRequest.RowToInsert
A Google Big Query row to be inserted into a table.
|
| Modifier and Type | Method and Description |
|---|---|
static InsertAllRequest.Builder |
builder(String datasetId,
String tableId)
Returns a builder for an
InsertAllRequest object given the destination table. |
static InsertAllRequest.Builder |
builder(String datasetId,
String tableId,
InsertAllRequest.RowToInsert... rows)
Returns a builder for an
InsertAllRequest object given the destination table and the
rows to insert. |
static InsertAllRequest.Builder |
builder(String datasetId,
String tableId,
Iterable<InsertAllRequest.RowToInsert> rows)
Returns a builder for an
InsertAllRequest object given the destination table and the
rows to insert. |
static InsertAllRequest.Builder |
builder(TableId table)
Returns a builder for an
InsertAllRequest object given the destination table. |
static InsertAllRequest.Builder |
builder(TableId table,
InsertAllRequest.RowToInsert... rows)
Returns a builder for an
InsertAllRequest object given the destination table and the
rows to insert. |
static InsertAllRequest.Builder |
builder(TableId table,
Iterable<InsertAllRequest.RowToInsert> rows)
Returns a builder for an
InsertAllRequest object given the destination table and the
rows to insert. |
static InsertAllRequest.Builder |
builder(TableInfo tableInfo,
InsertAllRequest.RowToInsert... rows)
Returns a builder for an
InsertAllRequest object given the destination table and the
rows to insert. |
static InsertAllRequest.Builder |
builder(TableInfo tableInfo,
Iterable<InsertAllRequest.RowToInsert> rows)
Returns a builder for an
InsertAllRequest object given the destination table and the
rows to insert. |
boolean |
equals(Object obj) |
int |
hashCode() |
Boolean |
ignoreUnknownValues()
Returns whether to accept rows that contain values that do not match the schema.
|
static InsertAllRequest |
of(String datasetId,
String tableId,
InsertAllRequest.RowToInsert... rows)
Returns a
InsertAllRequest object given the destination table and the rows to insert. |
static InsertAllRequest |
of(String datasetId,
String tableId,
Iterable<InsertAllRequest.RowToInsert> rows)
Returns a
InsertAllRequest object given the destination table and the rows to insert. |
static InsertAllRequest |
of(TableId tableId,
InsertAllRequest.RowToInsert... rows)
Returns a
InsertAllRequest object given the destination table and the rows to insert. |
static InsertAllRequest |
of(TableId tableId,
Iterable<InsertAllRequest.RowToInsert> rows)
Returns a
InsertAllRequest object given the destination table and the rows to insert. |
static InsertAllRequest |
of(TableInfo tableInfo,
InsertAllRequest.RowToInsert... rows)
Returns a
InsertAllRequest object given the destination table and the rows to insert. |
static InsertAllRequest |
of(TableInfo tableInfo,
Iterable<InsertAllRequest.RowToInsert> rows)
Returns a
InsertAllRequest object given the destination table and the rows to insert. |
List<InsertAllRequest.RowToInsert> |
rows()
Returns the rows to be inserted.
|
Boolean |
skipInvalidRows()
Returns whether to insert all valid rows of a request, even if invalid rows exist.
|
TableId |
table()
Returns the destination table for rows insert request.
|
String |
templateSuffix()
If specified, the destination table is treated as a base template.
|
String |
toString() |
public TableId table()
public List<InsertAllRequest.RowToInsert> rows()
public Boolean ignoreUnknownValues()
public Boolean skipInvalidRows()
public String templateSuffix()
BigQuery.insertAll(InsertAllRequest) is
called use:
String suffixTableId = ...;
TableInfo suffixTable = bigquery.getTable(DATASET, suffixTableId);
while (suffixTable == null) {
Thread.sleep(1000L);
suffixTable = bigquery.getTable(DATASET, suffixTableId);
}public static InsertAllRequest.Builder builder(TableId table)
InsertAllRequest object given the destination table.public static InsertAllRequest.Builder builder(TableId table, Iterable<InsertAllRequest.RowToInsert> rows)
InsertAllRequest object given the destination table and the
rows to insert.public static InsertAllRequest.Builder builder(TableId table, InsertAllRequest.RowToInsert... rows)
InsertAllRequest object given the destination table and the
rows to insert.public static InsertAllRequest.Builder builder(String datasetId, String tableId)
InsertAllRequest object given the destination table.public static InsertAllRequest.Builder builder(String datasetId, String tableId, Iterable<InsertAllRequest.RowToInsert> rows)
InsertAllRequest object given the destination table and the
rows to insert.public static InsertAllRequest.Builder builder(String datasetId, String tableId, InsertAllRequest.RowToInsert... rows)
InsertAllRequest object given the destination table and the
rows to insert.public static InsertAllRequest.Builder builder(TableInfo tableInfo, Iterable<InsertAllRequest.RowToInsert> rows)
InsertAllRequest object given the destination table and the
rows to insert.public static InsertAllRequest.Builder builder(TableInfo tableInfo, InsertAllRequest.RowToInsert... rows)
InsertAllRequest object given the destination table and the
rows to insert.public static InsertAllRequest of(TableId tableId, Iterable<InsertAllRequest.RowToInsert> rows)
InsertAllRequest object given the destination table and the rows to insert.public static InsertAllRequest of(TableId tableId, InsertAllRequest.RowToInsert... rows)
InsertAllRequest object given the destination table and the rows to insert.public static InsertAllRequest of(String datasetId, String tableId, Iterable<InsertAllRequest.RowToInsert> rows)
InsertAllRequest object given the destination table and the rows to insert.public static InsertAllRequest of(String datasetId, String tableId, InsertAllRequest.RowToInsert... rows)
InsertAllRequest object given the destination table and the rows to insert.public static InsertAllRequest of(TableInfo tableInfo, Iterable<InsertAllRequest.RowToInsert> rows)
InsertAllRequest object given the destination table and the rows to insert.public static InsertAllRequest of(TableInfo tableInfo, InsertAllRequest.RowToInsert... rows)
InsertAllRequest object given the destination table and the rows to insert.Copyright © 2016 Google. All rights reserved.