Interface Renderer


  • @API(status=EXPERIMENTAL,
         since="1.0")
    public interface Renderer
    Instances of this class are supposed to be thread-safe. Please use getDefaultRenderer() to get hold of an implementation.
    Since:
    1.0
    Author:
    Michael J. Simons
    • Method Detail

      • render

        java.lang.String render​(Statement statement)
        Renders a statement.
        Parameters:
        statement - the statement to render
        Returns:
        The rendered Cypher statement.
      • getDefaultRenderer

        static Renderer getDefaultRenderer()
        Provides the default renderer. This method may or may not provide shared instances of the renderer.
        Returns:
        The default renderer.
      • getRenderer

        static Renderer getRenderer​(Configuration configuration)
        Creates a new renderer for the given configuration.
        Parameters:
        configuration - The configuration for this renderer
        Returns:
        A new renderer (might be a shared instance).