Read Cassandra
Synopsis
This operator reads an example set from a Cassandra or Astra table.
Description
The example set to be read can be specified via a CQL statement, a CQL file or by specifying a table name.
Input
file
The CQL file which specifies the CQL statement to be executed. If the 'define query' parameter is set to the 'query file' option, the input port 'file' is used for the CQL file. Note: If the input port is connected to another operator with output port file and the input port is connected to it, the 'query file' option of the 'define query file' parameter is ignored.
connection
This input port expects a Connection object if any. See the parameter connection entry for more information.
Output
output
The example set specified via either the CQL statement or the table.
file
If the input port 'file' is connected, the unchanged CQL file is returned.
connection
This output port delivers the Connection object from the input port. If the input port is not connected the port delivers nothing.
Parameters
Connection source
This parameter indicates how the connection should be specified. It gives you two options, predefined and repository. The parameter is not visible if the connection input port is connected.
Connection entry
This parameter is only available when the connection source parameter is set to repository. This parameter is used to specify a repository location that represents a connection entry. The connection can also be provided using the connection input port.