Interface SymbolManager<STRING_LIKE_TYPE>

All Known Implementing Classes:
AppendableSymbolManager, BoundedAppendableSymbolManager, StrictAppendableSymbolManager

public interface SymbolManager<STRING_LIKE_TYPE>
Data structure for managing symbol tables when persisting data.
  • Method Summary

    Modifier and Type Method Description
    int getSymbolId​(STRING_LIKE_TYPE value)
    Get an integer identifier for value.
  • Method Details

    • getSymbolId

      int getSymbolId​(@NotNull STRING_LIKE_TYPE value)
      Get an integer identifier for value. Implementations must guarantee that id to value mappings are one:one or many:one.
      Parameters:
      value - The value to map
      Returns:
      An integer identifier for value