gets a reference of the started Cassandra cluster The cluster is built with the configured set of initial contact points and policies at startup
gets the Cassandra hosts provided in the configuration
executes CQL statements available in given file.
executes CQL statements available in given file.
Empty lines or lines starting with #
are ignored.
Each statement can extend over multiple lines and must end with a semi-colon.
- name of the file
gets the port number on which Cassandra is running from the configuration
gets a reference of the started Cassandra session A new session is created on the cluster at startup