Interface SqlFunction<T,R>

  • All Superinterfaces:
    java.util.function.Function<T,R>, java.io.Serializable, SerializedFunctionalInterface
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface SqlFunction<T,R>
    extends java.util.function.Function<T,R>, SerializedFunctionalInterface
    A serialized Function. Converting a function to be used in SQL is really only useful when working with ORDER BY, or similar DQL options. For more on this, check out my ORM library, Java2DB, which uses this feature.
    Author:
    Collin Alpert
    See Also:
    Function, SerializedFunctionalInterface