| java.lang.Object org.netbeans.modules.db.test.jdbcstub.JDBCStubUtil
JDBCStubUtil | final public class JDBCStubUtil (Code) | | author: Andrei Badea |
Method Summary | |
public static ResultSet | catalogsResultSet(String[] catalogNames) | public static ResultSet | columnsResultSet(String[] columnNames, String[] typeNames, int[] sqlTypes, int[] columnSizes, int[] decimalDigits, int[] nullables) | public static ResultSet | createResultSet(List columns) | public static ResultSet | emptyResultSet() | public static ResultSet | importedKeysResultSet(String[] fkNames, String[] pkTableCats, String[] pkTableSchemas, String[] pkTableNames, String[] pkColumnNames, String[] fkTableCats, String[] fkTableSchemas, String[] fkTableNames, String[] fkColumnNames) | public static ResultSet | indexesResultSet(String[] indexNames, String[] columnNames, boolean[] nonUniques) | public static ResultSet | primaryKeysResultSet(String[] pkNames, String[] columnNames, short[] keySeqs) | public static ResultSet | schemasResultSet(String[] schemaNames) | public static ResultSet | singleColumnResultSet(String columnName, String[] values) | public static ResultSet | tablesResultSet(String[][] tableNamesBySchema) Parameters: tablesBySchema - something like { { "schema1", "table1", "table2" }, { "schema2", "table1" }, ... |
columnsResultSet | public static ResultSet columnsResultSet(String[] columnNames, String[] typeNames, int[] sqlTypes, int[] columnSizes, int[] decimalDigits, int[] nullables)(Code) | | |
tablesResultSet | public static ResultSet tablesResultSet(String[][] tableNamesBySchema)(Code) | | Parameters: tablesBySchema - something like { { "schema1", "table1", "table2" }, { "schema2", "table1" }, ... } |
|
|