db.sql.api.cmd.executor.method.havingMethod.IHavingDatasetOrMethod Maven / Gradle / Ivy
package db.sql.api.cmd.executor.method.havingMethod;
import db.sql.api.Getter;
import db.sql.api.cmd.GetterField;
import db.sql.api.cmd.basic.ICondition;
import db.sql.api.cmd.basic.IDataset;
import db.sql.api.cmd.basic.IDatasetField;
import java.util.function.Function;
public interface IHavingDatasetOrMethod {
default , DATASET_FIELD extends IDatasetField> SELF havingOr(IDataset dataset, String columnName, Function f) {
return this.havingOr(true, dataset, columnName, f);
}
, DATASET_FIELD extends IDatasetField> SELF havingOr(boolean when, IDataset dataset, String columnName, Function f);
default , DATASET_FIELD extends IDatasetField> SELF havingOr(IDataset dataset, Getter column, Function f) {
return havingOr(true, dataset, column, f);
}
, DATASET_FIELD extends IDatasetField> SELF havingOr(boolean when, IDataset dataset, Getter column, Function f);
default , DATASET_FIELD extends IDatasetField> SELF havingOr(IDataset dataset, GetterField[] getterFields, Function f) {
return this.havingOr(true, dataset, getterFields, f);
}
, DATASET_FIELD extends IDatasetField> SELF havingOr(boolean when, IDataset dataset, GetterField[] getterFields, Function f);
}