public class GeneratedKeysImpl extends Object implements GeneratedKeys
| Modifier and Type | Field and Description |
|---|---|
static String |
LAST_GENERATED_KEY |
| Modifier | Constructor and Description |
|---|---|
protected |
GeneratedKeysImpl(String[] colNames,
Class<?>[] types,
CommandContext commandContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addKey(List<?> vals)
Add a generated key to this result.
|
String[] |
getColumnNames()
Get the column names of this result.
|
Class<?>[] |
getColumnTypes()
Get the column types of this result.
|
Iterator<List<?>> |
getKeyIterator()
Get an iterator to the keys added to this result.
|
List<List<?>> |
getKeys() |
public static final String LAST_GENERATED_KEY
protected GeneratedKeysImpl(String[] colNames, Class<?>[] types, CommandContext commandContext)
public void addKey(List<?> vals)
GeneratedKeysaddKey in interface GeneratedKeyspublic String[] getColumnNames()
GeneratedKeysgetColumnNames in interface GeneratedKeyspublic Class<?>[] getColumnTypes()
GeneratedKeysgetColumnTypes in interface GeneratedKeyspublic Iterator<List<?>> getKeyIterator()
GeneratedKeysGeneratedKeys.addKey(List) method.getKeyIterator in interface GeneratedKeysCopyright © 2019. All rights reserved.