Package io.trino.type

Class TypeOperatorsCache

java.lang.Object
io.trino.type.TypeOperatorsCache
All Implemented Interfaces:
BiFunction<Object,Supplier<Object>,Object>

public class TypeOperatorsCache extends Object implements BiFunction<Object,Supplier<Object>,Object>
  • Constructor Details

    • TypeOperatorsCache

      public TypeOperatorsCache()
  • Method Details

    • apply

      public Object apply(Object operatorConvention, Supplier<Object> supplier)
      Specified by:
      apply in interface BiFunction<Object,Supplier<Object>,Object>
    • cacheSize

      public long cacheSize()
    • getCacheHitRate

      public Double getCacheHitRate()
    • getCacheMissRate

      public Double getCacheMissRate()
    • getCacheRequestCount

      public long getCacheRequestCount()
    • cacheReset

      public void cacheReset()