Package org.postgresql.pljava.example
Class MetaDataTest
- java.lang.Object
-
- org.postgresql.pljava.example.MetaDataTest
-
public class MetaDataTest extends Object
Provides acallMetaData
function taking a string that supplies the name of, and arguments to, anyResultSet
-returningDatabaseMetaData
method, and returns a single-columnvarchar
result, the first row a header, then one for eachResultSet
row, semicolons delimiting the original columns.- Author:
- Filip Hrbek
-
-
Constructor Summary
Constructors Constructor Description MetaDataTest(String methodCall)
-
-
-
Constructor Detail
-
MetaDataTest
public MetaDataTest(String methodCall) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
callMetaDataMethod
public static Iterator<String> callMetaDataMethod(String methodCall) throws SQLException
- Throws:
SQLException
-
close
public void close()
-
-