com.jaregu.database.queries.parsing.ParsedQueryImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of queries Show documentation
Show all versions of queries Show documentation
Java based SQL templating project. Store your queries in *.sql files and build queries for execution. Supports simple expressions and conditional clauses and interface proxying for java-sql bridge.
package com.jaregu.database.queries.parsing;
import java.util.List;
import com.jaregu.database.queries.QueryId;
public class ParsedQueryImpl implements ParsedQuery {
private QueryId id;
private List parts;
public ParsedQueryImpl(QueryId id, List parts) {
this.id = id;
this.parts = parts;
}
@Override
public QueryId getQueryId() {
return id;
}
@Override
public List getParts() {
return parts;
}
@Override
public String toString() {
return "ParsedQuery" + parts.toString();
}
}