Google Cloud Dataflow V1beta3 Client - Class KeyRangeLocation (0.6.4)

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class KeyRangeLocation.

Location information for a specific key-range of a sharded computation.

Currently we only support UTF-8 character splits to simplify encoding into JSON.

Generated from protobuf message google.dataflow.v1beta3.KeyRangeLocation

Namespace

Google \ Cloud \ Dataflow \ V1beta3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start string

The start (inclusive) of the key range.

↳ end string

The end (exclusive) of the key range.

↳ delivery_endpoint string

The physical location of this range assignment to be used for streaming computation cross-worker message delivery.

↳ data_disk string

The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

↳ deprecated_persistent_directory string

DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.

getStart

The start (inclusive) of the key range.

Returns
Type Description
string

setStart

The start (inclusive) of the key range.

Parameter
Name Description
var string
Returns
Type Description
$this

getEnd

The end (exclusive) of the key range.

Returns
Type Description
string

setEnd

The end (exclusive) of the key range.

Parameter
Name Description
var string
Returns
Type Description
$this

getDeliveryEndpoint

The physical location of this range assignment to be used for streaming computation cross-worker message delivery.

Returns
Type Description
string

setDeliveryEndpoint

The physical location of this range assignment to be used for streaming computation cross-worker message delivery.

Parameter
Name Description
var string
Returns
Type Description
$this

getDataDisk

The name of the data disk where data for this range is stored.

This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

Returns
Type Description
string

setDataDisk

The name of the data disk where data for this range is stored.

This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

Parameter
Name Description
var string
Returns
Type Description
$this

getDeprecatedPersistentDirectory

DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.

Returns
Type Description
string

setDeprecatedPersistentDirectory

DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.

Parameter
Name Description
var string
Returns
Type Description
$this