public interface LongCellDefinition extends ComparableCellDefinition<java.lang.Long>
long
cell.CellDefinition.CellImpl<T>, CellDefinition.Impl<T>
Modifier and Type | Method and Description |
---|---|
default BuildableToLongFunction<Record<?>> |
longValueOr(long otherwise)
Returns a function that extracts this cells value from a record.
|
default BuildableToLongFunction<Record<?>> |
longValueOrFail()
Returns a function that extracts this cells value from a record.
|
value, valueOr, valueOrFail
define, defineBool, defineBytes, defineChar, defineDouble, defineInt, defineLong, defineString, exists, name, newCell, type
default BuildableToLongFunction<Record<?>> longValueOr(long otherwise)
If this cell is absent from a record then the supplied value is used.
otherwise
- value to use in this cells absencedefault BuildableToLongFunction<Record<?>> longValueOrFail()
If this cell is absent from a record then a NoSuchElementException
is thrown.