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

com.mybatishelper.core.wrapper.delete.DeleteWrapper Maven / Gradle / Ivy

package com.mybatishelper.core.wrapper.delete;

import com.mybatishelper.core.wrapper.IDeleteWrapper;
import com.mybatishelper.core.wrapper.bridge.AbstractConditionWrapper;
import com.mybatishelper.core.wrapper.bridge.AbstractQueryWrapper;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;

public class DeleteWrapper
        extends AbstractQueryWrapper>
        implements IDeleteWrapper,C> {
    Set deleteAlias = new HashSet<>(1<<1);
    public DeleteWrapper(C where){
        super(where,new ArrayList<>(AbstractConditionWrapper.DEFAULT_CONDITION_ELEMENTS_SIZE));
    }
    @Override
    public DeleteWrapper delete(String alias) {
        deleteAlias.add(alias);
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy