Package io.trino.plugin.memory
Class MemoryPagesStore
- java.lang.Object
-
- io.trino.plugin.memory.MemoryPagesStore
-
@ThreadSafe public class MemoryPagesStore extends Object
-
-
Constructor Summary
Constructors Constructor Description MemoryPagesStore(MemoryConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Long tableId, Page page)voidcleanUp(Set<Long> activeTableIds)booleancontains(Long tableId)List<Page>getPages(Long tableId, int partNumber, int totalParts, List<Integer> columnIndexes, long expectedRows, OptionalLong limit, OptionalDouble sampleRatio)voidinitialize(long tableId)
-
-
-
Constructor Detail
-
MemoryPagesStore
@Inject public MemoryPagesStore(MemoryConfig config)
-
-
Method Detail
-
initialize
public void initialize(long tableId)
-
getPages
public List<Page> getPages(Long tableId, int partNumber, int totalParts, List<Integer> columnIndexes, long expectedRows, OptionalLong limit, OptionalDouble sampleRatio)
-
contains
public boolean contains(Long tableId)
-
-