package
0.0.0-20200821104852-f76c6d292a95
Repository: https://github.com/jvanderl/flogo-components.git
Documentation: pkg.go.dev

# README

Cassandra Query

This activity provides your flogo application the ability to query a Cassandra database.

Installation

flogo add activity github.com/jvanderl/flogo-components/incubator/activity/cassandra

Link for flogo web:

https://github.com/jvanderl/flogo-components/incubator/activity/cassandra

Schema

Inputs and Outputs:

{
  "inputs":[
    {
      "name": "clusterIP",
      "type": "string",
      "value": "localhost"
    },
	{
      "name": "keySpace",
      "type": "string",
      "value": "sample"
    },
	{
      "name": "tableName",
      "type": "string",
      "value": "employee"
    },
    {
      "name": "select",
      "type": "string",
      "value": "*"
    },
    {
      "name": "where",
      "type": "string",
      "value": ""
    }	
  ],
  "outputs": [
    {
      "name": "result",
      "type": "any"
    },
    {
      "name": "rowCount",
      "type": "int"
    }
  ]
}

Inputs

InputDescription
clusterIPThe cluster to connect to
keySpaceThe keyspace the table to query resides in
tableNameThe table to query
selectThe element to return from the query (can be "*")
whereThe selection criteria

Outputs

OutputDescription
resultThe result of the query
rowCountThe result of the query

# Functions

NewActivity creates a new activity.

# Structs

MyActivity is a stub for your Activity implementation.