Search in sources :

Example 6 with NameSet

use of org.apache.calcite.util.NameSet in project calcite by apache.

the class CachingCalciteSchema method addImplicitTableToBuilder.

protected void addImplicitTableToBuilder(ImmutableSortedSet.Builder<String> builder) {
    // Add implicit tables, case-sensitive.
    final long now = System.currentTimeMillis();
    final NameSet set = implicitTableCache.get(now);
    builder.addAll(set.iterable());
}
Also used : NameSet(org.apache.calcite.util.NameSet)

Aggregations

NameSet (org.apache.calcite.util.NameSet)6 Function (org.apache.calcite.schema.Function)3 Table (org.apache.calcite.schema.Table)3 TableMacro (org.apache.calcite.schema.TableMacro)2