Class CachingCalciteSchema.SubSchemaCache

  • Enclosing class:

    private static class CachingCalciteSchema.SubSchemaCache
    extends java.lang.Object
    Information about the implicit sub-schemas of an CalciteSchema.
    • Field Summary

      Modifier and Type Field Description
      (package private)<java.lang.String,​CalciteSchema> cache
      Cached CalciteSchema wrappers.
      (package private) NameSet names
      The names of sub-schemas returned from the Schema SPI.
    • Constructor Summary

      Modifier Constructor Description
      private SubSchemaCache​(CalciteSchema calciteSchema, java.util.Set<java.lang.String> names)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • names

        final NameSet names
        The names of sub-schemas returned from the Schema SPI.
      • cache

        final<java.lang.String,​CalciteSchema> cache
        Cached CalciteSchema wrappers. It is worth caching them because they contain maps of their own sub-objects.
    • Constructor Detail

      • SubSchemaCache

        private SubSchemaCache​(CalciteSchema calciteSchema,
                               java.util.Set<java.lang.String> names)