BatchApplyPolicy

BatchApplyPolicy

A policy affecting the behavior of batch apply operations.

Constructor

new BatchApplyPolicy(propsopt)

Description:
  • Initializes a new BatchApplyPolicy from the provided policy values.

Source:
Since:
  • v5.0.0
Parameters:
Name Type Attributes Description
props Object <optional>

Policy values

Members

commitLevel :number

Description:
  • Specifies the number of replicas required to be committed successfully when writing before returning transaction succeeded.

Source:
See:

Specifies the number of replicas required to be committed successfully when writing before returning transaction succeeded.

Type:
  • number

commitLevel :number

Description:
  • Specifies the number of replicas required to be committed successfully when writing before returning transaction succeeded.

Source:
See:

Specifies the number of replicas required to be committed successfully when writing before returning transaction succeeded.

Type:
  • number

durableDelete :boolean

Description:
  • Specifies whether a tombstone should be written in place of a record that gets deleted as a result of this operation.

Source:
Default Value:
  • false (do not tombstone deleted records)

Specifies whether a tombstone should be written in place of a record that gets deleted as a result of this operation.

Type:
  • boolean

durableDelete :boolean

Description:
  • Specifies whether a tombstone should be written in place of a record that gets deleted as a result of this operation.

Source:
Default Value:
  • false (do not tombstone deleted records)

Specifies whether a tombstone should be written in place of a record that gets deleted as a result of this operation.

Type:
  • boolean

filterExpression

Description:
  • Optional expression filter. If filter exp exists and evaluates to false, the transaction is ignored. This can be used to eliminate a client/server roundtrip in some cases.

Source:

Optional expression filter. If filter exp exists and evaluates to false, the transaction is ignored. This can be used to eliminate a client/server roundtrip in some cases.

filterExpression

Description:
  • Optional expression filter. If filter exp exists and evaluates to false, the transaction is ignored. This can be used to eliminate a client/server roundtrip in some cases.

Source:

Optional expression filter. If filter exp exists and evaluates to false, the transaction is ignored. This can be used to eliminate a client/server roundtrip in some cases.

key :number

Description:
  • Specifies the behavior for the key.

Source:
See:

Specifies the behavior for the key.

Type:
  • number

key :number

Description:
  • Specifies the behavior for the key.

Source:
See:

Specifies the behavior for the key.

Type:
  • number

ttl :number

Description:
  • The time-to-live (expiration) of the record in seconds.

Source:

The time-to-live (expiration) of the record in seconds.

Type:
  • number

ttl :number

Description:
  • The time-to-live (expiration) of the record in seconds.

Source:

The time-to-live (expiration) of the record in seconds.

Type:
  • number

BatchApplyPolicy

A policy affecting the behavior of batch apply operations.

Constructor

new BatchApplyPolicy(propsopt)

Description:
  • Initializes a new BatchApplyPolicy from the provided policy values.

Source:
Since:
  • v5.0.0
Parameters:
Name Type Attributes Description
props Object <optional>

Policy values

Members

commitLevel :number

Description:
  • Specifies the number of replicas required to be committed successfully when writing before returning transaction succeeded.

Source:
See:

Specifies the number of replicas required to be committed successfully when writing before returning transaction succeeded.

Type:
  • number

commitLevel :number

Description:
  • Specifies the number of replicas required to be committed successfully when writing before returning transaction succeeded.

Source:
See:

Specifies the number of replicas required to be committed successfully when writing before returning transaction succeeded.

Type:
  • number

durableDelete :boolean

Description:
  • Specifies whether a tombstone should be written in place of a record that gets deleted as a result of this operation.

Source:
Default Value:
  • false (do not tombstone deleted records)

Specifies whether a tombstone should be written in place of a record that gets deleted as a result of this operation.

Type:
  • boolean

durableDelete :boolean

Description:
  • Specifies whether a tombstone should be written in place of a record that gets deleted as a result of this operation.

Source:
Default Value:
  • false (do not tombstone deleted records)

Specifies whether a tombstone should be written in place of a record that gets deleted as a result of this operation.

Type:
  • boolean

filterExpression

Description:
  • Optional expression filter. If filter exp exists and evaluates to false, the transaction is ignored. This can be used to eliminate a client/server roundtrip in some cases.

Source:

Optional expression filter. If filter exp exists and evaluates to false, the transaction is ignored. This can be used to eliminate a client/server roundtrip in some cases.

filterExpression

Description:
  • Optional expression filter. If filter exp exists and evaluates to false, the transaction is ignored. This can be used to eliminate a client/server roundtrip in some cases.

Source:

Optional expression filter. If filter exp exists and evaluates to false, the transaction is ignored. This can be used to eliminate a client/server roundtrip in some cases.

key :number

Description:
  • Specifies the behavior for the key.

Source:
See:

Specifies the behavior for the key.

Type:
  • number

key :number

Description:
  • Specifies the behavior for the key.

Source:
See:

Specifies the behavior for the key.

Type:
  • number

ttl :number

Description:
  • The time-to-live (expiration) of the record in seconds.

Source:

The time-to-live (expiration) of the record in seconds.

Type:
  • number

ttl :number

Description:
  • The time-to-live (expiration) of the record in seconds.

Source:

The time-to-live (expiration) of the record in seconds.

Type:
  • number