Class DefaultOrderByElement

  • All Implemented Interfaces:
    com.blazebit.persistence.spi.OrderByElement

    public class DefaultOrderByElement
    extends Object
    implements com.blazebit.persistence.spi.OrderByElement
    Since:
    1.2.0
    Author:
    Christian Beikov
    • Constructor Detail

      • DefaultOrderByElement

        public DefaultOrderByElement​(String name,
                                     int position,
                                     boolean ascending,
                                     boolean nullable,
                                     boolean nullsFirst)
    • Method Detail

      • getName

        public String getName()
      • getPosition

        public int getPosition()
        Specified by:
        getPosition in interface com.blazebit.persistence.spi.OrderByElement
      • isAscending

        public boolean isAscending()
        Specified by:
        isAscending in interface com.blazebit.persistence.spi.OrderByElement
      • isNullable

        public boolean isNullable()
        Specified by:
        isNullable in interface com.blazebit.persistence.spi.OrderByElement
      • isNullsFirst

        public boolean isNullsFirst()
        Specified by:
        isNullsFirst in interface com.blazebit.persistence.spi.OrderByElement
      • fromString

        public static com.blazebit.persistence.spi.OrderByElement fromString​(String string,
                                                                             int startIndex,
                                                                             int endIndex)