Module org.jooq
Package org.jooq

Interface Scope

    • Method Detail

      • configuration

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

        Settings settings()
        The settings wrapped by this context.

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

      • dialect

        SQLDialect dialect()
        The SQLDialect wrapped by this context.

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

      • family

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

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

      • data

        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

        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

        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