Package org.apache.calcite.jdbc
Class CachingCalciteSchema.SubSchemaCache
- java.lang.Object
-
- org.apache.calcite.jdbc.CachingCalciteSchema.SubSchemaCache
-
- Enclosing class:
- CachingCalciteSchema
private static class CachingCalciteSchema.SubSchemaCache extends java.lang.Object
Information about the implicit sub-schemas of anCalciteSchema
.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) com.google.common.cache.LoadingCache<java.lang.String,CalciteSchema>
cache
CachedCalciteSchema
wrappers.(package private) NameSet
names
The names of sub-schemas returned from theSchema
SPI.
-
Constructor Summary
Constructors Modifier Constructor Description private
SubSchemaCache(CalciteSchema calciteSchema, java.util.Set<java.lang.String> names)
-
-
-
Field Detail
-
cache
final com.google.common.cache.LoadingCache<java.lang.String,CalciteSchema> cache
CachedCalciteSchema
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)
-
-