core/src/main/java/org/apache/calcite/sql/util/SqlOperatorTables.java
public static SqlOperatorTable chain(Iterable<SqlOperatorTable> tables) {
    final List<SqlOperatorTable> list = new ArrayList<>();
    for (SqlOperatorTable table : tables) {
      addFlattened(list, table);
    }
    if (list.size() == 1) {
      return list.get(0);
    }
    return new ChainedSqlOperatorTable(ImmutableList.copyOf(list));
  }
/** Creates a composite operator table. */
Creates a composite operator table.
Creates a composite operator table .
public static SqlOperatorTable chain(Iterable<SqlOperatorTable> tables) {
    final List<SqlOperatorTable> list = new ArrayList<>();
    for (SqlOperatorTable table : tables) {
      addFlattened(list, table);
    }
    if (list.size() == 1) {
      return list.get(0);
    }
    return new ChainedSqlOperatorTable(ImmutableList.copyOf(list));
  }
public static SqlOperatorTable chain ( Iterable < SqlOperatorTable > tables ) { final List < SqlOperatorTable > list = new ArrayList < > ( ) ; for ( SqlOperatorTable table : tables ) { addFlattened ( list , table ) ; } if ( list . size ( ) == 1 ) { return list . get ( 0 ) ; } return new ChainedSqlOperatorTable ( ImmutableList . copyOf ( list ) ) ; }
Creates a composite operator table.
Creates a composite operator table .