| Package | Description |
|---|---|
| org.knowm.yank |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
Yank.executeBatchSQLKey(String sqlKey,
Object[][] params)
Batch executes the given INSERT, UPDATE, DELETE, REPLACE or UPSERT SQL statement matching the sqlKey String in a properties file loaded via
Yank.addSQLStatements(...) using the default connection pool.
|
static int[] |
Yank.executeBatchSQLKey(String poolName,
String sqlKey,
Object[][] params)
Batch executes the given INSERT, UPDATE, DELETE, REPLACE or UPSERT SQL statement matching the sqlKey String in a properties file loaded via
Yank.addSQLStatements(...).
|
static int |
Yank.executeSQLKey(String sqlKey,
Object[] params)
Executes the given INSERT, UPDATE, DELETE, REPLACE or UPSERT SQL statement matching the sqlKey String in a properties file loaded via
Yank.addSQLStatements(...) using the default connection pool.
|
static int |
Yank.executeSQLKey(String poolName,
String sqlKey,
Object[] params)
Executes the given INSERT, UPDATE, DELETE, REPLACE or UPSERT SQL statement matching the sqlKey String in a properties file loaded via
Yank.addSQLStatements(...).
|
static Long |
Yank.insertSQLKey(String sqlKey,
Object[] params)
Executes a given INSERT SQL prepared statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...) using the
default connection pool.
|
static Long |
Yank.insertSQLKey(String poolName,
String sqlKey,
Object[] params)
Executes a given INSERT SQL prepared statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...).
|
static <T> List<T> |
Yank.queryBeanListSQLKey(String sqlKey,
Class<T> beanType,
Object[] params)
Return a List of Beans given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via
Yank.addSQLStatements(...) using the default connection pool.
|
static <T> List<T> |
Yank.queryBeanListSQLKey(String poolName,
String sqlKey,
Class<T> beanType,
Object[] params)
Return a List of Beans given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via
Yank.addSQLStatements(...).
|
static <T> T |
Yank.queryBeanSQLKey(String sqlKey,
Class<T> beanType,
Object[] params)
Return just one Bean given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via
Yank.addSQLStatements(...).
|
static <T> T |
Yank.queryBeanSQLKey(String poolName,
String sqlKey,
Class<T> beanType,
Object[] params)
Return just one Bean given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via
Yank.addSQLStatements(...).
|
static <T> List<T> |
Yank.queryColumnSQLKey(String sqlKey,
String columnName,
Class<T> columnType,
Object[] params)
Return a List of Objects from a single table column given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded
via Yank.addSQLStatements(...) using the default connection pool.
|
static <T> List<T> |
Yank.queryColumnSQLKey(String poolName,
String sqlKey,
String columnName,
Class<T> columnType,
Object[] params)
Return a List of Objects from a single table column given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded
via Yank.addSQLStatements(...).
|
static List<Object[]> |
Yank.queryObjectArraysSQLKey(String sqlKey,
Object[] params)
Return a List of generic Object[]s given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via
Yank.addSQLStatements(...) using the default connection pool.
|
static List<Object[]> |
Yank.queryObjectArraysSQLKey(String poolName,
String sqlKey,
Object[] params)
Return a List of generic Object[]s given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via
Yank.addSQLStatements(...).
|
static <T> T |
Yank.queryScalar(String sql,
Class<T> scalarType,
Object[] params)
Return just one scalar given a an SQL statement using the default connection pool.
|
static <T> T |
Yank.queryScalar(String poolName,
String sql,
Class<T> scalarType,
Object[] params)
Return just one scalar given a an SQL statement
|
static <T> T |
Yank.queryScalarSQLKey(String sqlKey,
Class<T> scalarType,
Object[] params)
Return just one scalar given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via
Yank.addSQLStatements(...) using the default connection pool.
|
static <T> T |
Yank.queryScalarSQLKey(String poolName,
String sqlKey,
Class<T> scalarType,
Object[] params)
Return just one scalar given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via
Yank.addSQLStatements(...).
|
Copyright © 2011–2017 Knowm Inc.. All rights reserved.