org.tarantool.TarantoolSQLOps Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connector Show documentation
Show all versions of connector Show documentation
Tarantool client for java
The newest version!
package org.tarantool;
/**
* Defines a common SQL operations for DQL or DML/DDL.
*
* @param type of rows to be passed as parameters
* @param type of result for DML/DDL operations
* @param type of result for DQL operations
*/
public interface TarantoolSQLOps {
/**
* Executes a DQL query, typically {@code SELECT} query,
* and returns an obtained result set.
*
* @param sql query
* @param bind arguments to be bound with query parameters
*
* @return result of query
*/
Result query(String sql, Tuple... bind);
/**
* Executes a DML/DDL query using optional parameters.
*
* @param sql query
* @param bind arguments to be bound with query parameters
*
* @return result of query
*/
Update update(String sql, Tuple... bind);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy