Interface SchemaNameSupplier
-
- All Known Implementing Classes:
FHIRPersistenceJDBCImpl
,SchemaNameFromProps
,SchemaNameImpl
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SchemaNameSupplier
Provides the schema name for the current request context
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getSchemaForRequestContext(java.sql.Connection c)
Get the schema name for the current request context
-
-
-
Method Detail
-
getSchemaForRequestContext
java.lang.String getSchemaForRequestContext(java.sql.Connection c) throws FHIRPersistenceDBConnectException
Get the schema name for the current request context- Parameters:
c
- the connection for which we want to obtain the schema name- Returns:
- the main schema name to use for the given connection
- Throws:
FHIRPersistenceDBConnectException
-
-