Package io.prestosql.connector.system
Class QuerySystemTable
- java.lang.Object
-
- io.prestosql.connector.system.QuerySystemTable
-
- All Implemented Interfaces:
SystemTable
public class QuerySystemTable extends Object implements SystemTable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.prestosql.spi.connector.SystemTable
SystemTable.Distribution
-
-
Field Summary
Fields Modifier and Type Field Description static ConnectorTableMetadata
QUERY_TABLE
static SchemaTableName
QUERY_TABLE_NAME
-
Constructor Summary
Constructors Constructor Description QuerySystemTable(Optional<DispatchManager> dispatchManager, AccessControl accessControl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordCursor
cursor(ConnectorTransactionHandle transactionHandle, ConnectorSession session, TupleDomain<Integer> constraint)
SystemTable.Distribution
getDistribution()
ConnectorTableMetadata
getTableMetadata()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.prestosql.spi.connector.SystemTable
pageSource
-
-
-
-
Field Detail
-
QUERY_TABLE_NAME
public static final SchemaTableName QUERY_TABLE_NAME
-
QUERY_TABLE
public static final ConnectorTableMetadata QUERY_TABLE
-
-
Constructor Detail
-
QuerySystemTable
@Inject public QuerySystemTable(Optional<DispatchManager> dispatchManager, AccessControl accessControl)
-
-
Method Detail
-
getDistribution
public SystemTable.Distribution getDistribution()
- Specified by:
getDistribution
in interfaceSystemTable
-
getTableMetadata
public ConnectorTableMetadata getTableMetadata()
- Specified by:
getTableMetadata
in interfaceSystemTable
-
cursor
public RecordCursor cursor(ConnectorTransactionHandle transactionHandle, ConnectorSession session, TupleDomain<Integer> constraint)
- Specified by:
cursor
in interfaceSystemTable
-
-