Interface Executor

    • Method Detail

      • configureSession

        void configureSession​(String statement)
        Configures session with statement.
        Parameters:
        statement - to initialize the session
      • getSessionConfig

        ReadableConfig getSessionConfig()
        Get the configuration of the session.
        Returns:
        the session configuration.
      • getSessionConfigMap

        Map<String,​String> getSessionConfigMap()
        Get the map configuration of the session.
        Returns:
        the map session configuration.
      • executeStatement

        StatementResult executeStatement​(String statement)
        Execute statement.
        Parameters:
        statement - to execute
        Returns:
        Iterable results of the statement
      • completeStatement

        List<String> completeStatement​(String statement,
                                       int position)
        Returns a list of completion hints for the given statement at the given position.
        Parameters:
        statement - Partial or slightly incorrect SQL statement
        position - cursor position
        Returns:
        completion hints that fit at the current cursor position