Package | Description |
---|---|
com.speedment.runtime.compute |
The Runtime Compute module adds a large number of functional interfaces to
the Speedment system that allows computations to be performed on entities in
a Stream without loosing metadata required by Speedment to optimize the
stream.
|
com.speedment.runtime.compute.expression |
Expression builders that can produce efficient and type-safe implementations
of the interfaces in the
com.speedment.enterprise.aggregator.function
package. |
com.speedment.runtime.compute.expression.orelse | |
com.speedment.runtime.compute.trait |
Traits used in the base package for functional interfaces.
|
com.speedment.runtime.field |
Fields expose handlers for accessing columns in generated classes and are
located in this package.
|
com.speedment.runtime.field.expression | |
com.speedment.runtime.field.predicate |
The different types of predicates generated by Fields are located in this
package.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ToBigDecimal<T>
Expression that given an entity returns a non-null
BigDecimal value. |
interface |
ToBigDecimalNullable<T>
Expression that given an entity returns a nullable
BigDecimal value. |
interface |
ToBoolean<T>
Expression that given an entity returns a
boolean value. |
interface |
ToBooleanNullable<T>
Expression that given an entity returns a
boolean value, or
null . |
interface |
ToByte<T>
Expression that given an entity returns a
byte value. |
interface |
ToByteNullable<T>
Expression that given an entity returns a
byte value, or
null . |
interface |
ToChar<T>
Expression that given an entity returns a
char value. |
interface |
ToCharNullable<T>
Expression that given an entity returns a
char value, or
null . |
interface |
ToDouble<T>
Expression that given an entity returns a
double value. |
interface |
ToDoubleNullable<T>
Expression that given an entity returns a
double value, or
null . |
interface |
ToEnum<T,E extends Enum<E>>
Expression that given an entity returns a non-null
enum value. |
interface |
ToEnumNullable<T,E extends Enum<E>>
Expression that given an entity returns an
enum value, or
null . |
interface |
ToFloat<T>
Expression that given an entity returns a
float value. |
interface |
ToFloatNullable<T>
Expression that given an entity returns a
float value, or
null . |
interface |
ToInt<T>
Expression that given an entity returns an
int value. |
interface |
ToIntNullable<T>
Expression that given an entity returns an
int value, or
null . |
interface |
ToLong<T>
Expression that given an entity returns a
long value. |
interface |
ToLongNullable<T>
Expression that given an entity returns a
long value, or
null . |
interface |
ToShort<T>
Expression that given an entity returns a
short value. |
interface |
ToShortNullable<T>
Expression that given an entity returns a
short value, or
null . |
interface |
ToString<T>
Expression that given an entity returns a non-null
String value. |
interface |
ToStringNullable<T>
Expression that given an entity returns a
String value, or
null . |
Modifier and Type | Interface and Description |
---|---|
interface |
BinaryExpression<T,FIRST extends Expression<T>,SECOND extends Expression<T>>
An
Expression that has two operands, both are implementations of
Expression . |
interface |
BinaryExpression<T,FIRST extends Expression<T>,SECOND extends Expression<T>>
An
Expression that has two operands, both are implementations of
Expression . |
interface |
BinaryObjExpression<T,FIRST extends Expression<T>,V>
|
interface |
MapperExpression<T,INNER extends Expression<T>,MAPPER>
Specialized expression that takes the result of an inner expression and
applies a mapping function to it.
|
interface |
NonNullableExpression<T,INNER extends Expression<T>>
Specialized
Expression that is not nullable, but that wraps an
expression that is and that has some routine for dealing with null
values determined by NonNullableExpression.nullStrategy() . |
interface |
NullableExpression<T,INNER extends Expression<T>>
Specific type of
Expression that has an inner
expression that is used for elements that does not pass the
isNull predicate. |
interface |
UnaryExpression<T,INNER extends Expression<T>>
An
Expression that has a single operand that implements
Expression . |
Modifier and Type | Interface and Description |
---|---|
interface |
BinaryExpression<T,FIRST extends Expression<T>,SECOND extends Expression<T>>
An
Expression that has two operands, both are implementations of
Expression . |
interface |
BinaryObjExpression<T,FIRST extends Expression<T>,V>
|
interface |
ComposedExpression<T,A>
Specialized
Expression interface used when a ComposedExpression.firstStep()
function is first applied to an incomming entity, before a
ComposedExpression.secondStep() expression is applied to get the result. |
interface |
ConstantExpression<T,V>
Specialized
Expression that always returns the same value, regardless
of the input. |
interface |
JoiningExpression<T>
A special type of
ToString expression that joins several strings
together using optionally a separator, a prefix and a suffix. |
interface |
MapperExpression<T,INNER extends Expression<T>,MAPPER>
Specialized expression that takes the result of an inner expression and
applies a mapping function to it.
|
interface |
NonNullableExpression<T,INNER extends Expression<T>>
Specialized
Expression that is not nullable, but that wraps an
expression that is and that has some routine for dealing with null
values determined by NonNullableExpression.nullStrategy() . |
interface |
NullableExpression<T,INNER extends Expression<T>>
Specific type of
Expression that has an inner
expression that is used for elements that does not pass the
isNull predicate. |
interface |
UnaryExpression<T,INNER extends Expression<T>>
An
Expression that has a single operand that implements
Expression . |
Modifier and Type | Method and Description |
---|---|
Expression<A> |
ComposedExpression.secondStep()
The inner expression that is applied to the result of
ComposedExpression.firstStep() to get the result of this full expression. |
Modifier and Type | Interface and Description |
---|---|
interface |
OrElseGetExpression<T,INNER extends Expression<T>,DEFAULT extends Expression<T>>
Specialization of
NonNullableExpression that has a
OrElseGetExpression.defaultValueGetter() method. |
interface |
OrElseGetExpression<T,INNER extends Expression<T>,DEFAULT extends Expression<T>>
Specialization of
NonNullableExpression that has a
OrElseGetExpression.defaultValueGetter() method. |
interface |
OrElseThrowExpression<T,INNER extends Expression<T>>
Specialization of
NonNullableExpression that throws an exception if
the wrapped expression returns null . |
Modifier and Type | Interface and Description |
---|---|
interface |
OrElseGetExpression<T,INNER extends Expression<T>,DEFAULT extends Expression<T>>
Specialization of
NonNullableExpression that has a
OrElseGetExpression.defaultValueGetter() method. |
interface |
OrElseThrowExpression<T,INNER extends Expression<T>>
Specialization of
NonNullableExpression that throws an exception if
the wrapped expression returns null . |
interface |
ToBigDecimalOrElse<T>
Specialized
NonNullableExpression for BigDecimal values where a
default value is given if the original expression returns null . |
interface |
ToBigDecimalOrElseGet<T>
Specialized
NonNullableExpression for BigDecimal values where
a getter function is applied if the original expression returns null . |
interface |
ToBigDecimalOrThrow<T>
Specialized
NonNullableExpression for BigDecimal values where
a NullPointerException is thrown if the original expression returns
null . |
interface |
ToBooleanOrElse<T>
Specialized
NonNullableExpression for boolean values where a
default value is given if the original expression returns null . |
interface |
ToBooleanOrElseGet<T>
Specialized
NonNullableExpression for boolean values where a
getter function is applied if the original expression returns null . |
interface |
ToBooleanOrThrow<T>
Specialized
NonNullableExpression for boolean values where a
NullPointerException is thrown if the original expression returns
null . |
interface |
ToByteOrElse<T>
Specialized
NonNullableExpression for byte values where a
default value is given if the original expression returns null . |
interface |
ToByteOrElseGet<T>
Specialized
NonNullableExpression for byte values where a
getter function is applied if the original expression returns null . |
interface |
ToByteOrThrow<T>
Specialized
NonNullableExpression for byte values where a
NullPointerException is thrown if the original expression returns
null . |
interface |
ToCharOrElse<T>
Specialized
NonNullableExpression for char values where a
default value is given if the original expression returns null . |
interface |
ToCharOrElseGet<T>
Specialized
NonNullableExpression for char values where a
getter function is applied if the original expression returns null . |
interface |
ToCharOrThrow<T>
Specialized
NonNullableExpression for char values where a
NullPointerException is thrown if the original expression returns
null . |
interface |
ToDoubleOrElse<T>
Specialized
NonNullableExpression for double values where a
default value is given if the original expression returns null . |
interface |
ToDoubleOrElseGet<T>
Specialized
NonNullableExpression for double values where a
getter function is applied if the original expression returns null . |
interface |
ToDoubleOrThrow<T>
Specialized
NonNullableExpression for double values where a
NullPointerException is thrown if the original expression returns
null . |
interface |
ToEnumOrElse<T,E extends Enum<E>>
Specialized
NonNullableExpression for Enum values where a
default value is given if the original expression returns null . |
interface |
ToEnumOrElseGet<T,E extends Enum<E>>
Specialized
NonNullableExpression for double values where a
getter function is applied if the original expression returns null . |
interface |
ToEnumOrThrow<T,E extends Enum<E>>
Specialized
NonNullableExpression for Enum values where a
NullPointerException is thrown if the original expression returns
null . |
interface |
ToFloatOrElse<T>
Specialized
NonNullableExpression for float values where a
default value is given if the original expression returns null . |
interface |
ToFloatOrElseGet<T>
Specialized
NonNullableExpression for float values where a
getter function is applied if the original expression returns null . |
interface |
ToFloatOrThrow<T>
Specialized
NonNullableExpression for float values where a
NullPointerException is thrown if the original expression returns
null . |
interface |
ToIntOrElse<T>
Specialized
NonNullableExpression for int values where a
default value is given if the original expression returns null . |
interface |
ToIntOrElseGet<T>
Specialized
NonNullableExpression for int values where a
getter function is applied if the original expression returns null . |
interface |
ToIntOrThrow<T>
Specialized
NonNullableExpression for int values where a
NullPointerException is thrown if the original expression returns
null . |
interface |
ToLongOrElse<T>
Specialized
NonNullableExpression for long values where a
default value is given if the original expression returns null . |
interface |
ToLongOrElseGet<T>
Specialized
NonNullableExpression for long values where a
getter function is applied if the original expression returns null . |
interface |
ToLongOrThrow<T>
Specialized
NonNullableExpression for long values where a
NullPointerException is thrown if the original expression returns
null . |
interface |
ToShortOrElse<T>
Specialized
NonNullableExpression for short values where a
default value is given if the original expression returns null . |
interface |
ToShortOrElseGet<T>
Specialized
NonNullableExpression for short values where a
getter function is applied if the original expression returns null . |
interface |
ToShortOrThrow<T>
Specialized
NonNullableExpression for short values where a
NullPointerException is thrown if the original expression returns
null . |
interface |
ToStringOrElse<T>
Specialized
NonNullableExpression for String values where a
default value is given if the original expression returns null . |
interface |
ToStringOrElseGet<T>
Specialized
NonNullableExpression for String values where a
getter function is applied if the original expression returns null . |
interface |
ToStringOrThrow<T>
Specialized
NonNullableExpression for String values where a
NullPointerException is thrown if the original expression returns
null . |
Modifier and Type | Interface and Description |
---|---|
interface |
HasCase<T,RESULT extends Expression<T>>
Trait for expressions that has
HasCase.toUpperCase() and
HasCase.toLowerCase() operations. |
interface |
ToNullable<T,R,NON_NULLABLE extends Expression<T>>
Trait for expressions that result in a nullable value.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ToNullable<T,R,NON_NULLABLE extends Expression<T>>
Trait for expressions that result in a nullable value.
|
Modifier and Type | Method and Description |
---|---|
<V> Expression<V> |
HasCompose.compose(Function<? super V,? extends T> before)
Returns a composed expression that first applies the
before
function to its input, and then applies this function to the result. |
Modifier and Type | Interface and Description |
---|---|
interface |
BooleanField<ENTITY,D>
A field that represents a primitive
boolean value. |
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 |
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 | Interface and Description |
---|---|
interface |
FieldMapper<ENTITY,T,R,NON_NULLABLE extends Expression<ENTITY>,MAPPER>
Specialized expression that takes the value of a particular Speedment field
and maps it to a specific type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FieldMapper<ENTITY,T,R,NON_NULLABLE extends Expression<ENTITY>,MAPPER>
Specialized expression that takes the value of a particular Speedment field
and maps it to a specific type.
|
interface |
FieldToBigDecimal<ENTITY,T>
Specific
FieldMapper implementation that also implements
ToBigDecimalNullable . |
interface |
FieldToBoolean<ENTITY,T>
Specific
FieldMapper implementation that also implements
ToBooleanNullable . |
interface |
FieldToByte<ENTITY,T>
Specific
FieldMapper implementation that also implements
ToByteNullable . |
interface |
FieldToChar<ENTITY,T>
Specific
FieldMapper implementation that also implements
ToCharNullable . |
interface |
FieldToDouble<ENTITY,T>
Specific
FieldMapper implementation that also implements
ToDoubleNullable . |
interface |
FieldToEnum<ENTITY,T,E extends Enum<E>>
Specific
FieldMapper implementation that also implements
ToStringNullable . |
interface |
FieldToFloat<ENTITY,T>
Specific
FieldMapper implementation that also implements
ToFloatNullable . |
interface |
FieldToInt<ENTITY,T>
Specific
FieldMapper implementation that also implements
ToIntNullable . |
interface |
FieldToLong<ENTITY,T>
Specific
FieldMapper implementation that also implements
ToLongNullable . |
interface |
FieldToShort<ENTITY,T>
Specific
FieldMapper implementation that also implements
ToShortNullable . |
interface |
FieldToString<ENTITY,T>
Specific
FieldMapper implementation that also implements
ToStringNullable . |
Modifier and Type | Interface and Description |
---|---|
interface |
CombinedPredicate<ENTITY>
Aggregation of a number of
Predicates of the same type
(e.g. |
interface |
ComposedPredicate<ENTITY,A>
SpeedmentPredicate that composes a
Function and another
SpeedmentPredicate , testing the output of the function with the
predicate to get the result. |
interface |
FieldIsNotNullPredicate<ENTITY,T>
|
interface |
FieldIsNullPredicate<ENTITY,T>
|
interface |
FieldPredicate<ENTITY>
The base interface for all
predicates generated by
Speedment entity fields. |
interface |
SpeedmentPredicate<ENTITY>
Common interface for all metadata-rich predicates in the Speedment library.
|
Copyright © 2018 Speedment, Inc.. All rights reserved.