All Downloads are FREE. Search and download functionalities are using the official Maven repository.

getl.transform.SorterDataset.groovy Maven / Gradle / Ivy

Go to download

GETL - based package in Groovy, which automates the work of loading and transforming data

There is a newer version: 4.18.9
Show newest version
package getl.transform

import getl.data.Connection
import getl.data.VirtualDataset
import groovy.transform.InheritConstructors

/**
 * Sorted dataset class
 * @author Alexsey Konstantinov
 *
 */
@InheritConstructors
class SorterDataset extends VirtualDataset {
	@Override
	protected void initParams() {
		super.initParams()

		connection = new Connection([driver: SorterDatasetDriver])
		params.fieldOrderBy = [] as List
	}

	/** List of sort column */
    List getFieldOrderBy () { params.fieldOrderBy as List }
    void setFieldOrderBy (List value) { params.fieldOrderBy = value }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy