twitter/hadoop-lzo

LzoCompress is not a public class,What`s the purpose?

Closed this issue · 2 comments

Anytime I use LzoCompress,i need package the class in the com.hadoop.compression.lzo

Now i have change the access modifiers to public, is there any problem?

Hi @suiwenfeng, LzoCompressor (I thought you meant that class) is not supposed to be directly used by users of the API. You get an instance of LzoCompressor via LzoCodec, which is public. For example, you get an instance of Compressor (LzoCompressor) when you call CompressionCodec.createCompressor().

Let me know if that answers your question.

Thanks.