ECLSort-class: Class '"ECLSort"'

Description Extends Fields Methods Examples

Description

Creates an ECL "SORT" definition. The SORT function sorts the recordset according to the values specified.

Extends

Class "ECLDataset", directly.

Fields

name:

Object of class character Class name.

datasetType:

Object of class ECLRecord Input record name.

logicalFileName:

Object of class character A string constant containing the logical file name.

fileType:

Object of class character One of the following keywords, optionally followed by relevant options for that specific type of file: THOR/FLAT, CSV, XML, PIPE.

def:

Object of class character ECl definition/code.

inDataset:

Object of class ECLDataset Input record name.

Methods

addField(value):

Used to add ECL definitions.

getName():

Returns class name.

print():

Prints the ECL code.

The following methods are inherited (from the corresponding class): print ("ECLDataset"), getName ("ECLDataset"), getDatasetType ("ECLDataset"), addExpression ("ECLDataset")

Examples

1
2
3
4
  ## Not run: 
    ECLSort$new(name, inDataset)
  
## End(Not run)

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

Related to ECLSort-class in rHpcc...