Class PostgresDoesViewExist
- java.lang.Object
-
- com.ibm.fhir.database.utils.postgres.PostgresDoesViewExist
-
- All Implemented Interfaces:
IDatabaseSupplier<Boolean>
public class PostgresDoesViewExist extends Object implements IDatabaseSupplier<Boolean>
Check the catalog to see if the named view exists
-
-
Constructor Summary
Constructors Constructor Description PostgresDoesViewExist(String schemaName, String viewName)Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanrun(IDatabaseTranslator translator, Connection c)Execute the statement using the connection and return the value
-
-
-
Method Detail
-
run
public Boolean run(IDatabaseTranslator translator, Connection c)
Description copied from interface:IDatabaseSupplierExecute the statement using the connection and return the value- Specified by:
runin interfaceIDatabaseSupplier<Boolean>- Parameters:
translator- to translate any exceptions
-
-