hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankit Singhal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-19280) Move HFileWriterImpl.compressionByName(String name) to some utility class
Date Thu, 16 Nov 2017 10:19:00 GMT
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)

Mime
View raw message