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

db.sql.api.cmd.executor.method.selectMethod.ISelectMultiGetterFunMethod Maven / Gradle / Ivy

package db.sql.api.cmd.executor.method.selectMethod;


import db.sql.api.Cmd;
import db.sql.api.Getter;
import db.sql.api.cmd.GetterColumnField;

import java.util.function.Function;

public interface ISelectMultiGetterFunMethod {

    default  SELF selectWithFun(Function f, Getter... columns) {
        return this.selectWithFun(f, 1, columns);
    }

     SELF selectWithFun(Function f, int storey, Getter... columns);


    SELF selectWithFun(Function f, GetterColumnField... getterColumnFields);

    default  SELF selectWithFun(boolean when, Function f, Getter... columns) {
        if (!when) {
            return (SELF) this;
        }
        return this.selectWithFun(f, 1, columns);
    }


    default  SELF selectWithFun(boolean when, Function f, int storey, Getter... columns) {
        if (!when) {
            return (SELF) this;
        }
        return this.selectWithFun(f, storey, columns);
    }

    default SELF selectWithFun(boolean when, Function f, GetterColumnField... getterColumnFields) {
        if (!when) {
            return (SELF) this;
        }
        return this.selectWithFun(f, getterColumnFields);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy