| Package | Description |
|---|---|
| org.specrunner.sql.database | |
| org.specrunner.sql.database.impl |
| Modifier and Type | Method and Description |
|---|---|
SqlWrapper |
ISqlWrapperFactory.createInputWrapper(Table table,
CommandType command,
IRegister register,
int expectedCount)
Create wrapper for inputs.
|
SqlWrapper |
ISqlWrapperFactory.createOutputWrapper(Table table,
CommandType command,
IRegister register,
int expectedCount)
Create wrapper for outputs.
|
static SqlWrapper |
SqlWrapper.delete(String sql,
Map<String,Integer> namesToIndexes,
int expectedCount)
Set delete.
|
SqlWrapper |
DatabaseRegisterEvent.getWrapper() |
static SqlWrapper |
SqlWrapper.insert(String sql,
Map<String,Integer> namesToIndexes,
int expectedCount)
Set insert.
|
static SqlWrapper |
SqlWrapper.newWrapper(CommandType type,
String sql,
Map<String,Integer> namesToIndexes,
int expectedCount)
Get a new wrapper.
|
protected static SqlWrapper |
SqlWrapper.prepare(SqlWrapper type,
String sql,
Map<String,Integer> namesToIndexes,
int expectedCount)
Prepare any instance.
|
static SqlWrapper |
SqlWrapper.update(String sql,
Map<String,Integer> namesToIndexes,
int expectedCount)
Set update.
|
| Modifier and Type | Method and Description |
|---|---|
protected static SqlWrapper |
SqlWrapper.prepare(SqlWrapper type,
String sql,
Map<String,Integer> namesToIndexes,
int expectedCount)
Prepare any instance.
|
void |
IIdManager.readKeys(SqlWrapper wrapper,
Table table,
IRegister register,
PreparedStatement pstmt)
Read keys from a prepared statement.
|
| Constructor and Description |
|---|
DatabaseRegisterEvent(IContext context,
IResultSet result,
IDatabase database,
Connection connection,
Table table,
IRegister register,
SqlWrapper wrapper,
Map<Integer,Object> indexesToValues) |
| Modifier and Type | Method and Description |
|---|---|
protected SqlWrapper |
SqlWrapperFactoryDefault.createDeleteWrapper(Table table,
IRegister register,
int expectedCount)
Creates a delete wrapper.
|
SqlWrapper |
SqlWrapperFactoryDefault.createInputWrapper(Table table,
CommandType command,
IRegister register,
int expectedCount) |
protected SqlWrapper |
SqlWrapperFactoryDefault.createInsertWrapper(Table table,
IRegister register,
int expectedCount)
Creates an insert wrapper.
|
SqlWrapper |
SqlWrapperFactoryDefault.createOutputWrapper(Table table,
CommandType command,
IRegister register,
int expectedCount) |
protected SqlWrapper |
SqlWrapperFactoryDefault.createSelectWrapper(Table table,
CommandType command,
IRegister register,
int expectedCount)
Creates an select wrapper based on command type.
|
protected SqlWrapper |
SqlWrapperFactoryDefault.createUpdateWrapper(Table table,
IRegister register,
int expectedCount)
Creates an update wrapper.
|
protected SqlWrapper |
SqlWrapperFactoryDefault.deleteWrapper(StringBuilder sb,
Map<String,Integer> namesToIndexes,
int expectedCount)
Creates a delete wrapper.
|
protected SqlWrapper |
SqlWrapperFactoryDefault.insertWrapper(StringBuilder sb,
Map<String,Integer> namesToIndexes,
int expectedCount)
Creates an insert wrapper.
|
protected SqlWrapper |
SqlWrapperFactoryDefault.selectWrapper(CommandType command,
StringBuilder sb,
Map<String,Integer> namesToIndexes,
int expectedCount)
Creates a wrapper for select commands.
|
protected SqlWrapper |
SqlWrapperFactoryDefault.updateWrapper(StringBuilder sb,
Map<String,Integer> namesToIndexes,
int expectedCount)
Creates an update wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DatabaseDefault.performIn(IContext context,
IResultSet result,
Connection connection,
SqlWrapper wrapper,
Table table,
IRegister register)
Perform database commands.
|
protected void |
DatabaseDefault.performOut(IContext context,
IResultSet result,
Connection connection,
SqlWrapper wrapper,
Table table,
IRegister register)
Perform database selects.
|
void |
IdManagerDefault.readKeys(SqlWrapper wrapper,
Table table,
IRegister register,
PreparedStatement pstmt) |
Copyright © 2017. All rights reserved.