KurtYoung commented on a change in pull request #8294:
[FLINK-12348][table-planner-blink]Use TableConfig in api module to replace
TableConfig in blink-planner module.
URL: https://github.com/apache/flink/pull/8294#discussion_r302040497
##########
File path:
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/TableConfig.java
##########
@@ -70,6 +71,35 @@
*/
private long maxIdleStateRetentionTime = 0L;
+ private Configuration parameters = new Configuration();
+
+ /**
+ * Returns all key/value parameters.
+ */
+ public Configuration getParameters() {
+ return parameters;
+ }
+
+ /**
+ * Adds the given key/value parameters.
+ *
+ * @param parameters
+ */
+ public void addParameters(Configuration parameters) {
+ Preconditions.checkNotNull(parameters);
+ this.parameters.addAll(parameters);
+ }
+
+ /**
+ * Adds the given key/value pair.
+ *
+ * @param key the key of the key/value pair to be added
+ * @param value the value of the key/value pair to be added
+ */
+ public void set(String key, String value) {
Review comment:
setParameter
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services