public static final class AppendRecordsRequest.Options extends Object
OFFSET
: A
positive integer indicating the number of initial results to skip from
source table (specified by sourceTableName
). Default is 0. The
minimum allowed value is 0. The maximum allowed value is MAX_INT.
LIMIT
: A positive
integer indicating the maximum number of results to be returned from
source table (specified by sourceTableName
). Or END_OF_SET
(-9999) to indicate that the max number of results should be returned.
EXPRESSION
:
Optional filter expression to apply to the source table (specified by
sourceTableName
). Empty by default.
ORDER_BY
:
Comma-separated list of the columns to be sorted from source table
(specified by sourceTableName
) by; e.g. 'timestamp asc, x desc'.
The columns specified must be present in fieldMap
. If any alias
is given for any column name, the alias must be used, rather than the
original column name.
UPDATE_ON_EXISTING_PK
: Specifies the record collision policy for
inserting the source table records (specified by sourceTableName
) into the target table (specified by tableName
)
table with a primary key. If set to true
, any existing
target table record with primary key values that match those of a source
table record being inserted will be replaced by that new record. If set
to false
, any existing target table record with primary key
values that match those of a source table 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
.
options
.Modifier and Type | Field and Description |
---|---|
static String |
EXPRESSION
Optional filter expression to apply to the source table (specified
by
sourceTableName ). |
static String |
FALSE |
static String |
LIMIT
A positive integer indicating the maximum number of results to be
returned from source table (specified by
sourceTableName ). |
static String |
OFFSET
A positive integer indicating the number of initial results to skip
from source table (specified by
sourceTableName ). |
static String |
ORDER_BY
Comma-separated list of the columns to be sorted from source table
(specified by
sourceTableName ) by; e.g. |
static String |
TRUE |
static String |
UPDATE_ON_EXISTING_PK
Specifies the record collision policy for inserting the source table
records (specified by
sourceTableName ) into the target table
(specified by tableName ) table with a primary key. |
public static final String OFFSET
sourceTableName
). Default is
0. The minimum allowed value is 0. The maximum allowed value is
MAX_INT.public static final String LIMIT
sourceTableName
).
Or END_OF_SET (-9999) to indicate that the max number of results
should be returned.public static final String EXPRESSION
sourceTableName
). Empty by default.public static final String ORDER_BY
sourceTableName
) by; e.g. 'timestamp asc, x
desc'. The columns specified must be present in fieldMap
.
If any alias is given for any column name, the alias must be used,
rather than the original column name.public static final String UPDATE_ON_EXISTING_PK
sourceTableName
) into the target table
(specified by tableName
) table with a primary key. If set to true
, any existing
target table record with primary key values that match those of a
source table record being inserted will be replaced by that new
record. If set to false
, any existing target table record
with primary key values that match those of a source table 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
Copyright © 2018. All rights reserved.