Package org.postgresql.pljava.example
Class MetaDataStrings
- java.lang.Object
-
- org.postgresql.pljava.example.MetaDataStrings
-
- All Implemented Interfaces:
org.postgresql.pljava.ResultSetProvider
public class MetaDataStrings extends Object implements org.postgresql.pljava.ResultSetProvider
Example returning (varchar,varchar) rows, one for each String-valued attribute in the JDBCDatabaseMetaData
.- Author:
- Filip Hrbek
-
-
Constructor Summary
Constructors Constructor Description MetaDataStrings()
-
Method Summary
Modifier and Type Method Description boolean
assignRowValues(ResultSet receiver, int currentRow)
void
close()
static org.postgresql.pljava.ResultSetProvider
getDatabaseMetaDataStrings()
-
-
-
Constructor Detail
-
MetaDataStrings
public MetaDataStrings() throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
getDatabaseMetaDataStrings
public static org.postgresql.pljava.ResultSetProvider getDatabaseMetaDataStrings() throws SQLException
- Throws:
SQLException
-
assignRowValues
public boolean assignRowValues(ResultSet receiver, int currentRow) throws SQLException
- Specified by:
assignRowValues
in interfaceorg.postgresql.pljava.ResultSetProvider
- Throws:
SQLException
-
close
public void close()
- Specified by:
close
in interfaceorg.postgresql.pljava.ResultSetProvider
-
-