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