- java.lang.Object
-
- com.pervasive.datarush.operators.io.jdbc.ConnectionHelper
-
public final class ConnectionHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description ConnectionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Namespace<JDBCField>extractFields(ResultSetMetaData rsmd)static Namespace<JDBCField>getMetadata(JDBCConnector connector, String statement)Acquires the metadata associated with a given SQL statement.
-
-
-
Method Detail
-
getMetadata
public static Namespace<JDBCField> getMetadata(JDBCConnector connector, String statement)
Acquires the metadata associated with a given SQL statement.- Parameters:
statement- the statement to execute and acquire metadata fromfetchSize- the number of rows to fetch- Returns:
- the metadata
-
extractFields
public static Namespace<JDBCField> extractFields(ResultSetMetaData rsmd) throws SQLException
- Throws:
SQLException
-
-