presto-redis/src/main/java/io/prestosql/plugin/redis/RedisConnectorModule.java/RedisConnectorModule/configure
class RedisConnectorModule:    @Override
    public void configure(Binder binder)
    {
        binder.bind(RedisConnector.class).in(Scopes.SINGLETON);

        binder.bind(RedisMetadata.class).in(Scopes.SINGLETON);
        binder.bind(RedisSplitManager.class).in(Scopes.SINGLETON);
        binder.bind(RedisRecordSetProvider.class).in(Scopes.SINGLETON);

        binder.bind(RedisJedisManager.class).in(Scopes.SINGLETON);

        configBinder(binder).bindConfig(RedisConnectorConfig.class);

        jsonBinder(binder).addDeserializerBinding(Type.class).to(TypeDeserializer.class);
        jsonCodecBinder(binder).bindJsonCodec(RedisTableDescription.class);

        binder.install(new RedisDecoderModule());
    }