public IDualKeyCache<FK, SK, V> build() {
    ICacheEntryManager<FK, SK, V, ?> cacheEntryManager = null;
    switch (policy) {
      case LRU:
        cacheEntryManager = new LRUCacheEntryManager<>();
        break;
      case FIFO:
        cacheEntryManager = new FIFOCacheEntryManager<>();
        break;
    }
    return new DualKeyCacheImpl<>(
        cacheEntryManager,
        new CacheSizeComputerImpl<>(firstKeySizeComputer, secondKeySizeComputer, valueSizeComputer),
        memoryCapacity);
  }
Initiate and return a dual key cache instance.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/cache/schema/dualkeycache/impl/DualKeyCacheBuilder.java