You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ankit Singhal (JIRA)" <ji...@apache.org> on 2017/11/16 10:19:00 UTC
[jira] [Created] (HBASE-19280) Move
HFileWriterImpl.compressionByName(String name) to some utility class
Ankit Singhal created HBASE-19280:
-------------------------------------
Summary: Move HFileWriterImpl.compressionByName(String name) to some utility class
Key: HBASE-19280
URL: https://issues.apache.org/jira/browse/HBASE-19280
Project: HBase
Issue Type: Bug
Reporter: Ankit Singhal
Priority: Trivial
This method can be moved to some utility (related jira PHOENIX-4368).
{code}
public static Compression.Algorithm compressionByName(String algoName) {
if (algoName == null)
return HFile.DEFAULT_COMPRESSION_ALGORITHM;
return Compression.getCompressionAlgorithmByName(algoName);
}
{code}
FYI, [~elserj]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)