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

org.fluentjdbc.DatabaseSimpleQueryBuilder Maven / Gradle / Ivy

There is a newer version: 0.5.3
Show newest version
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