src/main/java/org/cosette/Environment.java
/**
     * Find the index of the given table in the reference. If it is not currently in the reference, append it to the end
     * and return its index.
     *
     * @param table The RelOptTable instance to be located.
     * @return The index of the given RelOptTable instance.
     */
Find the index of the given table in the reference. If it is not currently in the reference, append it to the end
and return its index.

@param table The RelOptTable instance to be located.
@return The index of the given RelOptTable instance.
Find the index of the given table in the reference . If it is not currently in the reference append it to the end and return its index . @param table The RelOptTable instance to be located . @return The index of the given RelOptTable instance .
public int identifyTable(RelOptTable table) {
        if (!relOptTables.contains(table)) {
            relOptTables.add(table);
        }
        return relOptTables.indexOf(table);
    }
public int identifyTable ( RelOptTable table ) { if ( ! relOptTables . contains ( table ) ) { relOptTables . add ( table ) ; } return relOptTables . indexOf ( table ) ; }
Find the index of the given table in the reference.
Find the index of the given table in the reference .