
db.sql.api.cmd.executor.IDelete Maven / Gradle / Ivy
package db.sql.api.cmd.executor;
import db.sql.api.Cmd;
import db.sql.api.cmd.JoinMode;
import db.sql.api.cmd.executor.method.IDeleteMethod;
import db.sql.api.cmd.executor.method.IFromMethod;
import db.sql.api.cmd.executor.method.IJoinMethod;
import db.sql.api.cmd.executor.method.IWhereMethod;
import db.sql.api.cmd.struct.IFrom;
import db.sql.api.cmd.struct.IJoin;
import db.sql.api.cmd.struct.IOn;
import db.sql.api.cmd.struct.IWhere;
import db.sql.api.cmd.struct.conditionChain.IConditionChain;
import db.sql.api.cmd.struct.delete.IDeleteTable;
public interface IDelete,
DELETE_TABLE extends IDeleteTable,
FROM extends IFrom,
JOIN extends IJoin,
ON extends IOn,
WHERE extends IWhere>
extends IDeleteMethod,
IFromMethod,
IJoinMethod,
IWhereMethod,
IExecutor {
DELETE_TABLE $delete(DATASET... tables);
FROM $from(DATASET... tables);
JOIN $join(JoinMode mode, TABLE mainTable, TABLE secondTable);
WHERE $where();
@Override
default SELF delete(DATASET... tables) {
$delete(tables);
return (SELF) this;
}
@Override
default SELF from(DATASET... tables) {
$from(tables);
return (SELF) this;
}
@Override
default CONDITION_CHAIN conditionChain() {
return $where().conditionChain();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy