Package io.trino.operator.index
Class PageBuffer
java.lang.Object
io.trino.operator.index.PageBuffer
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PageBuffer
public PageBuffer(int maxBufferedPages)
-
-
Method Details
-
isFull
public boolean isFull() -
add
Adds a page to the buffer. Returns a ListenableFuture that is marked as done when the next page can be added. -
poll
Return a page from the buffer, or null if none exists
-