public interface Connector
ConnectorTransactionHandle beginTransaction(IsolationLevel isolationLevel, boolean readOnly)
ConnectorMetadata getMetadata(ConnectorTransactionHandle transactionHandle)
ConnectorSplitManager getSplitManager()
default ConnectorPageSourceProvider getPageSourceProvider()
UnsupportedOperationException - if this connector does not support reading tables page at a timedefault ConnectorRecordSetProvider getRecordSetProvider()
UnsupportedOperationException - if this connector does not support reading tables record at a timedefault ConnectorPageSinkProvider getPageSinkProvider()
UnsupportedOperationException - if this connector does not support writing tables page at a timedefault ConnectorIndexProvider getIndexProvider()
UnsupportedOperationException - if this connector does not support indexesdefault ConnectorNodePartitioningProvider getNodePartitioningProvider()
UnsupportedOperationException - if this connector does not support partitioned table layoutsdefault ConnectorPlanOptimizerProvider getConnectorPlanOptimizerProvider()
UnsupportedOperationException - if this connector does not need to optimize query plansdefault ConnectorMetadataUpdaterProvider getConnectorMetadataUpdaterProvider()
UnsupportedOperationException - if this connector does not support metadata updatesdefault ConnectorTypeSerdeProvider getConnectorTypeSerdeProvider()
UnsupportedOperationException - if this connector does not support connector type serdedefault Set<SystemTable> getSystemTables()
default Set<Procedure> getProcedures()
default List<PropertyMetadata<?>> getSessionProperties()
default List<PropertyMetadata<?>> getSchemaProperties()
default List<PropertyMetadata<?>> getAnalyzeProperties()
default List<PropertyMetadata<?>> getTableProperties()
default List<PropertyMetadata<?>> getColumnProperties()
default ConnectorAccessControl getAccessControl()
UnsupportedOperationException - if this connector does not have an access controldefault ConnectorCommitHandle commit(ConnectorTransactionHandle transactionHandle)
rollback(ConnectorTransactionHandle) is called.default void rollback(ConnectorTransactionHandle transactionHandle)
commit(ConnectorTransactionHandle) is called.
Note: calls to this method may race with calls to the ConnectorMetadata.default boolean isSingleStatementWritesOnly()
default void shutdown()
default Set<ConnectorCapabilities> getCapabilities()
Copyright © 2012–2022. All rights reserved.