Package org.postgresql.pljava.example
Class MetaDataInts
- java.lang.Object
-
- org.postgresql.pljava.example.MetaDataInts
-
- All Implemented Interfaces:
org.postgresql.pljava.ResultSetProvider
public class MetaDataInts extends Object implements org.postgresql.pljava.ResultSetProvider
Example returning (varchar,int) rows, one for each int-valued attribute in the JDBCDatabaseMetaData
.- Author:
- Filip Hrbek
-
-
Constructor Summary
Constructors Constructor Description MetaDataInts()
-
Method Summary
Modifier and Type Method Description boolean
assignRowValues(ResultSet receiver, int currentRow)
void
close()
static org.postgresql.pljava.ResultSetProvider
getDatabaseMetaDataInts()
-
-
-
Constructor Detail
-
MetaDataInts
public MetaDataInts() throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
getDatabaseMetaDataInts
public static org.postgresql.pljava.ResultSetProvider getDatabaseMetaDataInts() 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
-
-