For use with database, not HDFS.
For use with database, not HDFS.
From the 'onExecution' method's parameters. This method adds the parameters to this object.
boolean indicating default value of the parameter. True for "Yes", false for "No".
The dialog element added.
Adds a dropdown menu to select the compression Type for a tabular dataset output.
Adds a dropdown menu to select the compression Type for a tabular dataset output. I.e., it'll add a dropdown menu with available selections 'No Compression', 'Snappy', 'GZIP' and 'Deflate'.
The operator dialog where you are going to add the dropdown menu.
The default compression one wants to use.
The dropdown dialog element.
*
Same method as addHdfsStorageAndCompressionParameters
defined above, with:
- default storage format as Parquet
- default compression as Gzip
Adds -- "storageFormat": an Dropdown Box for storage format.
Adds -- "storageFormat": an Dropdown Box for storage format. -- "compressionType": a Dropdown Box for compression type.
Note: The compression type selected must be supported by the storage format chosen, otherwise the CO will stay invalid at design time.
The default value for the output name parameter.
The default format one wants to use.
The default compression one wants to use.
A sequence of the dialog elements added.
Adds a dropdown menu to select the storage format for a tabular dataset output.
Adds a dropdown menu to select the storage format for a tabular dataset output. I.e., it'll add a dropdown menu with available selections 'CSV', 'Parquet' and 'Avro'.
The operator dialog where you are going to add the dropdown menu.
The default format one wants to use.
The dropdown dialog element.
Adds directory selector box to let the user select the location in HDFS where the results of the operator will be written
Adds directory selector box to let the user select the location in HDFS where the results of the operator will be written
The dialog to which the parameter will be added.
adds a string dialog box to let the user define the name of the file with the output.
adds a string dialog box to let the user define the name of the file with the output.
The dialog to which the parameter will be added.
The default value to be used for the parameter.
Adds -- "outputDirectory": an HDFS directory selector for the location of the output -- "outputName": a StringBox parameter for the name of the output.
Adds -- "outputDirectory": an HDFS directory selector for the location of the output -- "outputName": a StringBox parameter for the name of the output. -- "overwrite": A Boolean parameter asking if the user wants to overwrite old output.
These are the standard parameters to be used when an operator outputs a HDFS dataset.
The default value of the output name will be @operator_name_uuid, which will be replaced at runtime with the actual operator name and uuid concatenated with a underscore, sanitized to make it a valid file name.
The default value for the output name parameter.
A sequence of the dialog elements added.
Gets the value of the dropIfExists parameter, returning true if the String value is "Yes", false if it is a different value or missing.
Gets the value of the dropIfExists parameter, returning true if the String value is "Yes", false if it is a different value or missing.
OperatorParameters instance [containing the dropIfExists parameter].
Boolean representation of the dropIfExists parameter.
Get the Hdfs compression type from the parameters object.
Get the Hdfs compression type from the parameters object.
This must contain the compression parameter. I.e., the user should've called addHdfsCompressionParameter or addHdfsStorageAndCompressionParameters before.
The selected Hdfs compression type.
Get the Hdfs storage format from the parameters object.
Get the Hdfs storage format from the parameters object.
This must contain the format parameter. I.e., the user should've called addHdfsStorageFormatParameter or addHdfsStorageAndCompressionParameters before.
The selected Hdfs storage format.
Concatenates the string values of parameters with keys "outputDirectory" and "outputName" with a file separator.
Concatenates the string values of parameters with keys "outputDirectory" and "outputName" with a file separator.
The output path corresponding to parameters outputDirectory and outputName.
Gets the value of the overwrite parameter, returning true if the String value is "true", false if it is a different value or missing.
Gets the value of the overwrite parameter, returning true if the String value is "true", false if it is a different value or missing.
OperatorParameters instance [containing the overwrite parameter].
Boolean representation of the overwrite parameter.
Use getNullDataStrategy
Utility for the standard parameters for use by operators which use HDFS datasets.