eclDirectCall: Executes the ECL code on the cluster specified and returns...

Description Usage Arguments Examples

View source: R/functions.R

Description

Executes the ECL code on the cluster specified and returns the XML response.

Usage

1
  eclDirectCall(hostName, port = "8008", clusterName = "thor", eclCode)

Arguments

hostName

HPCC server hostname.

port

HPCC server port.

clusterName

Cluster name on which the ECL code will execute.

eclCode

ECL code you want to execute

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
  ## Not run: 
    eclCode <- "recCountyFipsCode := RECORD
        String CountyNames;
        UNSIGNED3 CountyFipsCode;
        UNSIGNED2 StateFipsCode;
      END;
  
      dsCountyFips := DATASET('~seer::countyfipscode', recCountyFipsCode, CSV);
      OUTPUT(COUNT(dsCountyFips));"
      
      eclDirectCall(hostName="127.0.0.1", eclCode=eclCode)
  
## End(Not run)

rHpcc documentation built on May 2, 2019, 11:04 a.m.

Related to eclDirectCall in rHpcc...