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