Learn R Programming

rHpcc (version 1.0)

ECLSort-class: Class "ECLSort"

Description

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

Arguments

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

Run this code
  ## Not run: 
#     ECLSort$new(name, inDataset)
#   ## End(Not run)

Run the code above in your browser using DataLab