public static final class RawInsertRecordsRequest.Options extends Object
UPDATE_ON_EXISTING_PK
: Specifies the record collision policy for
inserting into a table with a primary key. If set to true
, any existing
table record with primary key values that match those of a record being
inserted will be replaced by that new record. If set to false
,
any existing table record with primary key values that match those of a
record being inserted will remain unchanged and the new record
discarded. If the specified table does not have a primary key, then
this option is ignored.
Supported values:
The default value is FALSE
.
RETURN_RECORD_IDS
: If true
then return the internal record id
along for each inserted record.
Supported values:
The default value is FALSE
.
Map
.
A set of string constants for the parameter options
.Modifier and Type | Field and Description |
---|---|
static String |
FALSE |
static String |
RETURN_RECORD_IDS
If
true then return the internal record id along for each
inserted record. |
static String |
TRUE |
static String |
UPDATE_ON_EXISTING_PK
Specifies the record collision policy for inserting into a table
with a primary key.
|
public static final String UPDATE_ON_EXISTING_PK
true
, any existing
table record with primary key values that match those of a record
being inserted will be replaced by that new record. If set to
false
, any existing table record with primary key values
that match those of a record being inserted will remain unchanged
and the new record discarded. If the specified table does not have
a primary key, then this option is ignored.
Supported values:
The default value is FALSE
.public static final String TRUE
public static final String FALSE
public static final String RETURN_RECORD_IDS
true
then return the internal record id along for each
inserted record.
Supported values:
The default value is FALSE
.Copyright © 2019. All rights reserved.