public static CodecFactory forSingleCodec(QualifiedType<?> type, Codec<?> codec) {
        return new CodecFactory(Collections.singletonMap(type, codec));
    }
Creates a {@link CodecFactory} for a single type.
@param type The type for which the factory is created.
@param codec The {@link Codec} to use.
@return A new {@link CodecFactory} that will be used if the given type is requested.
core/src/main/java/org/jdbi/v3/core/codec/CodecFactory.java