Class BeamSqlRelUtils
java.lang.Object
org.apache.beam.sdk.extensions.sql.impl.rel.BeamSqlRelUtils
Utilities for
BeamRelNode
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
explainLazily
(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode node) A lazy explain viaObject.toString()
for logging purposes.static BeamRelNode
getBeamRelInput
(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input) static Schema
getErrorRowSchema
(Schema upstreamSchema) static org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode
getInput
(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input) static NodeStats
getNodeStats
(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input, BeamRelMetadataQuery mq) static PCollection
<Row> toPCollection
(Pipeline pipeline, BeamRelNode node) static PCollection
<Row> toPCollection
(Pipeline pipeline, BeamRelNode node, @Nullable PTransform<PCollection<Row>, ? extends POutput> errorTransformer)
-
Field Details
-
ROW
- See Also:
-
ERROR
- See Also:
-
-
Constructor Details
-
BeamSqlRelUtils
public BeamSqlRelUtils()
-
-
Method Details
-
toPCollection
-
toPCollection
public static PCollection<Row> toPCollection(Pipeline pipeline, BeamRelNode node, @Nullable PTransform<PCollection<Row>, ? extends POutput> errorTransformer) -
getBeamRelInput
public static BeamRelNode getBeamRelInput(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input) -
getInput
public static org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode getInput(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input) -
getNodeStats
public static NodeStats getNodeStats(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input, BeamRelMetadataQuery mq) -
getErrorRowSchema
-
explainLazily
public static Object explainLazily(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode node) A lazy explain viaObject.toString()
for logging purposes.
-