public class BeamSqlRelUtils
extends java.lang.Object
BeamRelNode
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ERROR |
static java.lang.String |
ROW |
Constructor and Description |
---|
BeamSqlRelUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
explainLazily(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode node)
A lazy explain via
Object.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) |
public static final java.lang.String ROW
public static final java.lang.String ERROR
public static PCollection<Row> toPCollection(Pipeline pipeline, BeamRelNode node)
public static PCollection<Row> toPCollection(Pipeline pipeline, BeamRelNode node, @Nullable PTransform<PCollection<Row>,? extends POutput> errorTransformer)
public static BeamRelNode getBeamRelInput(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input)
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)
public static NodeStats getNodeStats(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input, BeamRelMetadataQuery mq)
public static java.lang.Object explainLazily(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode node)
Object.toString()
for logging purposes.