Class DataSource.As

  • Enclosing class:
    DataSource

    public static class DataSource.As
    extends DataSource
    Database as a data source for query.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DataSource as​(java.lang.String alias)
      Set an alias to the database data source.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • as

        @NonNull
        public DataSource as​(@NonNull
                             java.lang.String alias)
        Set an alias to the database data source.
        Parameters:
        alias - the alias to set.
        Returns:
        the data source object with the given alias set.