{
  "synLogic": "int $ret \u003d $api($1, $2, $3, $4);",
  "help": "The ns_cassdb_connect API is responsible for making connection to Cassandra Database server.",
  "notes": "",
  "returns": "This api returns '0' if connection is established successfully, otherwise returns '-1'.",
  "arguments": "\u003ctable class\u003d\"newGuiTable\" style\u003d\"width:100%\" \u003e \u003ctr\u003e \u003cth\u003e Argument \u003c/th\u003e \u003cth\u003e Description \u003c/th\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e Host  \u003c/td\u003e \u003ctd\u003e A string representing the hostname or IP address of the Cassandra database server to connect to. \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e Port  \u003c/td\u003e \u003ctd\u003e An integer representing the port number to connect to on the Cassandra database server. \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e User Name  \u003c/td\u003e \u003ctd\u003e A string representing the username to use for authentication with the Cassandra database server. \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e Password  \u003c/td\u003e	\u003ctd\u003e A string representing the password to use for authentication with the Cassandra database server. \u003c/td\u003e	\u003c/tr\u003e \u003c/table\u003e",
  "parameterization": "",
  "component": [
    {
      "id": "$1",
      "type": "TextField",
      "label": "Host",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Host",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Text",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 0,
        "method": ""
      }
    },
    {
      "id": "$2",
      "type": "TextField",
      "label": "Port",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Port",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Number",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 2147483647
      }
    },
     {
      "id": "$3",
      "type": "TextField",
      "label": "UserName",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "User",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Text",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 0,
	"method": ""
      }
    },
     {
      "id": "$4",
      "type": "TextField",
      "label": "Password",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Password",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Text",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 0,
        "method": ""
      }
    },
    {
      "id": "$ret",
      "type": "TextField",
      "label": "Return Variable",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter Return Variable",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Text",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 0,
        "method": "isValidVar(arg)"
      }
    }
  ],
  "name": "ns_cassdb_connect",
  "syntax": "int ns_cassdb_connect(char *host, int port, char *user, char *pass)",
  "javaSyntax": "",
  "cEx": "flow()\n{\n  ns_cassdb_connect(\"www.dbserver.com\", 9042, \"user\", \"user123\");\n}",
  "javaEx": "",
  "insertStrC": "ns_cassdb_connect(char *host, int port, char *user, char *pass);",
  "insertStrJava": "",
  "description": "The ns_cassdb_connect API is responsible for making connection to Cassandra Database server."
}
