
db.sql.api.cmd.executor.method.selectMethod.ISelectGetterFunMethod Maven / Gradle / Ivy
package db.sql.api.cmd.executor.method.selectMethod;
import db.sql.api.Cmd;
import db.sql.api.Getter;
import java.util.function.Function;
public interface ISelectGetterFunMethod {
default SELF selectWithFun(Getter column, Function f) {
return this.selectWithFun(column, 1, f);
}
SELF selectWithFun(Getter column, int storey, Function f);
default SELF selectWithFun(boolean when, Getter column, Function f) {
if (!when) {
return (SELF) this;
}
return this.selectWithFun(column, 1, f);
}
default SELF selectWithFun(boolean when, Getter column, int storey, Function f) {
if (!when) {
return (SELF) this;
}
return this.selectWithFun(column, storey, f);
}
default SELF select(boolean when, Getter column, Function f) {
if (!when) {
return (SELF) this;
}
return this.selectWithFun(column, 1, f);
}
default SELF select(boolean when, Getter column, int storey, Function f) {
if (!when) {
return (SELF) this;
}
return this.selectWithFun(column, storey, f);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy