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

db.sql.api.cmd.executor.method.havingMethod.IHavingMethods Maven / Gradle / Ivy

There is a newer version: 1.7.9-RC2
Show newest version
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.*;

import java.util.function.Function;

public interface IHavingMethods,
        TABLE_FIELD extends ITableField
        >
        extends IHavingAndMethod,
        IHavingDatasetAndMethod,

        IHavingOrMethod,
        IHavingDatasetOrMethod {

    default SELF having(ICondition condition) {
        return this.havingAnd(condition);
    }

    default SELF having(ICondition condition, boolean when) {
        return this.havingAnd(condition, when);
    }

    default  SELF having(Getter column, Function f) {
        return this.havingAnd(column, f);
    }

    default  SELF having(boolean when, Getter column, Function f) {
        return this.havingAnd(when, column, f);
    }

    default  SELF having(Getter column, int storey, Function f) {
        return this.havingAnd(column, storey, f);
    }

    default  SELF having(boolean when, Getter column, int storey, Function f) {
        return this.havingAnd(when, column, storey, f);
    }

    default SELF having(GetterField[] getterFields, Function f) {
        return this.havingAnd(getterFields, f);
    }

    default SELF having(boolean when, GetterField[] getterFields, Function f) {
        return this.havingAnd(when, getterFields, f);
    }

    default , DATASET_FIELD extends IDatasetField> SELF having(IDataset dataset, String columnName, Function f) {
        return this.havingAnd(dataset, columnName, f);
    }

    default , DATASET_FIELD extends IDatasetField> SELF having(IDataset dataset, boolean when, String columnName, Function f) {
        return this.havingAnd(when, dataset, columnName, f);
    }

    default , DATASET_FIELD extends IDatasetField> SELF having(IDataset dataset, Getter column, Function f) {
        return this.havingAnd(dataset, column, f);
    }

    default , DATASET_FIELD extends IDatasetField> SELF having(boolean when, IDataset dataset, Getter column, Function f) {
        return this.havingAnd(when, dataset, column, f);
    }

    default , DATASET_FIELD extends IDatasetField> SELF having(IDataset dataset, GetterField[] getterFields, Function f) {
        return this.havingAnd(dataset, getterFields, f);
    }

    default , DATASET_FIELD extends IDatasetField> SELF having(boolean when, IDataset dataset, GetterField[] getterFields, Function f) {
        return this.havingAnd(when, dataset, getterFields, f);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy