Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-7415][Cassandra Connector] Add comments for cassandra-connector test classes #4519

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add comments for BatchExample.java
  • Loading branch information
yew1eb committed Aug 10, 2017
commit 03e1e4a8ef2c4a6859d6a27095185e77daf9f064
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
/**
* This is an example showing the to use the Cassandra Input-/OutputFormats in the Batch API.
*
* <p>The example assumes that a table exists in a local cassandra database, according to the following query:
* CREATE TABLE test.batches (number int, strings text, PRIMARY KEY(number, strings));
* <p>The example assumes that a table exists in a local cassandra database, according to the following queries:
* CREATE KEYSPACE IF NOT EXISTS test WITH replication = {'class': 'SimpleStrategy', 'replication_factor': ‘1’};
* CREATE TABLE IF NOT EXISTS test.batches (number int, strings text, PRIMARY KEY(number, strings));
*/
public class BatchExample {
private static final String INSERT_QUERY = "INSERT INTO test.batches (number, strings) VALUES (?,?);";
Expand Down