- java.lang.Object
-
- com.appslandia.common.record.RecordUtils
-
-
Constructor Summary
Constructors Constructor Description RecordUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancheckTable(Connection conn, String catalog, String schema, String tableName)static Set<String>loadKeys(Connection conn, String catalog, String schema, String tableName)static TableloadTable(Connection conn, String catalog, String schema, String tableName)static RecordtoRecord(ResultSet rs, String[] columnLabels)
-
-
-
Method Detail
-
toRecord
public static Record toRecord(ResultSet rs, String[] columnLabels) throws SQLException
- Throws:
SQLException
-
checkTable
public static boolean checkTable(Connection conn, String catalog, String schema, String tableName) throws SQLException
- Throws:
SQLException
-
loadKeys
public static Set<String> loadKeys(Connection conn, String catalog, String schema, String tableName) throws SQLException
- Throws:
SQLException
-
loadTable
public static Table loadTable(Connection conn, String catalog, String schema, String tableName) throws SQLException
- Throws:
SQLException
-
-