presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/RaptorMetadataFactory.java/RaptorMetadataFactory/RaptorMetadataFactory
class RaptorMetadataFactory:    @Inject
    public RaptorMetadataFactory(@ForMetadata IDBI dbi, ShardManager shardManager)
    {
        this.dbi = requireNonNull(dbi, "dbi is null");
        this.shardManager = requireNonNull(shardManager, "shardManager is null");
    }