Class AbstractFunction<T,​U extends AbstractFunction<T,​U>>

    • Method Summary

      Modifier and Type Method Description
      java.util.Optional<java.lang.String> alias()
      Returns the columns alias if one has been specified.
      U as​(java.lang.String alias)
      Override the base method definition to make it more specific to this interface.
      protected abstract U copy()  
      java.util.Optional<java.sql.JDBCType> jdbcType()  
      java.util.Optional<java.lang.String> typeHandler()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • alias

        protected java.lang.String alias
    • Constructor Detail

      • AbstractFunction

        protected AbstractFunction​(BindableColumn<T> column)
    • Method Detail

      • alias

        public java.util.Optional<java.lang.String> alias()
        Description copied from interface: BasicColumn
        Returns the columns alias if one has been specified.
        Specified by:
        alias in interface BasicColumn
        Returns:
        the column alias
      • as

        public U as​(java.lang.String alias)
        Description copied from interface: BindableColumn
        Override the base method definition to make it more specific to this interface.
        Specified by:
        as in interface BasicColumn
        Specified by:
        as in interface BindableColumn<T>
        Parameters:
        alias - the column alias to set
        Returns:
        new instance with alias set
      • jdbcType

        public java.util.Optional<java.sql.JDBCType> jdbcType()
        Specified by:
        jdbcType in interface BindableColumn<T>
      • typeHandler

        public java.util.Optional<java.lang.String> typeHandler()
        Specified by:
        typeHandler in interface BindableColumn<T>
      • copy

        protected abstract U copy()