org.fluentjdbc.DatabaseSimpleQueryBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-jdbc Show documentation
Show all versions of fluent-jdbc Show documentation
A Java library used to execute JDBC statements and build SQL
package org.fluentjdbc;
import java.sql.Connection;
import javax.annotation.Nullable;
import org.fluentjdbc.DatabaseTable.RowMapper;
import org.joda.time.DateTime;
public interface DatabaseSimpleQueryBuilder {
String singleString(Connection connection, String string);
T singleObject(Connection connection, RowMapper mapper);
DateTime singleDateTime(Connection connection, String fieldName);
DatabaseUpdateBuilder update();
Number singleLong(Connection connection, String fieldName);
DatabaseListableQueryBuilder unordered();
DatabaseListableQueryBuilder orderBy(String orderByClause);
DatabaseSimpleQueryBuilder where(String fieldName, @Nullable Object value);
DatabaseSimpleQueryBuilder whereOptional(String fieldName, @Nullable Object value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy