Package | Description |
---|---|
com.speedment.runtime.core.component |
The standard components of the
Speedment
platform. |
com.speedment.runtime.field |
Fields expose handlers for accessing columns in generated classes and are
located in this package.
|
com.speedment.runtime.join.builder | |
com.speedment.runtime.join.stage |
The pipeline package exposes how tables are composed in a join operation.
|
com.speedment.runtime.join.trait |
The join trait package exposes shared interfaces for join
operations on tables.
|
Modifier and Type | Method and Description |
---|---|
default <ENTITY,V extends Comparable<? super V>> |
StreamSupplierComponent.findAny(TableIdentifier<ENTITY> tableIdentifier,
HasComparableOperators<ENTITY,V> field,
V value)
Finds a particular entity in the source where the specified field has
the specified value.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ByteField<ENTITY,D>
A field that represents a primitive
byte value. |
interface |
ByteForeignKeyField<ENTITY,D,FK_ENTITY>
A field that represents a primitive
byte value that references
another column using a foreign key. |
interface |
CharField<ENTITY,D>
A field that represents a primitive
char value. |
interface |
CharForeignKeyField<ENTITY,D,FK_ENTITY>
A field that represents a primitive
char value that references
another column using a foreign key. |
interface |
ComparableField<ENTITY,D,V extends Comparable<? super V>>
A field that represents an object value that implements
Comparable . |
interface |
ComparableForeignKeyField<ENTITY,D,V extends Comparable<? super V>,FK>
A field that represents an object value that implements
Comparable
and that references another field using a foreign key. |
interface |
DoubleField<ENTITY,D>
A field that represents a primitive
double value. |
interface |
DoubleForeignKeyField<ENTITY,D,FK_ENTITY>
A field that represents a primitive
double value that references
another column using a foreign key. |
interface |
EnumField<ENTITY,D,E extends Enum<E>>
A field representing an
Enum value in the entity. |
interface |
EnumForeignKeyField<ENTITY,D,E extends Enum<E>,FK>
A field representing an
Enum value in the entity that has a finder to
another entity. |
interface |
FloatField<ENTITY,D>
A field that represents a primitive
float value. |
interface |
FloatForeignKeyField<ENTITY,D,FK_ENTITY>
A field that represents a primitive
float value that references
another column using a foreign key. |
interface |
IntField<ENTITY,D>
A field that represents a primitive
int value. |
interface |
IntForeignKeyField<ENTITY,D,FK_ENTITY>
A field that represents a primitive
int value that references another
column using a foreign key. |
interface |
LongField<ENTITY,D>
A field that represents a primitive
long value. |
interface |
LongForeignKeyField<ENTITY,D,FK_ENTITY>
A field that represents a primitive
long value that references
another column using a foreign key. |
interface |
ShortField<ENTITY,D>
A field that represents a primitive
short value. |
interface |
ShortForeignKeyField<ENTITY,D,FK_ENTITY>
A field that represents a primitive
short value that references
another column using a foreign key. |
interface |
StringField<ENTITY,D>
A field that represents a string column.
|
interface |
StringForeignKeyField<ENTITY,D,FK_ENTITY>
A field that represents a string column with a foreign key to
another column.
|
Modifier and Type | Method and Description |
---|---|
static <ENTITY,D,E extends Enum<E>,FK> |
EnumForeignKeyField.create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,E> getter,
ReferenceSetter<ENTITY,E> setter,
TypeMapper<D,E> typeMapper,
HasComparableOperators<FK,E> referenced,
Function<E,String> enumToString,
Function<String,E> stringToEnum,
Class<E> enumClass)
Create a new instance of this interface using the default implementation.
|
static <ENTITY,D,V extends Comparable<? super V>,FK> |
ComparableForeignKeyField.create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,V> getter,
ReferenceSetter<ENTITY,V> setter,
HasComparableOperators<FK,V> referenced,
TypeMapper<D,V> typeMapper,
boolean unique)
Creates a new
ComparableField using the default implementation. |
Modifier and Type | Method and Description |
---|---|
Optional<HasComparableOperators<ENTITY,?>> |
Stage.field()
Returns a Field that belongs to the table of this Stage, or
empty() if no Field is defined (i.e. |
Optional<HasComparableOperators<?,?>> |
Stage.foreignField()
Returns a Field that belongs to a table from a previous stage, or
empty() if no Field is defined (i.e. |
Modifier and Type | Method and Description |
---|---|
static <T> Stage<T> |
Stage.of(TableIdentifier<T> identifier,
List<Predicate<? super T>> predicates,
JoinType joinType,
HasComparableOperators<T,?> field,
JoinOperator joinOperator,
HasComparableOperators<?,?> foreignField,
int referencedStage)
Creates and returns a mew default implementation of a Stage.
|
static <T> Stage<T> |
Stage.of(TableIdentifier<T> identifier,
List<Predicate<? super T>> predicates,
JoinType joinType,
HasComparableOperators<T,?> field,
JoinOperator joinOperator,
HasComparableOperators<?,?> foreignField,
int referencedStage)
Creates and returns a mew default implementation of a Stage.
|
Modifier and Type | Method and Description |
---|---|
<V extends Comparable<? super V>,FIELD extends HasComparableOperators<? extends ENTITY,V>> |
HasOn.on(FIELD originalField)
Adds the given
originalField to an operation where the
originalField belongs to a previous entered manager that are used
for joining elements. |
Modifier and Type | Method and Description |
---|---|
R |
HasOnPredicates.equal(HasComparableOperators<?,?> joinedField)
Adds an operation where a previous field is compared to the given
joinedField and whereby the operation returns true if and only
the previous field is equal to the given joinedField . |
R |
HasOnPredicates.greaterOrEqual(HasComparableOperators<?,?> joinedField)
Adds an operation where a previous field is compared to the given
joinedField and whereby the operation returns true if and only
the previous field is greater or equal to the given
joinedField . |
R |
HasOnPredicates.greaterThan(HasComparableOperators<?,?> joinedField)
Adds an operation where a previous field is compared to the given
joinedField and whereby the operation returns true if and only
the previous field is greater than the given
joinedField . |
<ENTITY> R |
HasJoins.innerJoinOn(HasComparableOperators<ENTITY,?> joinedField)
Adds the provided
joinedField to the collection of joined
column/tables. |
<ENTITY> R |
HasJoins.leftJoinOn(HasComparableOperators<ENTITY,?> joinedField)
Adds the provided
joinedField to the collection of joined
column/tables. |
R |
HasOnPredicates.lessOrEqual(HasComparableOperators<?,?> joinedField)
Adds an operation where a previous field is compared to the given
joinedField and whereby the operation returns true if and only
the previous field is less or equal to the given
joinedField . |
R |
HasOnPredicates.lessThan(HasComparableOperators<?,?> joinedField)
Adds an operation where a previous field is compared to the given
joinedField and whereby the operation returns true if and only
the previous field is less than the given joinedField . |
R |
HasOnPredicates.notEqual(HasComparableOperators<?,?> joinedField)
Adds an operation where a previous field is compared to the given
joinedField and whereby the operation returns true if and only
the previous field is not equal to the given
joinedField . |
<ENTITY> R |
HasJoins.rightJoinOn(HasComparableOperators<ENTITY,?> joinedField)
Adds the provided
joinedField to the collection of joined
column/tables. |
Copyright © 2019 Speedment, Inc.. All rights reserved.