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

        java.util.Map<java.lang.Object,​java.lang.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

        java.lang.Object data​(java.lang.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

        java.lang.Object data​(java.lang.Object key,
                              java.lang.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