Class QueryBuilder


  • public final class QueryBuilder
    extends Object
    • Method Detail

      • select

        @NonNull
        public static Select select​(@NonNull
                                    SelectResult... results)
        Create a SELECT statement instance that you can use further (e.g. calling the from() function) to construct the complete query statement.
        Parameters:
        results - The array of the SelectResult object for specifying the returned values.
        Returns:
        A Select object.
      • selectDistinct

        @NonNull
        public static Select selectDistinct​(@NonNull
                                            SelectResult... results)
        Create a SELECT DISTINCT statement instance that you can use further (e.g. calling the from() function) to construct the complete query statement.
        Parameters:
        results - The array of the SelectResult object for specifying the returned values.
        Returns:
        A Select distinct object.