Interface StringCacheProvider


public interface StringCacheProvider
Provider interface for CloseableStringCaches to use in ingestion and data access.
  • Method Details

    • getCacheForColumn

      @NotNull CloseableStringCache getCacheForColumn(@Nullable String namespace, @Nullable String tableName, @Nullable String internalPartition, @Nullable String columnPartition, @NotNull String columnName, @NotNull com.fishlib.base.string.EncodingInfo encodingInfo)
      Get the appropriate CloseableStringCache for the supplied parameters. Note that the caller is responsible for ensuring that CloseableStringCache.close() is invoked on the returned cache once it will no longer be used.
      Parameters:
      namespace - The namespace of the table (may be null if unknown or not applicable).
      tableName - The name of the table (may be null if unknown or not applicable).
      internalPartition - The internal partition for the table location (may be null if unknown or not applicable).
      columnPartition - The column partition for the table location (may be null if unknown or not applicable).
      columnName - The name of the column
      encodingInfo - The encoding info for the column's data
      Returns:
      The cache that should be used for a String (symbol or "var-len") or StringSet column