Use in the GUINode: Adds the schema drop down box, "outputSchema" to the operatorDialog and returns the DialogElement
Use in the GUINode: Adds the schema drop down box, "outputSchema" to the operatorDialog and returns the DialogElement
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 the standard output parameters for a single Hive table output.
Adds the standard output parameters for a single Hive table output. In particular: -- "hiveResultTableName": The table name for output. -- "hiveResultDBName": The database name for output (may be empty). -- "viewOrTable" : a radio button which lets the user choose whether to store the output as a view or a table -- "overwrite": A Boolean parameter asking if the user wants to overwrite old output.
OperatorDialog box to add the parameters to.
A sequence of the dialog elements added.
Static values which will be used as parameter keys
Static values which will be used as parameter keys
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.
Use in the runtime class: Gets the value of "isViewOrTable" parameter and returns true if the user set the radio button to "view"
Use in the runtime class: Gets the value of "isViewOrTable" parameter and returns true if the user set the radio button to "view"
OperatorParameters instance [containing the "viewOrTable" parameter].
if the user selected "view"
if the parameter wasn't added to the parameters object
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.
Gets the value of the database name parameter as an option.
Gets the value of the database name parameter as an option. Will return None if the parameter is missing or empty (in which case the code should not specify the database and the default database will be used).
OperatorParameters instance [containing the database name parameter].
Option wrapping the database name parameter.
Gets the value of the table name parameter.
Gets the value of the table name parameter. Note: In in PostgresSQL database names containing capital letters will need to be double quoted.
OperatorParameters instance [containing the "resultTableName" parameter].
the output table name
if the parameter wasn't added to the parameters object
Use in the GUINode: Adds the schema drop down box, "outputSchema" to the operatorDialog and returns the DialogElement
Use in the GUINode: Adds the schema drop down box, "outputSchema" to the operatorDialog and returns the DialogElement
This is a utility class used to handle standard parameters for Hive operators.