Package com.illumon.iris.binarystore
Interface StringCacheProvider
public interface StringCacheProvider
Provider interface for
CloseableStringCaches to use in ingestion and data access.-
Method Summary
Modifier and TypeMethodDescriptiongetCacheForColumn(String namespace, String tableName, String internalPartition, String columnPartition, String columnName, com.fishlib.base.string.EncodingInfo encodingInfo) Get the appropriateCloseableStringCachefor the supplied parameters.
-
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 appropriateCloseableStringCachefor the supplied parameters. Note that the caller is responsible for ensuring thatCloseableStringCache.close()is invoked on the returned cache once it will no longer be used.- Parameters:
namespace- The namespace of the table (may benullif unknown or not applicable).tableName- The name of the table (may benullif unknown or not applicable).internalPartition- The internal partition for the table location (may benullif unknown or not applicable).columnPartition- The column partition for the table location (may benullif unknown or not applicable).columnName- The name of the columnencodingInfo- 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
-