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

db.sql.api.cmd.executor.method.selectMethod.ISelectSubQueryMultiGetterFunMethod 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.IColumnField;
import db.sql.api.cmd.executor.ISubQuery;

import java.util.function.Function;

public interface ISelectSubQueryMultiGetterFunMethod {

     SELF selectWithFun(ISubQuery subQuery, Function f, Getter... columns);

    SELF selectWithFun(ISubQuery subQuery, Function f, IColumnField... columnFields);

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

    default SELF selectWithFun(boolean when, ISubQuery subQuery, Function f, IColumnField... columnFields) {
        if (!when) {
            return (SELF) this;
        }
        return this.selectWithFun(subQuery, f, columnFields);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy