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

com.jaregu.database.queries.parsing.ParsedQueryImpl Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.4.1
Show newest version
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();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy