public interface SystemTable
cursor(com.facebook.presto.spi.connector.ConnectorTransactionHandle, com.facebook.presto.spi.ConnectorSession, com.facebook.presto.common.predicate.TupleDomain<java.lang.Integer>) or pageSource(com.facebook.presto.spi.connector.ConnectorTransactionHandle, com.facebook.presto.spi.ConnectorSession, com.facebook.presto.common.predicate.TupleDomain<java.lang.Integer>) must be implemented.| Modifier and Type | Interface and Description |
|---|---|
static class |
SystemTable.Distribution |
| Modifier and Type | Method and Description |
|---|---|
default RecordCursor |
cursor(ConnectorTransactionHandle transactionHandle,
ConnectorSession session,
TupleDomain<Integer> constraint)
Create a cursor for the data in this table.
|
SystemTable.Distribution |
getDistribution() |
ConnectorTableMetadata |
getTableMetadata() |
default ConnectorPageSource |
pageSource(ConnectorTransactionHandle transactionHandle,
ConnectorSession session,
TupleDomain<Integer> constraint)
Create a page source for the data in this table.
|
SystemTable.Distribution getDistribution()
ConnectorTableMetadata getTableMetadata()
default RecordCursor cursor(ConnectorTransactionHandle transactionHandle, ConnectorSession session, TupleDomain<Integer> constraint)
session - the session to use for creating the dataconstraint - the constraints for the table columns (indexed from 0)default ConnectorPageSource pageSource(ConnectorTransactionHandle transactionHandle, ConnectorSession session, TupleDomain<Integer> constraint)
session - the session to use for creating the dataconstraint - the constraints for the table columns (indexed from 0)Copyright © 2012–2022. All rights reserved.