com.j256.ormlite.stmt.query.Clause Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ormlite-core Show documentation
Show all versions of ormlite-core Show documentation
Lightweight Object Relational Model (ORM) for persisting objects to SQL databases.
package com.j256.ormlite.stmt.query;
import java.sql.SQLException;
import java.util.List;
import com.j256.ormlite.db.DatabaseType;
import com.j256.ormlite.stmt.ArgumentHolder;
/**
* Internal marker class for query clauses.
*
* @author graywatson
*/
public interface Clause {
/**
* Add to the string-builder the appropriate SQL for this clause.
*
* @param tableName
* Name of the table to prepend to any column names or null to be ignored.
*/
public void appendSql(DatabaseType databaseType, String tableName, StringBuilder sb, List argList)
throws SQLException;
}