jodd.db.oom.DbSqlGenerator Maven / Gradle / Ivy
// Copyright (c) 2003-2012, Jodd Team (jodd.org). All Rights Reserved.
package jodd.db.oom;
import jodd.db.oom.sqlgen.ParameterValue;
import java.util.Map;
/**
* Generates SQL queries.
*/
public interface DbSqlGenerator {
/**
* Generates SQL query.
*/
String generateQuery();
/**
* Returns a map of SQL parameters used by generated query.
* Must be invoked only after the {@link #generateQuery()}.
* May be null
*/
Map getQueryParameters();
/**
* Returns an optional map of table and column names, used by {@link jodd.db.oom.mapper.ResultSetMapper}.
* May be null
.
*/
Map getColumnData();
/**
* Returns join hints. May be null
.
*/
String[] getJoinHints();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy