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

io.github.ashwithpoojary98.clausses.AggregateClause Maven / Gradle / Ivy

The newest version!
package io.github.ashwithpoojary98.clausses;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class AggregateClause extends AbstractClause {

    private List columns;

    private String type;

    public AggregateClause(){}

    public AggregateClause(String type, List columns) {
        this.type = type;
        this.columns = columns;
    }

    @Override
    public AbstractClause copy() {
        AggregateClause aggregateClause = new AggregateClause();
        aggregateClause.setEngine(this.getEngine());
        aggregateClause.setComponent(this.getComponent());
        aggregateClause.setColumns(this.columns);
        aggregateClause.setType(this.type);
        return aggregateClause;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy