/AWS1/CL_GLUSPIGOT¶
Specifies a transform that writes samples of the data to an Amazon S3 bucket.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/GLUNODENAME /AWS1/GLUNODENAME¶
The name of the transform node.
it_inputs TYPE /AWS1/CL_GLUONEINPUT_W=>TT_ONEINPUT TT_ONEINPUT¶
The data inputs identified by their node names.
iv_path TYPE /AWS1/GLUENCLOSEDINSTRINGPRP /AWS1/GLUENCLOSEDINSTRINGPRP¶
A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.
Optional arguments:¶
iv_topk TYPE /AWS1/GLUTOPK /AWS1/GLUTOPK¶
Specifies a number of records to write starting from the beginning of the dataset.
iv_prob TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The probability (a decimal value with a maximum value of 1) of picking any given record. A value of 1 indicates that each row read from the dataset should be included in the sample output.
Queryable Attributes¶
Name¶
The name of the transform node.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
Inputs¶
The data inputs identified by their node names.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INPUTS() |
Getter for INPUTS, with configurable default |
ASK_INPUTS() |
Getter for INPUTS w/ exceptions if field has no value |
HAS_INPUTS() |
Determine if INPUTS has a value |
Path¶
A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PATH() |
Getter for PATH, with configurable default |
ASK_PATH() |
Getter for PATH w/ exceptions if field has no value |
HAS_PATH() |
Determine if PATH has a value |
Topk¶
Specifies a number of records to write starting from the beginning of the dataset.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TOPK() |
Getter for TOPK, with configurable default |
ASK_TOPK() |
Getter for TOPK w/ exceptions if field has no value |
HAS_TOPK() |
Determine if TOPK has a value |
Prob¶
The probability (a decimal value with a maximum value of 1) of picking any given record. A value of 1 indicates that each row read from the dataset should be included in the sample output.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PROB() |
Getter for PROB, with configurable default |
ASK_PROB() |
Getter for PROB w/ exceptions if field has no value |
STR_PROB() |
String format for PROB, with configurable default |
HAS_PROB() |
Determine if PROB has a value |