@API(status=STABLE,
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 Summary
Modifier and TypeMethodDescriptionstatic RendererProvides the default renderer.static RenderergetRenderer(Configuration configuration) Creates a new renderer for the given configuration.Renders a statement.
-
Method Details
-
render
Renders a statement.- Parameters:
statement- the statement to render- Returns:
- The rendered Cypher statement.
-
getDefaultRenderer
Provides the default renderer. This method may or may not provide shared instances of the renderer.- Returns:
- The default renderer.
-
getRenderer
Creates a new renderer for the given configuration.- Parameters:
configuration- The configuration for this renderer- Returns:
- A new renderer (might be a shared instance).
-