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

io.github.ashwithpoojary98.clausses.columns.QueryColumn Maven / Gradle / Ivy

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


import io.github.ashwithpoojary98.Query;
import io.github.ashwithpoojary98.clausses.AbstractClause;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class QueryColumn extends AbstractColumn {

    private Query query;

    public QueryColumn() {
    }

    public QueryColumn(Query query) {
        this.query = query;
    }

    public QueryColumn(String engine, Query query, String component) {
        setEngine(engine);
        this.query = query;
        setComponent(component);
    }

    @Override
    public AbstractClause copy() {
        return new QueryColumn(this.getEngine(), this.query.copy(), this.getComponent());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy