Module org.jooq
Package org.jooq

Interface Scope

    • Method Detail

      • configuration

        @NotNull
        @NotNull Configuration configuration()
        The configuration of the current scope.
      • settings

        @NotNull
        @NotNull Settings settings()
        The settings wrapped by this context.

        This method is a convenient way of accessing configuration().settings().

      • dialect

        @NotNull
        @NotNull SQLDialect dialect()
        The SQLDialect wrapped by this context.

        This method is a convenient way of accessing configuration().dialect().

      • family

        @NotNull
        @NotNull SQLDialect family()
        The SQLDialect.family() wrapped by this context.

        This method is a convenient way of accessing configuration().family().

      • data

        @NotNull
        @NotNull Map<Object,​Object> data()
        Get all custom data from this Scope.

        This is custom data that was previously set to the context using data(Object, Object). Use custom data if you want to pass data to QueryPart objects for a given Scope.

        Returns:
        The custom data. This is never null
      • data

        @Nullable
        @Nullable Object data​(Object key)
        Get some custom data from this Scope.

        This is custom data that was previously set to the context using data(Object, Object). Use custom data if you want to pass data to QueryPart objects for a given Scope

        Parameters:
        key - A key to identify the custom data
        Returns:
        The custom data or null if no such data is contained in this Scope
      • data

        @Nullable
        @Nullable Object data​(Object key,
                              Object value)
        Set some custom data to this Scope.

        This is custom data that was previously set to the context using data(Object, Object). Use custom data if you want to pass data to QueryPart objects for a given Scope.

        Parameters:
        key - A key to identify the custom data
        value - The custom data
        Returns:
        The previously set custom data or null if no data was previously set for the given key