Package org.teiid.query.util
Class GeneratedKeysImpl
- java.lang.Object
-
- org.teiid.query.util.GeneratedKeysImpl
-
- All Implemented Interfaces:
GeneratedKeys
public class GeneratedKeysImpl extends Object implements GeneratedKeys
-
-
Field Summary
Fields Modifier and Type Field Description static String
LAST_GENERATED_KEY
-
Constructor Summary
Constructors Modifier Constructor Description protected
GeneratedKeysImpl(String[] colNames, Class<?>[] types, CommandContext commandContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addKey(List<?> vals)
String[]
getColumnNames()
Class<?>[]
getColumnTypes()
Iterator<List<?>>
getKeyIterator()
List<List<?>>
getKeys()
-
-
-
Field Detail
-
LAST_GENERATED_KEY
public static final String LAST_GENERATED_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GeneratedKeysImpl
protected GeneratedKeysImpl(String[] colNames, Class<?>[] types, CommandContext commandContext)
-
-
Method Detail
-
addKey
public void addKey(List<?> vals)
- Specified by:
addKey
in interfaceGeneratedKeys
-
getColumnNames
public String[] getColumnNames()
- Specified by:
getColumnNames
in interfaceGeneratedKeys
-
getColumnTypes
public Class<?>[] getColumnTypes()
- Specified by:
getColumnTypes
in interfaceGeneratedKeys
-
getKeyIterator
public Iterator<List<?>> getKeyIterator()
- Specified by:
getKeyIterator
in interfaceGeneratedKeys
-
-