io.army.mapping.postgre.RangeFunction Maven / Gradle / Ivy
package io.army.mapping.postgre;
import javax.annotation.Nullable;
import io.army.type.DaoLayer;
/**
*
* This interface representing the function that create postgre range instance.
*
* NOTE :This interface present only in DAO layer,not service layer,business layer,web layer.
*
* @see PostgreSingleRangeType
* @since 1.0
*/
@DaoLayer
public interface RangeFunction {
/**
* @param lower null representing infinity
* @param upper null representing infinity
*/
R apply(boolean includeLower, @Nullable T lower, @Nullable T upper, boolean includeUpper);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy