public class GeneratedKeysImpl extends Object implements GeneratedKeys
Modifier | Constructor and Description |
---|---|
protected |
GeneratedKeysImpl(String[] colNames,
Class<?>[] types) |
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 void addKey(List<?> vals)
GeneratedKeys
addKey
in interface GeneratedKeys
public String[] getColumnNames()
GeneratedKeys
getColumnNames
in interface GeneratedKeys
public Class<?>[] getColumnTypes()
GeneratedKeys
getColumnTypes
in interface GeneratedKeys
public Iterator<List<?>> getKeyIterator()
GeneratedKeys
GeneratedKeys.addKey(List)
method.getKeyIterator
in interface GeneratedKeys
Copyright © 2019. All rights reserved.