public interface RowLoader
| Modifier and Type | Method and Description |
|---|---|
Object |
getRow(String schemaName,
String tableName,
Object[] primarykey) |
void |
init(String initStr)
This method is called to initialize the RowLoader with the parameters
passed for the loader in the create table ddl.
|
Object getRow(String schemaName, String tableName, Object[] primarykey) throws SQLException
schemaName - Name of the schema.tableName - Name of the table.primarykey - The primary key as Object[] as multiple column can make up
the primary key.ResultSet. The order of values should be in the
same order as the order of columns in the table. If a
ResultSet is returned, then only the first row will be
read from it.SQLExceptionvoid init(String initStr) throws SQLException
initStr - is the string passed to SYS.ATTACH_LOADER procedureSQLExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.