Class DataSource

  • Direct Known Subclasses:
    DataSource.As

    public class DataSource
    extends java.lang.Object
    A query data source, used for specifying the source of data for a query.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DataSource.As
      Database as a data source for query.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DataSource.As database​(Database database)
      Create a database as a data source.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.