Package org.umlg.sqlg.structure
Interface SqlgDataSource
- All Known Implementing Classes:
JNDIDataSource
public interface SqlgDataSource
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
default boolean
isC3p0()
static boolean
isH2
(org.apache.commons.configuration2.Configuration configuration) default boolean
isHikari()
static boolean
isHsqldb
(org.apache.commons.configuration2.Configuration configuration) static boolean
isMariaDb
(org.apache.commons.configuration2.Configuration configuration) static boolean
isMsSqlServer
(org.apache.commons.configuration2.Configuration configuration) static boolean
isMysql
(org.apache.commons.configuration2.Configuration configuration) static boolean
isPostgres
(org.apache.commons.configuration2.Configuration configuration)
-
Field Details
-
C3P0DataSource
- See Also:
-
SqlgHikariDataSource
- See Also:
-
-
Method Details
-
getDatasource
DataSource getDatasource() -
getDialect
SqlDialect getDialect() -
close
void close() -
getPoolStatsAsJson
String getPoolStatsAsJson() -
isPostgres
static boolean isPostgres(org.apache.commons.configuration2.Configuration configuration) -
isMsSqlServer
static boolean isMsSqlServer(org.apache.commons.configuration2.Configuration configuration) -
isHsqldb
static boolean isHsqldb(org.apache.commons.configuration2.Configuration configuration) -
isH2
static boolean isH2(org.apache.commons.configuration2.Configuration configuration) -
isMariaDb
static boolean isMariaDb(org.apache.commons.configuration2.Configuration configuration) -
isMysql
static boolean isMysql(org.apache.commons.configuration2.Configuration configuration) -
isC3p0
default boolean isC3p0() -
isHikari
default boolean isHikari()
-