Class MemoryPagesStore

java.lang.Object
io.trino.plugin.memory.MemoryPagesStore

@ThreadSafe public class MemoryPagesStore extends Object
  • Constructor Details

    • MemoryPagesStore

      @Inject public MemoryPagesStore(MemoryConfig config)
  • Method Details

    • initialize

      public void initialize(long tableId)
    • add

      public void add(Long tableId, Page page)
    • getPages

      public List<Page> getPages(Long tableId, int partNumber, int totalParts, int[] columnIndexes, List<Type> columnTypes, long expectedRows, OptionalLong limit, OptionalDouble sampleRatio)
    • contains

      public boolean contains(Long tableId)
    • purge

      public void purge(long tableId)
    • cleanUp

      public void cleanUp(Set<Long> activeTableIds)