ENTITY
- entity typeD
- database type@GeneratedCode(value="Speedment") public interface LongField<ENTITY,D> extends Field<ENTITY>, HasLongValue<ENTITY,D>, HasComparableOperators<ENTITY,Long>, ToLong<ENTITY>
long
value.ReferenceField
Modifier and Type | Method and Description |
---|---|
default long |
applyAsLong(ENTITY entity) |
static <ENTITY,D> LongField<ENTITY,D> |
create(ColumnIdentifier<ENTITY> identifier,
LongGetter<ENTITY> getter,
LongSetter<ENTITY> setter,
TypeMapper<D,Long> typeMapper,
boolean unique)
Creates a new
LongField using the default implementation. |
getAsLong, getter, set, setter, setTo, typeMapper
between, between, comparator, comparatorNullFieldsFirst, equal, greaterOrEqual, greaterThan, in, in, lessOrEqual, lessThan, notBetween, notBetween, notEqual, notIn, notIn
findColumn, identifier
abs, asDouble, asInt, asLong, compare, compose, divide, divide, divide, divide, divide, divide, expressionType, hash, map, mapToDouble, 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, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
static <ENTITY,D> LongField<ENTITY,D> create(ColumnIdentifier<ENTITY> identifier, LongGetter<ENTITY> getter, LongSetter<ENTITY> setter, TypeMapper<D,Long> typeMapper, boolean unique)
LongField
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 long applyAsLong(ENTITY entity)
applyAsLong
in interface ToLong<ENTITY>
applyAsLong
in interface ToLongFunction<ENTITY>
Copyright © 2018 Speedment, Inc.. All rights reserved.