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)
Deprecated.
|
static InsertAllRequest.Builder |
builder(String datasetId,
String tableId,
InsertAllRequest.RowToInsert... rows)
Deprecated.
|
static InsertAllRequest.Builder |
builder(String datasetId,
String tableId,
Iterable<InsertAllRequest.RowToInsert> rows)
Deprecated.
|
static InsertAllRequest.Builder |
builder(TableId table)
Deprecated.
|
static InsertAllRequest.Builder |
builder(TableId table,
InsertAllRequest.RowToInsert... rows)
Deprecated.
|
static InsertAllRequest.Builder |
builder(TableId table,
Iterable<InsertAllRequest.RowToInsert> rows)
Deprecated.
|
static InsertAllRequest.Builder |
builder(TableInfo tableInfo,
InsertAllRequest.RowToInsert... rows)
Deprecated.
|
static InsertAllRequest.Builder |
builder(TableInfo tableInfo,
Iterable<InsertAllRequest.RowToInsert> rows)
Deprecated.
|
boolean |
equals(Object obj) |
List<InsertAllRequest.RowToInsert> |
getRows()
Returns the rows to be inserted.
|
TableId |
getTable()
Returns the destination table for rows insert request.
|
String |
getTemplateSuffix()
If specified, the destination table is treated as a base template.
|
int |
hashCode() |
Boolean |
ignoreUnknownValues()
Returns whether to accept rows that contain values that do not match the schema.
|
static InsertAllRequest.Builder |
newBuilder(String datasetId,
String tableId)
Returns a builder for an
InsertAllRequest object given the destination table. |
static InsertAllRequest.Builder |
newBuilder(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 |
newBuilder(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 |
newBuilder(TableId table)
Returns a builder for an
InsertAllRequest object given the destination table. |
static InsertAllRequest.Builder |
newBuilder(TableId table,
InsertAllRequest.RowToInsert... rows)
Returns a builder for an
InsertAllRequest object given the destination table and the
rows to insert. |
static InsertAllRequest.Builder |
newBuilder(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 |
newBuilder(TableInfo tableInfo,
InsertAllRequest.RowToInsert... rows)
Returns a builder for an
InsertAllRequest object given the destination table and the
rows to insert. |
static InsertAllRequest.Builder |
newBuilder(TableInfo tableInfo,
Iterable<InsertAllRequest.RowToInsert> rows)
Returns a builder for an
InsertAllRequest object given the destination table and the
rows to insert. |
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()
Deprecated.
|
Boolean |
skipInvalidRows()
Returns whether to insert all valid rows of a request, even if invalid rows exist.
|
TableId |
table()
Deprecated.
|
String |
templateSuffix()
Deprecated.
|
String |
toString() |
@Deprecated public TableId table()
public TableId getTable()
@Deprecated public List<InsertAllRequest.RowToInsert> rows()
public List<InsertAllRequest.RowToInsert> getRows()
public Boolean ignoreUnknownValues()
public Boolean skipInvalidRows()
@Deprecated 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 String getTemplateSuffix()
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);
}
@Deprecated public static InsertAllRequest.Builder builder(TableId table)
InsertAllRequest
object given the destination table.public static InsertAllRequest.Builder newBuilder(TableId table)
InsertAllRequest
object given the destination table.@Deprecated 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 newBuilder(TableId table, Iterable<InsertAllRequest.RowToInsert> rows)
InsertAllRequest
object given the destination table and the
rows to insert.@Deprecated 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 newBuilder(TableId table, InsertAllRequest.RowToInsert... rows)
InsertAllRequest
object given the destination table and the
rows to insert.@Deprecated public static InsertAllRequest.Builder builder(String datasetId, String tableId)
InsertAllRequest
object given the destination table.public static InsertAllRequest.Builder newBuilder(String datasetId, String tableId)
InsertAllRequest
object given the destination table.@Deprecated 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 newBuilder(String datasetId, String tableId, Iterable<InsertAllRequest.RowToInsert> rows)
InsertAllRequest
object given the destination table and the
rows to insert.@Deprecated 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 newBuilder(String datasetId, String tableId, InsertAllRequest.RowToInsert... rows)
InsertAllRequest
object given the destination table and the
rows to insert.@Deprecated 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 newBuilder(TableInfo tableInfo, Iterable<InsertAllRequest.RowToInsert> rows)
InsertAllRequest
object given the destination table and the
rows to insert.@Deprecated public static InsertAllRequest.Builder builder(TableInfo tableInfo, InsertAllRequest.RowToInsert... rows)
InsertAllRequest
object given the destination table and the
rows to insert.public static InsertAllRequest.Builder newBuilder(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 © 2017 Google. All rights reserved.