| Package | Description |
|---|---|
| org.specrunner.sql.database | |
| org.specrunner.sql.database.impl |
| Modifier and Type | Method and Description |
|---|---|
static CommandType |
CommandType.get(String key)
Lookup method.
|
CommandType |
SqlWrapper.getType()
Get command type.
|
static CommandType |
CommandType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandType[] |
CommandType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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.newWrapper(CommandType type,
String sql,
Map<String,Integer> namesToIndexes,
int expectedCount)
Get a new wrapper.
|
| Constructor and Description |
|---|
SqlWrapper(CommandType type)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SqlWrapper |
SqlWrapperFactoryDefault.createInputWrapper(Table table,
CommandType command,
IRegister register,
int expectedCount) |
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 String |
DatabaseDefault.getAdjustContent(IContext context,
EMode mode,
CommandType command,
Column column,
IDataFilter afilter,
INodeHolder nh)
Get the string value of a node holder, and adjust text if required.
|
protected Value |
DatabaseDefault.getValue(IContext context,
EMode mode,
CommandType command,
Column column,
IDataFilter afilter,
CellAdapter td,
String content)
Get value object for a given cell.
|
protected void |
DatabaseDefault.performSelect(IContext context,
IResultSet result,
Connection connection,
Table table,
CommandType command,
IRegister register,
int expectedCount)
Perform database select verifications.
|
protected SqlWrapper |
SqlWrapperFactoryDefault.selectWrapper(CommandType command,
StringBuilder sb,
Map<String,Integer> namesToIndexes,
int expectedCount)
Creates a wrapper for select commands.
|
Copyright © 2017. All rights reserved.