Class RelBuilder

java.lang.Object
org.apache.calcite.tools.RelBuilder
Direct Known Subclasses:
PigRelBuilder, PigRelBuilder

public class RelBuilder
extends Object
Builder for relational expressions.

RelBuilder does not make possible anything that you could not also accomplish by calling the factory methods of the particular relational expression. But it makes common tasks more straightforward and concise.

RelBuilder uses factories to create relational expressions. By default, it uses the default factories, which create logical relational expressions (LogicalFilter, LogicalProject and so forth). But you could override those factories so that, say, filter creates instead a HiveFilter.

It is not thread-safe.