presto-tpcds/src/main/java/io/prestosql/plugin/tpcds/TpcdsConnectorFactory.java/TpcdsConnectorFactory/create
class TpcdsConnectorFactory:    @Override
    public Connector create(String catalogName, Map<String, String> config, ConnectorContext context)
    {
        int splitsPerNode = getSplitsPerNode(config);
        NodeManager nodeManager = context.getNodeManager();
        return new Connector()
        {
            @Override
            public ConnectorTransactionHandle beginTransaction(IsolationLevel isolationLevel, boolean readOnly)
            {
                return TpcdsTransactionHandle.INSTANCE;
            }

            @Override
            public ConnectorMetadata getMetadata(ConnectorTransactionHandle transactionHandle)
            {
                return new TpcdsMetadata();
            }

            @Override
            public ConnectorSplitManager getSplitManager()
            {
                return new TpcdsSplitManager(nodeManager, splitsPerNode, isWithNoSexism(config));
            }

            @Override
            public ConnectorRecordSetProvider getRecordSetProvider()
            {
                return new TpcdsRecordSetProvider();
            }

            @Override
            public ConnectorNodePartitioningProvider getNodePartitioningProvider()
            {
                return new TpcdsNodePartitioningProvider(nodeManager, splitsPerNode);
            }
        };
    }