public interface RelBuilderFactory
Add a cluster, and optionally a schema, when you want to create a builder.
A ProtoRelBuilder
can be shared among queries, and thus can
be inside a RelOptRule
. It is a nice way to encapsulate the policy
that this particular rule instance should create DrillFilter
and DrillProject
versus HiveFilter
and HiveProject
.
RelFactories.LOGICAL_BUILDER
Modifier and Type | Method and Description |
---|---|
RelBuilder |
create(RelOptCluster cluster,
RelOptSchema schema)
Creates a RelBuilder.
|
RelBuilder create(RelOptCluster cluster, RelOptSchema schema)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.