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

fuzzycsv.rdbms.DbExportFlags.groovy Maven / Gradle / Ivy

Go to download

A groovy/java tabular Data (from CSV,SQL,JSON) processing library that supports fuzzy column matching,tranformations/merging/querying etc

There is a newer version: 1.9.1-groovy4
Show newest version
package fuzzycsv.rdbms

import groovy.transform.CompileStatic

@CompileStatic
enum DbExportFlags {
    CREATE,
    CREATE_IF_NOT_EXISTS,
    INSERT,
    RESTRUCTURE,
    USE_DECIMAL_FOR_INTS


    static Set of(DbExportFlags flag, DbExportFlags... others) {
        def flags = EnumSet.of(flag)
        if (others) flags.addAll(others)
        return flags
    }

    static Set withRestructure() {
        return of(CREATE_IF_NOT_EXISTS, INSERT, RESTRUCTURE)
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy