Class CachingCalciteSchema.SubSchemaCache

  • Enclosing class:
    CachingCalciteSchema

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

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

      Constructors 
      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 com.google.common.cache.LoadingCache<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)