flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zentol <...@git.apache.org>
Subject [GitHub] flink pull request #5964: [FLINK-8655] [Cassandra Connector] add keyspace in...
Date Wed, 16 May 2018 08:45:54 GMT
Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5964#discussion_r188545721
  
    --- Diff: flink-connectors/flink-connector-cassandra/src/main/java/org/apache/flink/streaming/connectors/cassandra/CassandraSink.java
---
    @@ -258,6 +259,17 @@ public CassandraSinkBuilder(DataStream<IN> input, TypeInformation<IN>
typeInfo,
     			return this;
     		}
     
    +		/**
    +		 * Sets the keyspace to be used.
    +		 *
    +		 * @param keyspace keyspace to use
    +		 * @return this builder
    +		 */
    +		public CassandraSinkBuilder<IN> setKeyspace(String keyspace) {
    --- End diff --
    
    rename to `setDefaultKeyspace`


---

Mime
View raw message