public static final class InsertRecordsRequest.Options extends Object
primary key
,
then if the value is 'true' then if any of the records being added have the same primary key as existing records, the
existing records are replaced (i.e. *updated*) with the given records. If 'false' and if the records being added have the
same primary key as existing records, the given records with existing primary keys are ignored (the existing records are left
unchanged). It is quite possible that in this case some of the given records will be inserted and some (those having
existing primary keys) will be ignored (or updated). If the specified table does not have a primary key column then this
optional parameter is ignored. Values: true, false.
options
.
The Raw version of this method can be used to specify the encoding scheme of the request.Modifier and Type | Field and Description |
---|---|
static String |
FALSE
The Raw version of this method can be used to specify the encoding scheme of the request.
|
static String |
RETURN_RECORD_IDS
If 'true' then return GPUdb's internal record id along for each inserted record.
|
static String |
ROUTE_TO_ADDRESS
Route to a specific rank/tom.
|
static String |
TRUE
The Raw version of this method can be used to specify the encoding scheme of the request.
|
static String |
UPDATE_ON_EXISTING_PK
If the table has a
primary key , then if the value is 'true' then if
any of the records being added have the same primary key as existing records, the existing records are replaced (i.e. |
public static final String UPDATE_ON_EXISTING_PK
primary key
, then if the value is 'true' then if
any of the records being added have the same primary key as existing records, the existing records are replaced (i.e.
*updated*) with the given records. If 'false' and if the records being added have the same primary key as existing
records, the given records with existing primary keys are ignored (the existing records are left unchanged). It is quite
possible that in this case some of the given records will be inserted and some (those having existing primary keys) will
be ignored (or updated). If the specified table does not have a primary key column then this optional parameter is
ignored. Values: true, false.
public static final String TRUE
public static final String FALSE
public static final String RETURN_RECORD_IDS
public static final String ROUTE_TO_ADDRESS
Copyright © 2016. All rights reserved.