Class RelJsonWriter

java.lang.Object
org.apache.calcite.rel.externalize.RelJsonWriter
All Implemented Interfaces:
RelWriter

public class RelJsonWriter extends Object implements RelWriter
Callback for a relational expression to dump itself as JSON.
See Also:
  • Field Details

    • jsonBuilder

      protected final JsonBuilder jsonBuilder
    • relJson

      protected final RelJson relJson
    • relList

      protected final List<@Nullable Object> relList
  • Constructor Details

    • RelJsonWriter

      public RelJsonWriter()
      Creates a RelJsonWriter with a private JsonBuilder.
    • RelJsonWriter

      public RelJsonWriter(JsonBuilder jsonBuilder)
      Creates a RelJsonWriter with a given JsonBuilder.
    • RelJsonWriter

      public RelJsonWriter(JsonBuilder jsonBuilder, UnaryOperator<RelJson> relJsonTransform)
      Creates a RelJsonWriter.
  • Method Details