getl.transform.SorterDataset.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of getl Show documentation
Show all versions of getl Show documentation
GETL - based package in Groovy, which automates the work of loading and transforming data
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