Class DataSource

  • Direct Known Subclasses:
    DataSource.As

    public class DataSource
    extends Object
    A query data source, used for specifying the source of data for a query.
    • Method Detail

      • database

        @NonNull
        public static DataSource.As database​(@NonNull
                                             Database database)
        Create a database as a data source.
        Parameters:
        database - the database used as a source of data for query.
        Returns:
        DataSource.Database object.