Reference documentation and code samples for the Google Cloud Datastream V1 Client class IntegerRangePartition.
Integer range partitioning. see https://cloud.google.com/bigquery/docs/partitioned-tables#integer_range
Generated from protobuf message google.cloud.datastream.v1.IntegerRangePartition
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ column |
string
Required. The partitioning column. |
↳ start |
int|string
Required. The starting value for range partitioning (inclusive). |
↳ end |
int|string
Required. The ending value for range partitioning (exclusive). |
↳ interval |
int|string
Required. The interval of each range within the partition. |
getColumn
Required. The partitioning column.
| Returns | |
|---|---|
| Type | Description |
string |
|
setColumn
Required. The partitioning column.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStart
Required. The starting value for range partitioning (inclusive).
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setStart
Required. The starting value for range partitioning (inclusive).
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEnd
Required. The ending value for range partitioning (exclusive).
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setEnd
Required. The ending value for range partitioning (exclusive).
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInterval
Required. The interval of each range within the partition.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setInterval
Required. The interval of each range within the partition.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|