Class From

    • Constructor Detail

    • Method Detail

      • table

        public From table​(java.lang.String table)
        Specify the target table by name
        Parameters:
        table - The table name to select from
        Returns:
        This FROM statement
      • table

        public From table​(Table table)
        Specify the target table by Table representation
        Parameters:
        table - The Table representation to select from
        Returns:
        This FROM statement
      • tables

        public From tables​(java.lang.String... tables)
        Specify the target tables by name
        Parameters:
        tables - The table names to select from
        Returns:
        This FROM statement
      • tables

        public From tables​(Table... tables)
        Specify the target table by Table representations
        Parameters:
        tables - The Table representations to select from
        Returns:
        This FROM statement
      • subquery

        public From subquery​(QueryBuilder<?> subquery,
                             java.lang.String alias)
        Specify a subquery to select from
        Parameters:
        subquery - The subquery to select from
        alias - The subquery alias
        Returns:
        This FROM statement
      • subquery

        public From subquery​(QueryBuilder<?> subquery)
        Specify a subquery to select from
        Parameters:
        subquery - The subquery to select from
        Returns:
        This FROM statement
      • string

        public java.lang.String string​(QueryOptions options)
        Description copied from interface: QueryPart
        Transforms this statement into an SQL string
        Specified by:
        string in interface QueryPart
        Parameters:
        options - The QueryOptions to apply for transformation
        Returns:
        The created SQL string