public static RelBuilderFactory proto(Object... factories) {
    return proto(Contexts.of(factories));
  }
Creates a {@link RelBuilderFactory} that uses a given set of factories.
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveRelBuilder.java