ENTITY
- entity typeD
- database type@GeneratedCode(value="Speedment") public interface DoubleField<ENTITY,D> extends Field<ENTITY>, HasDoubleValue<ENTITY,D>, HasComparableOperators<ENTITY,Double>, ToDouble<ENTITY>
double
value.ReferenceField
Modifier and Type | Method and Description |
---|---|
default double |
applyAsDouble(ENTITY entity) |
static <ENTITY,D> DoubleField<ENTITY,D> |
create(ColumnIdentifier<ENTITY> identifier,
DoubleGetter<ENTITY> getter,
DoubleSetter<ENTITY> setter,
TypeMapper<D,Double> typeMapper,
boolean unique)
Creates a new
DoubleField using the default implementation. |
getAsDouble, getter, set, setter, setTo, typeMapper
between, between, comparator, comparatorNullFieldsFirst, equal, greaterOrEqual, greaterThan, in, in, lessOrEqual, lessThan, notBetween, notBetween, notEqual, notIn, notIn, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
findColumn, identifier
abs, asDouble, asInt, asLong, compare, compose, constant, divide, divide, divide, divide, divide, divide, expressionType, hash, map, minus, minus, minus, minus, minus, minus, minus, minus, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, negate, of, plus, plus, plus, plus, plus, plus, plus, plus, pow, pow, pow, pow, sign, sqrt
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reverseOrder
static <ENTITY,D> DoubleField<ENTITY,D> create(ColumnIdentifier<ENTITY> identifier, DoubleGetter<ENTITY> getter, DoubleSetter<ENTITY> setter, TypeMapper<D,Double> typeMapper, boolean unique)
DoubleField
using the default implementation.ENTITY
- entity typeD
- database typeidentifier
- column that this field representsgetter
- method reference to getter in entitysetter
- method reference to setter in entitytypeMapper
- type mapper that is appliedunique
- if column only contains unique valuesdefault double applyAsDouble(ENTITY entity)
applyAsDouble
in interface ToDouble<ENTITY>
applyAsDouble
in interface ToDoubleFunction<ENTITY>
Copyright © 2018 Speedment, Inc.. All rights reserved.