Package | Description |
---|---|
com.speedment.runtime.config |
The configuration system is located in this package.
|
com.speedment.runtime.config.mutator |
Implementations of the
DocumentMutator
interface that help modify a Document in a
type-safe manner are located in this package. |
com.speedment.runtime.config.util |
Utility methods for this module.
|
com.speedment.runtime.core |
The base package of Speedment.
|
com.speedment.runtime.core.component |
The standard components of the
Speedment
platform. |
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.field.trait |
Traits used in Speedment fields are located in this package.
|
Modifier and Type | Method and Description |
---|---|
default Class<Project> |
Project.mainInterface() |
default ProjectMutator<? extends Project> |
Project.mutator() |
Modifier and Type | Class and Description |
---|---|
class |
ProjectMutator<DOC extends Project> |
Modifier and Type | Method and Description |
---|---|
static ProjectMutator<Project> |
DocumentMutator.of(Project project) |
Modifier and Type | Method and Description |
---|---|
static ProjectMutator<Project> |
DocumentMutator.of(Project project) |
Modifier and Type | Method and Description |
---|---|
static Project |
DocumentTranscoder.load(Path location,
DocumentTranscoder.Decoder decoder)
Loads a project from a UTF-8 encoded file.
|
static Project |
DocumentTranscoder.load(String json,
DocumentTranscoder.Decoder decoder)
Loads a new
Project from the specified JSON string. |
Modifier and Type | Method and Description |
---|---|
static boolean |
DocumentDbUtil.isSame(Project first,
Project second)
Returns
true if the two specified documents represents the same
element in the database. |
static Column |
DocumentDbUtil.referencedColumn(Project project,
String dbmsName,
String schemaName,
String tableName,
String columnName) |
static <T extends HasDbmsName & HasSchemaName & HasTableName & HasColumnName> |
DocumentDbUtil.referencedColumn(Project project,
T identifier) |
static Optional<? extends Column> |
DocumentDbUtil.referencedColumnIfPresent(Project project,
ColumnIdentifier<?> identifier) |
static Optional<? extends Column> |
DocumentDbUtil.referencedColumnIfPresent(Project project,
String dbmsId,
String schemaId,
String tableId,
String columnId) |
static Dbms |
DocumentDbUtil.referencedDbms(Project project,
HasDbmsName identifier) |
static Dbms |
DocumentDbUtil.referencedDbms(Project project,
String dbmsId) |
static Optional<? extends Dbms> |
DocumentDbUtil.referencedDbmsIfPresent(Project project,
ColumnIdentifier<?> identifier) |
static Optional<? extends Dbms> |
DocumentDbUtil.referencedDbmsIfPresent(Project project,
String dbmsId) |
static Schema |
DocumentDbUtil.referencedSchema(Project project,
String dbmsId,
String schemaId) |
static <T extends HasDbmsName & HasSchemaName> |
DocumentDbUtil.referencedSchema(Project project,
T identifier) |
static Optional<? extends Schema> |
DocumentDbUtil.referencedSchemaIfPresent(Project project,
ColumnIdentifier<?> identifier) |
static Optional<? extends Schema> |
DocumentDbUtil.referencedSchemaIfPresent(Project project,
String dbmsId,
String schemaId) |
static Table |
DocumentDbUtil.referencedTable(Project project,
String dbmsId,
String schemaId,
String tableId) |
static <T extends HasDbmsName & HasSchemaName & HasTableName> |
DocumentDbUtil.referencedTable(Project project,
T identifier) |
static Optional<? extends Table> |
DocumentDbUtil.referencedTableIfPresent(Project project,
ColumnIdentifier<?> identifier) |
static Optional<? extends Table> |
DocumentDbUtil.referencedTableIfPresent(Project project,
String dbmsId,
String schemaId,
String tableId) |
static String |
DocumentTranscoder.save(Project project,
DocumentTranscoder.Encoder encoder)
Returns a JSON representation of the specified project node.
|
static void |
DocumentTranscoder.save(Project project,
Path location,
DocumentTranscoder.Encoder encoder)
Saves the project in a UTF-8 encoded file.
|
static Stream<? extends Document> |
DocumentDbUtil.traverseOver(Project project) |
static <T> Stream<T> |
DocumentDbUtil.traverseOver(Project project,
Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
Project |
ApplicationMetadata.makeProject()
Transforms the metadata into a
Project document. |
Modifier and Type | Method and Description |
---|---|
Project |
ProjectComponent.getProject()
Returns the current
Project . |
Modifier and Type | Method and Description |
---|---|
void |
ProjectComponent.setProject(Project project)
Sets the current
Project . |
Modifier and Type | Method and Description |
---|---|
static <ENTITY,DB_TYPE,JAVA_TYPE> |
SqlTypeMapperHelper.create(Project project,
Field<ENTITY> field,
Class<ENTITY> entityClass)
Creates a new
SqlTypeMapperHelper by using the default
implementation. |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Project> |
DbmsMetadataHandler.readSchemaMetadata(Dbms dbms,
ProgressMeasure progressListener,
Predicate<String> filterCriteria)
Reads the schema metadata with populated
Schemas that are
available in this database. |
Modifier and Type | Method and Description |
---|---|
default Optional<? extends Column> |
HasIdentifier.findColumn(Project project)
Locates the column that this field is referencing by using the specified
Project instance. |
Copyright © 2017 Speedment, Inc.. All rights reserved.