| Package | Description |
|---|---|
| com.speedment.runtime.core.component |
The standard components of the
Speedment
platform. |
| com.speedment.runtime.core.component.resultset |
The
ResultSetMapperComponent and related classes are located in this
package. |
| com.speedment.runtime.core.component.sql |
The
SqlPersistenceComponent, SqlPersistenceComponent and
related classes are located in this package. |
| com.speedment.runtime.core.db |
Establishing and maintaining the database connection is handled by the
classes in this package.
|
| com.speedment.runtime.core.util |
Utility classes used both internally and in generated code is located in this
package.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<DbmsType> |
DbmsHandlerComponent.findByName(String dbmsTypeName)
|
Stream<DbmsType> |
DbmsHandlerComponent.supportedDbmsTypes()
Returns a stream of all
DbmsTypes that has been
installed in this component. |
| Modifier and Type | Method and Description |
|---|---|
void |
DbmsHandlerComponent.install(DbmsType dbmsType)
Installs a new
DbmsType so that handlers can be located using the
DbmsHandlerComponent.findByName(String) method. |
| Modifier and Type | Method and Description |
|---|---|
<T> ResultSetMapping<T> |
ResultSetMapperComponent.apply(DbmsType dbmsType,
Class<T> javaClass)
Gets the mapping from the javaClass to the
ResultSetMapping. |
| Modifier and Type | Method and Description |
|---|---|
DbmsType |
SqlStreamOptimizerInfo.getDbmsType()
Returns the DbmsType.
|
| Modifier and Type | Method and Description |
|---|---|
<ENTITY> SqlStreamOptimizer<ENTITY> |
SqlStreamOptimizerComponent.get(Pipeline initialPipeline,
DbmsType dbmsType) |
<P extends Pipeline> |
SqlStreamOptimizer.metrics(P initialPipeline,
DbmsType dbmsType)
Returns a metric of how well this optimizer can optimize the given
pipeline.
|
static <ENTITY> SqlStreamOptimizerInfo<ENTITY> |
SqlStreamOptimizerInfo.of(DbmsType dbmsType,
String sqlSelect,
String sqlSelectCount,
ToLongBiFunction<String,List<Object>> counter,
Function<com.speedment.runtime.field.Field<ENTITY>,String> sqlColumnNamer,
Function<com.speedment.runtime.field.Field<ENTITY>,Class<?>> sqlDatabaseTypeFunction) |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<DbmsType> |
DbmsType.COMPARATOR |
| Modifier and Type | Method and Description |
|---|---|
static DbmsType |
DatabaseUtil.dbmsTypeOf(DbmsHandlerComponent handler,
com.speedment.runtime.config.Dbms dbms)
Returns the
DbmsType for the specified Dbms. |
static DbmsType |
DatabaseUtil.findDbmsType(DbmsHandlerComponent dbmsHandlerComponent,
com.speedment.runtime.config.Dbms dbms)
Locates the
DbmsType corresponding to the specified Dbms,
or throws a SpeedmentException if it can not be found. |
Copyright © 2019 Speedment, Inc.. All rights reserved.