Package | Description |
---|---|
com.speedment.runtime.field |
Fields expose handlers for accessing columns in generated classes and are
located in this package.
|
com.speedment.runtime.field.trait |
Traits used in Speedment fields are located in this package.
|
com.speedment.runtime.typemapper |
Interfaces used by the database specific document types to describe mappers
should be located in this package.
|
com.speedment.runtime.typemapper.bigdecimal |
Implementations of the
TypeMapper
interface that map from BigDecimal to other types are located in this package. |
com.speedment.runtime.typemapper.bytes |
Implementations of the
TypeMapper
interface that map from Byte to other types are located in this package. |
com.speedment.runtime.typemapper.doubles |
Implementations of the
TypeMapper
interface that map from Double to other types are located in this package. |
com.speedment.runtime.typemapper.integer |
Implementations of the
TypeMapper
interface that map from Integer to other types are located in this package. |
com.speedment.runtime.typemapper.largeobject |
Implementations of the
TypeMapper
interface that map from Clob to other types are located in this package. |
com.speedment.runtime.typemapper.longs |
Implementations of the
TypeMapper
interface that map from Long to other types are located in this package. |
com.speedment.runtime.typemapper.other |
Implementations of the
TypeMapper
interface that map from types that doesn't belong in any other package are
located in this package. |
com.speedment.runtime.typemapper.primitive |
Implementations of the
TypeMapper
interface that map from wrapper to primitive types are located in this package. |
com.speedment.runtime.typemapper.shorts |
Implementations of the
TypeMapper
interface that map from Short to other types are located in this package. |
com.speedment.runtime.typemapper.string |
Implementations of the
TypeMapper
interface that map from String to other types are located in this package. |
com.speedment.runtime.typemapper.time |
Implementations of the
TypeMapper
interface that map from temporal types to other types are located in this
package. |
Modifier and Type | Method and Description |
---|---|
static <ENTITY,D> BooleanField<ENTITY,D> |
BooleanField.create(ColumnIdentifier<ENTITY> identifier,
BooleanGetter<ENTITY> getter,
BooleanSetter<ENTITY> setter,
TypeMapper<D,Boolean> typeMapper,
boolean unique)
Creates a new
BooleanField using the default implementation. |
static <ENTITY,D,FK_ENTITY> |
ByteForeignKeyField.create(ColumnIdentifier<ENTITY> identifier,
ByteGetter<ENTITY> getter,
ByteSetter<ENTITY> setter,
ByteField<FK_ENTITY,D> referenced,
TypeMapper<D,Byte> typeMapper,
boolean unique)
Creates a new
ByteForeignKeyField using the default
implementation. |
static <ENTITY,D> ByteField<ENTITY,D> |
ByteField.create(ColumnIdentifier<ENTITY> identifier,
ByteGetter<ENTITY> getter,
ByteSetter<ENTITY> setter,
TypeMapper<D,Byte> typeMapper,
boolean unique)
Creates a new
ByteField using the default implementation. |
static <ENTITY,D,FK_ENTITY> |
CharForeignKeyField.create(ColumnIdentifier<ENTITY> identifier,
CharGetter<ENTITY> getter,
CharSetter<ENTITY> setter,
CharField<FK_ENTITY,D> referenced,
TypeMapper<D,Character> typeMapper,
boolean unique)
Creates a new
CharForeignKeyField using the default
implementation. |
static <ENTITY,D> CharField<ENTITY,D> |
CharField.create(ColumnIdentifier<ENTITY> identifier,
CharGetter<ENTITY> getter,
CharSetter<ENTITY> setter,
TypeMapper<D,Character> typeMapper,
boolean unique)
Creates a new
CharField using the default implementation. |
static <ENTITY,D,FK_ENTITY> |
DoubleForeignKeyField.create(ColumnIdentifier<ENTITY> identifier,
DoubleGetter<ENTITY> getter,
DoubleSetter<ENTITY> setter,
DoubleField<FK_ENTITY,D> referenced,
TypeMapper<D,Double> typeMapper,
boolean unique)
Creates a new
DoubleForeignKeyField using the default
implementation. |
static <ENTITY,D> DoubleField<ENTITY,D> |
DoubleField.create(ColumnIdentifier<ENTITY> identifier,
DoubleGetter<ENTITY> getter,
DoubleSetter<ENTITY> setter,
TypeMapper<D,Double> typeMapper,
boolean unique)
Creates a new
DoubleField using the default implementation. |
static <ENTITY,D,FK_ENTITY> |
FloatForeignKeyField.create(ColumnIdentifier<ENTITY> identifier,
FloatGetter<ENTITY> getter,
FloatSetter<ENTITY> setter,
FloatField<FK_ENTITY,D> referenced,
TypeMapper<D,Float> typeMapper,
boolean unique)
Creates a new
FloatForeignKeyField using the default
implementation. |
static <ENTITY,D> FloatField<ENTITY,D> |
FloatField.create(ColumnIdentifier<ENTITY> identifier,
FloatGetter<ENTITY> getter,
FloatSetter<ENTITY> setter,
TypeMapper<D,Float> typeMapper,
boolean unique)
Creates a new
FloatField using the default implementation. |
static <ENTITY,D,FK_ENTITY> |
IntForeignKeyField.create(ColumnIdentifier<ENTITY> identifier,
IntGetter<ENTITY> getter,
IntSetter<ENTITY> setter,
IntField<FK_ENTITY,D> referenced,
TypeMapper<D,Integer> typeMapper,
boolean unique)
Creates a new
IntForeignKeyField using the default
implementation. |
static <ENTITY,D> IntField<ENTITY,D> |
IntField.create(ColumnIdentifier<ENTITY> identifier,
IntGetter<ENTITY> getter,
IntSetter<ENTITY> setter,
TypeMapper<D,Integer> typeMapper,
boolean unique)
Creates a new
IntField using the default implementation. |
static <ENTITY,D,FK_ENTITY> |
LongForeignKeyField.create(ColumnIdentifier<ENTITY> identifier,
LongGetter<ENTITY> getter,
LongSetter<ENTITY> setter,
LongField<FK_ENTITY,D> referenced,
TypeMapper<D,Long> typeMapper,
boolean unique)
Creates a new
LongForeignKeyField using the default
implementation. |
static <ENTITY,D> LongField<ENTITY,D> |
LongField.create(ColumnIdentifier<ENTITY> identifier,
LongGetter<ENTITY> getter,
LongSetter<ENTITY> setter,
TypeMapper<D,Long> typeMapper,
boolean unique)
Creates a new
LongField using the default implementation. |
static <ENTITY,D,E extends Enum<E>> |
EnumField.create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,E> getter,
ReferenceSetter<ENTITY,E> setter,
TypeMapper<D,E> typeMapper,
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,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,FK> |
StringForeignKeyField.create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,String> getter,
ReferenceSetter<ENTITY,String> setter,
StringField<FK,D> referenced,
TypeMapper<D,String> typeMapper,
boolean unique)
Creates a new
StringForeignKeyField using the default
implementation. |
static <ENTITY,D> StringField<ENTITY,D> |
StringField.create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,String> getter,
ReferenceSetter<ENTITY,String> setter,
TypeMapper<D,String> typeMapper,
boolean unique)
Creates a new
StringField 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. |
static <ENTITY,D,V> |
ReferenceField.create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,V> getter,
ReferenceSetter<ENTITY,V> setter,
TypeMapper<D,V> typeMapper,
boolean unique)
Creates a new
ReferenceField using the default implementation. |
static <ENTITY,D,V extends Comparable<? super V>> |
ComparableField.create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,V> getter,
ReferenceSetter<ENTITY,V> setter,
TypeMapper<D,V> typeMapper,
boolean unique)
Creates a new
ComparableField using the default implementation. |
static <ENTITY,D,FK_ENTITY> |
ShortForeignKeyField.create(ColumnIdentifier<ENTITY> identifier,
ShortGetter<ENTITY> getter,
ShortSetter<ENTITY> setter,
ShortField<FK_ENTITY,D> referenced,
TypeMapper<D,Short> typeMapper,
boolean unique)
Creates a new
ShortForeignKeyField using the default
implementation. |
static <ENTITY,D> ShortField<ENTITY,D> |
ShortField.create(ColumnIdentifier<ENTITY> identifier,
ShortGetter<ENTITY> getter,
ShortSetter<ENTITY> setter,
TypeMapper<D,Short> typeMapper,
boolean unique)
Creates a new
ShortField using the default implementation. |
Modifier and Type | Method and Description |
---|---|
TypeMapper<?,?> |
HasTypeMapper.typeMapper()
Returns the type mapper used by this field.
|
TypeMapper<D,Integer> |
HasIntValue.typeMapper() |
TypeMapper<D,Boolean> |
HasBooleanValue.typeMapper() |
TypeMapper<D,Character> |
HasCharValue.typeMapper() |
TypeMapper<D,Long> |
HasLongValue.typeMapper() |
TypeMapper<D,Short> |
HasShortValue.typeMapper() |
TypeMapper<D,V> |
HasReferenceValue.typeMapper() |
TypeMapper<D,Float> |
HasFloatValue.typeMapper() |
TypeMapper<D,Byte> |
HasByteValue.typeMapper() |
TypeMapper<D,Double> |
HasDoubleValue.typeMapper() |
Modifier and Type | Field and Description |
---|---|
static Comparator<TypeMapper<?,?>> |
TypeMapper.COMPARATOR
The standard comparator to use for instances of the
TypeMapper
interface. |
Modifier and Type | Method and Description |
---|---|
static <T> TypeMapper<T,T> |
TypeMapper.identity()
Returns an identity type mapper.
|
static <T> TypeMapper<T,T> |
TypeMapper.primitive()
Returns an primitive type mapper.
|
Modifier and Type | Class and Description |
---|---|
class |
BigDecimalToDouble |
Modifier and Type | Class and Description |
---|---|
class |
ByteZeroOneToBooleanMapper |
Modifier and Type | Class and Description |
---|---|
class |
DoubleToFloatMapper
Maps between
Double and Float values by simply casting to
lower precision. |
class |
PrimitiveDoubleToFloatMapper
Maps between
Double and float values by simply casting to
lower precision. |
Modifier and Type | Class and Description |
---|---|
class |
DateIntToPrimitiveShortMapper
Specialized Type Mapper that stores dates on the form
YYYYMMDD as
a single short value (the number of days since the beginning of epoch
time). |
class |
DateIntToShortMapper
Specialized Type Mapper that stores dates on the form
YYYYMMDD as
a single short value (the number of days since the beginning of epoch
time). |
class |
IntegerToByteMapper
Maps between
Integer and Byte values by simply casting to
lower precision. |
class |
IntegerToShortMapper
Maps between
Integer and Short values by simply casting to
lower precision. |
class |
IntegerZeroOneToBooleanMapper |
class |
PrimitiveIntegerToByteMapper
Maps between
Integer and byte values by simply casting to
lower precision. |
class |
PrimitiveIntegerToShortMapper
Maps between
Integer and short values by simply casting to
lower precision. |
class |
PrimitiveIntegerZeroOneToBooleanMapper |
Modifier and Type | Class and Description |
---|---|
class |
BlobToBigIntegerMapper
Maps between a large integer stored in binary form into a java
BigDecimal . |
class |
BlobToByteArrayMapper |
class |
ClobToStringMapper |
Modifier and Type | Class and Description |
---|---|
class |
LongToByteMapper
Maps between
Long and Byte values by simply casting to
lower precision. |
class |
LongToIntegerMapper
Maps between
Long and Integer values by simply casting to
lower precision. |
class |
LongToShortMapper
Maps between
Long and Short values by simply casting to
lower precision. |
class |
PrimitiveLongToByteMapper
Maps between
Long and byte values by simply casting to
lower precision. |
class |
PrimitiveLongToIntegerMapper
Maps between
Long and int values by simply casting to
lower precision. |
class |
PrimitiveLongToShortMapper
Maps between
Long and short values by simply casting to
lower precision. |
Modifier and Type | Class and Description |
---|---|
class |
BinaryToBigIntegerMapper
Maps between a large integer stored in binary form into a java
BigDecimal . |
class |
BinaryToByteArrayMapper
Converts between a database type that is known to be a
byte[] masked
as an java.lang.Object and a properly typed byte[] . |
class |
BinaryToUuidMapper
|
Modifier and Type | Class and Description |
---|---|
class |
PrimitiveTypeMapper<T> |
Modifier and Type | Class and Description |
---|---|
class |
PrimitiveShortToByteMapper
Maps between
Short and byte values by simply casting to
lower precision. |
class |
ShortToByteMapper
Maps between
Short and Byte values by simply casting to
lower precision. |
Modifier and Type | Class and Description |
---|---|
class |
StringToBigDecimalMapper
Maps between a large real number stored as a
String into a java
BigDecimal . |
class |
StringToBigIntegerMapper
Maps between a large integer stored as a
String into a java
BigInteger . |
class |
StringToLocaleMapper |
class |
TrueFalseStringToBooleanMapper |
class |
YesNoStringToBooleanMapper |
class |
YNStringToBooleanMapper |
Modifier and Type | Class and Description |
---|---|
class |
DateToIntMapper |
class |
DateToLocalDateMapper
A mapping from SQL's Date to Java's LocalDate.
|
class |
DateToLongMapper |
class |
DateToPrimitiveIntMapper |
class |
DateToPrimitiveLongMapper |
class |
IntEpochDaysToLocalDateMapper
Implementation of
TypeMapper that takes a date specified as a number
of days since the unix epoch start. |
class |
ShortEpochDaysToLocalDateMapper
Implementation of
TypeMapper that takes a date specified as a number
of days since the unix epoch start. |
class |
TimestampToIntMapper |
class |
TimestampToLocalDateTimeMapper
A mapping from SQL's Timestamp to Java's LocalDateTime.
|
class |
TimestampToLongMapper |
class |
TimestampToPrimitiveIntMapper |
class |
TimestampToPrimitiveLongMapper |
class |
TimeToIntMapper |
class |
TimeToLocalTimeMapper
A mapping from SQL's Time to Java's LocalTime.
|
class |
TimeToLongMapper |
class |
TimeToPrimitiveIntMapper |
class |
TimeToPrimitiveLongMapper |
Copyright © 2019 Speedment, Inc.. All rights reserved.