It is a closed codec set supported by us at compile time. This just makes it more flexible due to funky nature how hadoop defines and use its codecs. Also this leaves a door open if we in a future want to support codecs beyond how hadoop is using codec interfaces.