presto-thrift/src/main/java/io/prestosql/plugin/thrift/ThriftPageSourceProvider.java/ThriftPageSourceProvider/createPageSource
class ThriftPageSourceProvider:    @Override
    public ConnectorPageSource createPageSource(
            ConnectorTransactionHandle transaction,
            ConnectorSession session,
            ConnectorSplit split,
            ConnectorTableHandle table,
            List<ColumnHandle> columns)
    {
        return new ThriftPageSource(client, thriftHeaderProvider.getHeaders(session), (ThriftConnectorSplit) split, columns, stats, maxBytesPerResponse);
    }