ColumnTypeMapping

public interface ColumnTypeMapping<T, R> implements Function<T, R>

A persistence strategy of an entity column.

Maps a column value to a stored value of type R.

Parameters

<T>

the column type

<R>

the "persist as" type

Functions

Link copied to clipboard
public R applyTo(Object object)
A convenience alias for #apply(T).
Link copied to clipboard
public static ColumnTypeMapping<T, T> identity<T>()

Inherited functions

Link copied to clipboard
public Function<T, V> andThen<V>(Function<? extends Object, ? extends V> after)
Link copied to clipboard
public abstract R apply(T p)
Link copied to clipboard
public Function<V, R> compose<V>(Function<? extends Object, ? extends T> before)
Link copied to clipboard
public static Function<T, T> identity<T>()