hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject [07/34] hbase git commit: Published site at 0bae444b34b6be3a28b5ccc036afb5add23818c6.
Date Tue, 24 Nov 2015 23:19:35 GMT
http://git-wip-us.apache.org/repos/asf/hbase/blob/8acdc839/xref/org/apache/hadoop/hbase/HColumnDescriptor.html
----------------------------------------------------------------------
diff --git a/xref/org/apache/hadoop/hbase/HColumnDescriptor.html b/xref/org/apache/hadoop/hbase/HColumnDescriptor.html
index edb8805..82a4216 100644
--- a/xref/org/apache/hadoop/hbase/HColumnDescriptor.html
+++ b/xref/org/apache/hadoop/hbase/HColumnDescriptor.html
@@ -449,836 +449,839 @@
 <a class="jxr_linenumber" name="439" href="#439">439</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
 <a class="jxr_linenumber" name="440" href="#440">440</a> <em class="jxr_javadoccomment">   */</em>
 <a class="jxr_linenumber" name="441" href="#441">441</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setValue(byte[] key, byte[] value) {
-<a class="jxr_linenumber" name="442" href="#442">442</a>     values.put(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/hadoop/hbase/util/Bytes.html">Bytes</a>(key),
-<a class="jxr_linenumber" name="443" href="#443">443</a>         <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/hadoop/hbase/util/Bytes.html">Bytes</a>(value));
-<a class="jxr_linenumber" name="444" href="#444">444</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
-<a class="jxr_linenumber" name="445" href="#445">445</a>   }
-<a class="jxr_linenumber" name="446" href="#446">446</a> 
-<a class="jxr_linenumber" name="447" href="#447">447</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="448" href="#448">448</a> <em class="jxr_javadoccomment">   * @param key Key whose key and value we're to remove from HCD parameters.</em>
-<a class="jxr_linenumber" name="449" href="#449">449</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="450" href="#450">450</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> remove(<strong class="jxr_keyword">final</strong> byte [] key) {
-<a class="jxr_linenumber" name="451" href="#451">451</a>     values.remove(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/hadoop/hbase/util/Bytes.html">Bytes</a>(key));
-<a class="jxr_linenumber" name="452" href="#452">452</a>   }
-<a class="jxr_linenumber" name="453" href="#453">453</a> 
-<a class="jxr_linenumber" name="454" href="#454">454</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="455" href="#455">455</a> <em class="jxr_javadoccomment">   * @param key The key.</em>
-<a class="jxr_linenumber" name="456" href="#456">456</a> <em class="jxr_javadoccomment">   * @param value The value.</em>
-<a class="jxr_linenumber" name="457" href="#457">457</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="458" href="#458">458</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="459" href="#459">459</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setValue(String key, String value) {
-<a class="jxr_linenumber" name="460" href="#460">460</a>     <strong class="jxr_keyword">if</strong> (value == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="461" href="#461">461</a>       remove(Bytes.toBytes(key));
-<a class="jxr_linenumber" name="462" href="#462">462</a>     } <strong class="jxr_keyword">else</strong> {
-<a class="jxr_linenumber" name="463" href="#463">463</a>       setValue(Bytes.toBytes(key), Bytes.toBytes(value));
-<a class="jxr_linenumber" name="464" href="#464">464</a>     }
-<a class="jxr_linenumber" name="465" href="#465">465</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
-<a class="jxr_linenumber" name="466" href="#466">466</a>   }
-<a class="jxr_linenumber" name="467" href="#467">467</a> 
-<a class="jxr_linenumber" name="468" href="#468">468</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="469" href="#469">469</a> <em class="jxr_javadoccomment">   * @return compression type being used for the column family</em>
-<a class="jxr_linenumber" name="470" href="#470">470</a> <em class="jxr_javadoccomment">   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0</em>
-<a class="jxr_linenumber" name="471" href="#471">471</a> <em class="jxr_javadoccomment">   *             (&lt;a href="https://issues.apache.org/jira/browse/HBASE-13655"&gt;HBASE-13655&lt;/a&gt;).</em>
-<a class="jxr_linenumber" name="472" href="#472">472</a> <em class="jxr_javadoccomment">   *             Use {@link #getCompressionType()}.</em>
-<a class="jxr_linenumber" name="473" href="#473">473</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="474" href="#474">474</a>   @Deprecated
-<a class="jxr_linenumber" name="475" href="#475">475</a>   <strong class="jxr_keyword">public</strong> Compression.Algorithm getCompression() {
-<a class="jxr_linenumber" name="476" href="#476">476</a>     <strong class="jxr_keyword">return</strong> getCompressionType();
-<a class="jxr_linenumber" name="477" href="#477">477</a>   }
-<a class="jxr_linenumber" name="478" href="#478">478</a> 
-<a class="jxr_linenumber" name="479" href="#479">479</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="480" href="#480">480</a> <em class="jxr_javadoccomment">   *  @return compression type being used for the column family for major compaction</em>
-<a class="jxr_linenumber" name="481" href="#481">481</a> <em class="jxr_javadoccomment">   *  @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0</em>
-<a class="jxr_linenumber" name="482" href="#482">482</a> <em class="jxr_javadoccomment">   *             (&lt;a href="https://issues.apache.org/jira/browse/HBASE-13655"&gt;HBASE-13655&lt;/a&gt;).</em>
-<a class="jxr_linenumber" name="483" href="#483">483</a> <em class="jxr_javadoccomment">   *             Use {@link #getCompactionCompressionType()}.</em>
-<a class="jxr_linenumber" name="484" href="#484">484</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="485" href="#485">485</a>   @Deprecated
-<a class="jxr_linenumber" name="486" href="#486">486</a>   <strong class="jxr_keyword">public</strong> Compression.Algorithm getCompactionCompression() {
-<a class="jxr_linenumber" name="487" href="#487">487</a>     <strong class="jxr_keyword">return</strong> getCompactionCompressionType();
-<a class="jxr_linenumber" name="488" href="#488">488</a>   }
-<a class="jxr_linenumber" name="489" href="#489">489</a> 
-<a class="jxr_linenumber" name="490" href="#490">490</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> @return maximum number of versions */</em>
-<a class="jxr_linenumber" name="491" href="#491">491</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getMaxVersions() {
-<a class="jxr_linenumber" name="492" href="#492">492</a>     <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">this</strong>.cachedMaxVersions == UNINITIALIZED) {
-<a class="jxr_linenumber" name="493" href="#493">493</a>       String v = getValue(HConstants.VERSIONS);
-<a class="jxr_linenumber" name="494" href="#494">494</a>       <strong class="jxr_keyword">this</strong>.cachedMaxVersions = Integer.parseInt(v);
-<a class="jxr_linenumber" name="495" href="#495">495</a>     }
-<a class="jxr_linenumber" name="496" href="#496">496</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.cachedMaxVersions;
-<a class="jxr_linenumber" name="497" href="#497">497</a>   }
-<a class="jxr_linenumber" name="498" href="#498">498</a> 
-<a class="jxr_linenumber" name="499" href="#499">499</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="500" href="#500">500</a> <em class="jxr_javadoccomment">   * @param maxVersions maximum number of versions</em>
-<a class="jxr_linenumber" name="501" href="#501">501</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="502" href="#502">502</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="503" href="#503">503</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setMaxVersions(<strong class="jxr_keyword">int</strong> maxVersions) {
-<a class="jxr_linenumber" name="504" href="#504">504</a>     <strong class="jxr_keyword">if</strong> (maxVersions &lt;= 0) {
-<a class="jxr_linenumber" name="505" href="#505">505</a>       <em class="jxr_comment">// TODO: Allow maxVersion of 0 to be the way you say "Keep all versions".</em>
-<a class="jxr_linenumber" name="506" href="#506">506</a>       <em class="jxr_comment">// Until there is support, consider 0 or &lt; 0 -- a configuration error.</em>
-<a class="jxr_linenumber" name="507" href="#507">507</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Maximum versions must be positive"</span>);
-<a class="jxr_linenumber" name="508" href="#508">508</a>     }
-<a class="jxr_linenumber" name="509" href="#509">509</a>     <strong class="jxr_keyword">if</strong> (maxVersions &lt; <strong class="jxr_keyword">this</strong>.getMinVersions()) {
-<a class="jxr_linenumber" name="510" href="#510">510</a>         <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Set MaxVersion to "</span> + maxVersions
-<a class="jxr_linenumber" name="511" href="#511">511</a>             + <span class="jxr_string">" while minVersion is "</span> + <strong class="jxr_keyword">this</strong>.getMinVersions()
-<a class="jxr_linenumber" name="512" href="#512">512</a>             + <span class="jxr_string">". Maximum versions must be &gt;= minimum versions "</span>);
-<a class="jxr_linenumber" name="513" href="#513">513</a>     }
-<a class="jxr_linenumber" name="514" href="#514">514</a>     setValue(HConstants.VERSIONS, Integer.toString(maxVersions));
-<a class="jxr_linenumber" name="515" href="#515">515</a>     cachedMaxVersions = maxVersions;
-<a class="jxr_linenumber" name="516" href="#516">516</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
-<a class="jxr_linenumber" name="517" href="#517">517</a>   }
-<a class="jxr_linenumber" name="518" href="#518">518</a> 
-<a class="jxr_linenumber" name="519" href="#519">519</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="520" href="#520">520</a> <em class="jxr_javadoccomment">   * Set minimum and maximum versions to keep</em>
-<a class="jxr_linenumber" name="521" href="#521">521</a> <em class="jxr_javadoccomment">   *</em>
-<a class="jxr_linenumber" name="522" href="#522">522</a> <em class="jxr_javadoccomment">   * @param minVersions minimal number of versions</em>
-<a class="jxr_linenumber" name="523" href="#523">523</a> <em class="jxr_javadoccomment">   * @param maxVersions maximum number of versions</em>
-<a class="jxr_linenumber" name="524" href="#524">524</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="525" href="#525">525</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="526" href="#526">526</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setVersions(<strong class="jxr_keyword">int</strong> minVersions, <strong class="jxr_keyword">int</strong> maxVersions) {
-<a class="jxr_linenumber" name="527" href="#527">527</a>     <strong class="jxr_keyword">if</strong> (minVersions &lt;= 0) {
-<a class="jxr_linenumber" name="528" href="#528">528</a>       <em class="jxr_comment">// TODO: Allow minVersion and maxVersion of 0 to be the way you say "Keep all versions".</em>
-<a class="jxr_linenumber" name="529" href="#529">529</a>       <em class="jxr_comment">// Until there is support, consider 0 or &lt; 0 -- a configuration error.</em>
-<a class="jxr_linenumber" name="530" href="#530">530</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Minimum versions must be positive"</span>);
-<a class="jxr_linenumber" name="531" href="#531">531</a>     }
-<a class="jxr_linenumber" name="532" href="#532">532</a> 
-<a class="jxr_linenumber" name="533" href="#533">533</a>     <strong class="jxr_keyword">if</strong> (maxVersions &lt; minVersions) {
-<a class="jxr_linenumber" name="534" href="#534">534</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Unable to set MaxVersion to "</span> + maxVersions
-<a class="jxr_linenumber" name="535" href="#535">535</a>         + <span class="jxr_string">" and set MinVersion to "</span> + minVersions
-<a class="jxr_linenumber" name="536" href="#536">536</a>         + <span class="jxr_string">", as maximum versions must be &gt;= minimum versions."</span>);
-<a class="jxr_linenumber" name="537" href="#537">537</a>     }
-<a class="jxr_linenumber" name="538" href="#538">538</a>     setMinVersions(minVersions);
-<a class="jxr_linenumber" name="539" href="#539">539</a>     setMaxVersions(maxVersions);
-<a class="jxr_linenumber" name="540" href="#540">540</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
-<a class="jxr_linenumber" name="541" href="#541">541</a>   }
-<a class="jxr_linenumber" name="542" href="#542">542</a> 
-<a class="jxr_linenumber" name="543" href="#543">543</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="544" href="#544">544</a> <em class="jxr_javadoccomment">   * @return The storefile/hfile blocksize for this column family.</em>
-<a class="jxr_linenumber" name="545" href="#545">545</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="546" href="#546">546</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">synchronized</strong> <strong class="jxr_keyword">int</strong> getBlocksize() {
-<a class="jxr_linenumber" name="547" href="#547">547</a>     <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">this</strong>.blocksize == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="548" href="#548">548</a>       String value = getValue(BLOCKSIZE);
-<a class="jxr_linenumber" name="549" href="#549">549</a>       <strong class="jxr_keyword">this</strong>.blocksize = (value != <strong class="jxr_keyword">null</strong>)?
-<a class="jxr_linenumber" name="550" href="#550">550</a>         Integer.decode(value): Integer.valueOf(DEFAULT_BLOCKSIZE);
-<a class="jxr_linenumber" name="551" href="#551">551</a>     }
-<a class="jxr_linenumber" name="552" href="#552">552</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.blocksize.intValue();
-<a class="jxr_linenumber" name="553" href="#553">553</a> 
-<a class="jxr_linenumber" name="554" href="#554">554</a>   }
-<a class="jxr_linenumber" name="555" href="#555">555</a> 
-<a class="jxr_linenumber" name="556" href="#556">556</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="557" href="#557">557</a> <em class="jxr_javadoccomment">   * @param s Blocksize to use when writing out storefiles/hfiles on this</em>
-<a class="jxr_linenumber" name="558" href="#558">558</a> <em class="jxr_javadoccomment">   * column family.</em>
-<a class="jxr_linenumber" name="559" href="#559">559</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="560" href="#560">560</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="561" href="#561">561</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setBlocksize(<strong class="jxr_keyword">int</strong> s) {
-<a class="jxr_linenumber" name="562" href="#562">562</a>     setValue(BLOCKSIZE, Integer.toString(s));
-<a class="jxr_linenumber" name="563" href="#563">563</a>     <strong class="jxr_keyword">this</strong>.blocksize = <strong class="jxr_keyword">null</strong>;
-<a class="jxr_linenumber" name="564" href="#564">564</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
-<a class="jxr_linenumber" name="565" href="#565">565</a>   }
-<a class="jxr_linenumber" name="566" href="#566">566</a> 
-<a class="jxr_linenumber" name="567" href="#567">567</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="568" href="#568">568</a> <em class="jxr_javadoccomment">   * @return Compression type setting.</em>
-<a class="jxr_linenumber" name="569" href="#569">569</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="570" href="#570">570</a>   <strong class="jxr_keyword">public</strong> Compression.Algorithm getCompressionType() {
-<a class="jxr_linenumber" name="571" href="#571">571</a>     String n = getValue(COMPRESSION);
-<a class="jxr_linenumber" name="572" href="#572">572</a>     <strong class="jxr_keyword">if</strong> (n == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="573" href="#573">573</a>       <strong class="jxr_keyword">return</strong> Compression.Algorithm.NONE;
-<a class="jxr_linenumber" name="574" href="#574">574</a>     }
-<a class="jxr_linenumber" name="575" href="#575">575</a>     <strong class="jxr_keyword">return</strong> Compression.Algorithm.valueOf(n.toUpperCase());
-<a class="jxr_linenumber" name="576" href="#576">576</a>   }
-<a class="jxr_linenumber" name="577" href="#577">577</a> 
-<a class="jxr_linenumber" name="578" href="#578">578</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="579" href="#579">579</a> <em class="jxr_javadoccomment">   * Compression types supported in hbase.</em>
-<a class="jxr_linenumber" name="580" href="#580">580</a> <em class="jxr_javadoccomment">   * LZO is not bundled as part of the hbase distribution.</em>
-<a class="jxr_linenumber" name="581" href="#581">581</a> <em class="jxr_javadoccomment">   * See &lt;a href="<a href="http://wiki.apache.org/hadoop/UsingLzoCompression" target="alexandria_uri">http://wiki.apache.org/hadoop/UsingLzoCompression</a>"&gt;LZO Compression&lt;/a&gt;</em>
-<a class="jxr_linenumber" name="582" href="#582">582</a> <em class="jxr_javadoccomment">   * for how to enable it.</em>
-<a class="jxr_linenumber" name="583" href="#583">583</a> <em class="jxr_javadoccomment">   * @param type Compression type setting.</em>
-<a class="jxr_linenumber" name="584" href="#584">584</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="585" href="#585">585</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="586" href="#586">586</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setCompressionType(Compression.Algorithm type) {
-<a class="jxr_linenumber" name="587" href="#587">587</a>     <strong class="jxr_keyword">return</strong> setValue(COMPRESSION, type.getName().toUpperCase());
-<a class="jxr_linenumber" name="588" href="#588">588</a>   }
-<a class="jxr_linenumber" name="589" href="#589">589</a> 
-<a class="jxr_linenumber" name="590" href="#590">590</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="591" href="#591">591</a> <em class="jxr_javadoccomment">   * @return the data block encoding algorithm used in block cache and</em>
-<a class="jxr_linenumber" name="592" href="#592">592</a> <em class="jxr_javadoccomment">   *         optionally on disk</em>
-<a class="jxr_linenumber" name="593" href="#593">593</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="594" href="#594">594</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoding.html">DataBlockEncoding</a> getDataBlockEncoding() {
-<a class="jxr_linenumber" name="595" href="#595">595</a>     String type = getValue(DATA_BLOCK_ENCODING);
-<a class="jxr_linenumber" name="596" href="#596">596</a>     <strong class="jxr_keyword">if</strong> (type == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="597" href="#597">597</a>       type = DEFAULT_DATA_BLOCK_ENCODING;
-<a class="jxr_linenumber" name="598" href="#598">598</a>     }
-<a class="jxr_linenumber" name="599" href="#599">599</a>     <strong class="jxr_keyword">return</strong> DataBlockEncoding.valueOf(type);
-<a class="jxr_linenumber" name="600" href="#600">600</a>   }
-<a class="jxr_linenumber" name="601" href="#601">601</a> 
-<a class="jxr_linenumber" name="602" href="#602">602</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="603" href="#603">603</a> <em class="jxr_javadoccomment">   * Set data block encoding algorithm used in block cache.</em>
-<a class="jxr_linenumber" name="604" href="#604">604</a> <em class="jxr_javadoccomment">   * @param type What kind of data block encoding will be used.</em>
-<a class="jxr_linenumber" name="605" href="#605">605</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="606" href="#606">606</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="607" href="#607">607</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setDataBlockEncoding(<a href="../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoding.html">DataBlockEncoding</a> type) {
-<a class="jxr_linenumber" name="608" href="#608">608</a>     String name;
-<a class="jxr_linenumber" name="609" href="#609">609</a>     <strong class="jxr_keyword">if</strong> (type != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="610" href="#610">610</a>       name = type.toString();
-<a class="jxr_linenumber" name="611" href="#611">611</a>     } <strong class="jxr_keyword">else</strong> {
-<a class="jxr_linenumber" name="612" href="#612">612</a>       name = DataBlockEncoding.NONE.toString();
-<a class="jxr_linenumber" name="613" href="#613">613</a>     }
-<a class="jxr_linenumber" name="614" href="#614">614</a>     <strong class="jxr_keyword">return</strong> setValue(DATA_BLOCK_ENCODING, name);
-<a class="jxr_linenumber" name="615" href="#615">615</a>   }
-<a class="jxr_linenumber" name="616" href="#616">616</a> 
-<a class="jxr_linenumber" name="617" href="#617">617</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="618" href="#618">618</a> <em class="jxr_javadoccomment">   * Set whether the tags should be compressed along with DataBlockEncoding. When no</em>
-<a class="jxr_linenumber" name="619" href="#619">619</a> <em class="jxr_javadoccomment">   * DataBlockEncoding is been used, this is having no effect.</em>
-<a class="jxr_linenumber" name="620" href="#620">620</a> <em class="jxr_javadoccomment">   *</em>
-<a class="jxr_linenumber" name="621" href="#621">621</a> <em class="jxr_javadoccomment">   * @param compressTags</em>
-<a class="jxr_linenumber" name="622" href="#622">622</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="623" href="#623">623</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="624" href="#624">624</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setCompressTags(<strong class="jxr_keyword">boolean</strong> compressTags) {
-<a class="jxr_linenumber" name="625" href="#625">625</a>     <strong class="jxr_keyword">return</strong> setValue(COMPRESS_TAGS, String.valueOf(compressTags));
-<a class="jxr_linenumber" name="626" href="#626">626</a>   }
-<a class="jxr_linenumber" name="627" href="#627">627</a> 
-<a class="jxr_linenumber" name="628" href="#628">628</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="629" href="#629">629</a> <em class="jxr_javadoccomment">   * @return Whether KV tags should be compressed along with DataBlockEncoding. When no</em>
-<a class="jxr_linenumber" name="630" href="#630">630</a> <em class="jxr_javadoccomment">   *         DataBlockEncoding is been used, this is having no effect.</em>
-<a class="jxr_linenumber" name="631" href="#631">631</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="632" href="#632">632</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isCompressTags() {
-<a class="jxr_linenumber" name="633" href="#633">633</a>     String compressTagsStr = getValue(COMPRESS_TAGS);
-<a class="jxr_linenumber" name="634" href="#634">634</a>     <strong class="jxr_keyword">boolean</strong> compressTags = DEFAULT_COMPRESS_TAGS;
-<a class="jxr_linenumber" name="635" href="#635">635</a>     <strong class="jxr_keyword">if</strong> (compressTagsStr != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="636" href="#636">636</a>       compressTags = Boolean.parseBoolean(compressTagsStr);
-<a class="jxr_linenumber" name="637" href="#637">637</a>     }
-<a class="jxr_linenumber" name="638" href="#638">638</a>     <strong class="jxr_keyword">return</strong> compressTags;
-<a class="jxr_linenumber" name="639" href="#639">639</a>   }
-<a class="jxr_linenumber" name="640" href="#640">640</a> 
-<a class="jxr_linenumber" name="641" href="#641">641</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="642" href="#642">642</a> <em class="jxr_javadoccomment">   * @return Compression type setting.</em>
-<a class="jxr_linenumber" name="643" href="#643">643</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="644" href="#644">644</a>   <strong class="jxr_keyword">public</strong> Compression.Algorithm getCompactionCompressionType() {
-<a class="jxr_linenumber" name="645" href="#645">645</a>     String n = getValue(COMPRESSION_COMPACT);
-<a class="jxr_linenumber" name="646" href="#646">646</a>     <strong class="jxr_keyword">if</strong> (n == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="647" href="#647">647</a>       <strong class="jxr_keyword">return</strong> getCompressionType();
-<a class="jxr_linenumber" name="648" href="#648">648</a>     }
-<a class="jxr_linenumber" name="649" href="#649">649</a>     <strong class="jxr_keyword">return</strong> Compression.Algorithm.valueOf(n.toUpperCase());
-<a class="jxr_linenumber" name="650" href="#650">650</a>   }
-<a class="jxr_linenumber" name="651" href="#651">651</a> 
-<a class="jxr_linenumber" name="652" href="#652">652</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="653" href="#653">653</a> <em class="jxr_javadoccomment">   * Compression types supported in hbase.</em>
-<a class="jxr_linenumber" name="654" href="#654">654</a> <em class="jxr_javadoccomment">   * LZO is not bundled as part of the hbase distribution.</em>
-<a class="jxr_linenumber" name="655" href="#655">655</a> <em class="jxr_javadoccomment">   * See &lt;a href="<a href="http://wiki.apache.org/hadoop/UsingLzoCompression" target="alexandria_uri">http://wiki.apache.org/hadoop/UsingLzoCompression</a>"&gt;LZO Compression&lt;/a&gt;</em>
-<a class="jxr_linenumber" name="656" href="#656">656</a> <em class="jxr_javadoccomment">   * for how to enable it.</em>
-<a class="jxr_linenumber" name="657" href="#657">657</a> <em class="jxr_javadoccomment">   * @param type Compression type setting.</em>
-<a class="jxr_linenumber" name="658" href="#658">658</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="659" href="#659">659</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="660" href="#660">660</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setCompactionCompressionType(
-<a class="jxr_linenumber" name="661" href="#661">661</a>       Compression.Algorithm type) {
-<a class="jxr_linenumber" name="662" href="#662">662</a>     <strong class="jxr_keyword">return</strong> setValue(COMPRESSION_COMPACT, type.getName().toUpperCase());
-<a class="jxr_linenumber" name="663" href="#663">663</a>   }
-<a class="jxr_linenumber" name="664" href="#664">664</a> 
-<a class="jxr_linenumber" name="665" href="#665">665</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="666" href="#666">666</a> <em class="jxr_javadoccomment">   * @return True if we are to favor keeping all values for this column family in the</em>
-<a class="jxr_linenumber" name="667" href="#667">667</a> <em class="jxr_javadoccomment">   * HRegionServer cache.</em>
-<a class="jxr_linenumber" name="668" href="#668">668</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="669" href="#669">669</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isInMemory() {
-<a class="jxr_linenumber" name="670" href="#670">670</a>     String value = getValue(HConstants.IN_MEMORY);
-<a class="jxr_linenumber" name="671" href="#671">671</a>     <strong class="jxr_keyword">if</strong> (value != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="672" href="#672">672</a>       <strong class="jxr_keyword">return</strong> Boolean.parseBoolean(value);
-<a class="jxr_linenumber" name="673" href="#673">673</a>     }
-<a class="jxr_linenumber" name="674" href="#674">674</a>     <strong class="jxr_keyword">return</strong> DEFAULT_IN_MEMORY;
-<a class="jxr_linenumber" name="675" href="#675">675</a>   }
-<a class="jxr_linenumber" name="676" href="#676">676</a> 
-<a class="jxr_linenumber" name="677" href="#677">677</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="678" href="#678">678</a> <em class="jxr_javadoccomment">   * @param inMemory True if we are to favor keeping all values for this column family in the</em>
-<a class="jxr_linenumber" name="679" href="#679">679</a> <em class="jxr_javadoccomment">   * HRegionServer cache</em>
-<a class="jxr_linenumber" name="680" href="#680">680</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="681" href="#681">681</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="682" href="#682">682</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setInMemory(<strong class="jxr_keyword">boolean</strong> inMemory) {
-<a class="jxr_linenumber" name="683" href="#683">683</a>     <strong class="jxr_keyword">return</strong> setValue(HConstants.IN_MEMORY, Boolean.toString(inMemory));
-<a class="jxr_linenumber" name="684" href="#684">684</a>   }
-<a class="jxr_linenumber" name="685" href="#685">685</a> 
-<a class="jxr_linenumber" name="686" href="#686">686</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/KeepDeletedCells.html">KeepDeletedCells</a> getKeepDeletedCells() {
-<a class="jxr_linenumber" name="687" href="#687">687</a>     String value = getValue(KEEP_DELETED_CELLS);
-<a class="jxr_linenumber" name="688" href="#688">688</a>     <strong class="jxr_keyword">if</strong> (value != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="689" href="#689">689</a>       <em class="jxr_comment">// toUpperCase for backwards compatibility</em>
-<a class="jxr_linenumber" name="690" href="#690">690</a>       <strong class="jxr_keyword">return</strong> KeepDeletedCells.valueOf(value.toUpperCase());
-<a class="jxr_linenumber" name="691" href="#691">691</a>     }
-<a class="jxr_linenumber" name="692" href="#692">692</a>     <strong class="jxr_keyword">return</strong> DEFAULT_KEEP_DELETED;
-<a class="jxr_linenumber" name="693" href="#693">693</a>   }
-<a class="jxr_linenumber" name="694" href="#694">694</a> 
-<a class="jxr_linenumber" name="695" href="#695">695</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="696" href="#696">696</a> <em class="jxr_javadoccomment">   * @param keepDeletedCells True if deleted rows should not be collected</em>
-<a class="jxr_linenumber" name="697" href="#697">697</a> <em class="jxr_javadoccomment">   * immediately.</em>
-<a class="jxr_linenumber" name="698" href="#698">698</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="699" href="#699">699</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="700" href="#700">700</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setKeepDeletedCells(<a href="../../../../org/apache/hadoop/hbase/KeepDeletedCells.html">KeepDeletedCells</a> keepDeletedCells) {
-<a class="jxr_linenumber" name="701" href="#701">701</a>     <strong class="jxr_keyword">return</strong> setValue(KEEP_DELETED_CELLS, keepDeletedCells.toString());
-<a class="jxr_linenumber" name="702" href="#702">702</a>   }
-<a class="jxr_linenumber" name="703" href="#703">703</a> 
-<a class="jxr_linenumber" name="704" href="#704">704</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="705" href="#705">705</a> <em class="jxr_javadoccomment">   * @return Time-to-live of cell contents, in seconds.</em>
-<a class="jxr_linenumber" name="706" href="#706">706</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="707" href="#707">707</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getTimeToLive() {
-<a class="jxr_linenumber" name="708" href="#708">708</a>     String value = getValue(TTL);
-<a class="jxr_linenumber" name="709" href="#709">709</a>     <strong class="jxr_keyword">return</strong> (value != <strong class="jxr_keyword">null</strong>)? Integer.parseInt(value) : DEFAULT_TTL;
-<a class="jxr_linenumber" name="710" href="#710">710</a>   }
-<a class="jxr_linenumber" name="711" href="#711">711</a> 
-<a class="jxr_linenumber" name="712" href="#712">712</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="713" href="#713">713</a> <em class="jxr_javadoccomment">   * @param timeToLive Time-to-live of cell contents, in seconds.</em>
-<a class="jxr_linenumber" name="714" href="#714">714</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="715" href="#715">715</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="716" href="#716">716</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setTimeToLive(<strong class="jxr_keyword">int</strong> timeToLive) {
-<a class="jxr_linenumber" name="717" href="#717">717</a>     <strong class="jxr_keyword">return</strong> setValue(TTL, Integer.toString(timeToLive));
-<a class="jxr_linenumber" name="718" href="#718">718</a>   }
-<a class="jxr_linenumber" name="719" href="#719">719</a> 
-<a class="jxr_linenumber" name="720" href="#720">720</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="721" href="#721">721</a> <em class="jxr_javadoccomment">   * @param timeToLive Time to live of cell contents, in human readable format</em>
-<a class="jxr_linenumber" name="722" href="#722">722</a> <em class="jxr_javadoccomment">   *                   @see org.apache.hadoop.hbase.util.PrettyPrinter#format(String, Unit)</em>
-<a class="jxr_linenumber" name="723" href="#723">723</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="724" href="#724">724</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="725" href="#725">725</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setTimeToLive(String timeToLive) <strong class="jxr_keyword">throws</strong> HBaseException {
-<a class="jxr_linenumber" name="726" href="#726">726</a>     <strong class="jxr_keyword">return</strong> setValue(TTL, PrettyPrinter.valueOf(timeToLive, Unit.TIME_INTERVAL));
-<a class="jxr_linenumber" name="727" href="#727">727</a>   }
-<a class="jxr_linenumber" name="728" href="#728">728</a> 
-<a class="jxr_linenumber" name="729" href="#729">729</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="730" href="#730">730</a> <em class="jxr_javadoccomment">   * @return The minimum number of versions to keep.</em>
-<a class="jxr_linenumber" name="731" href="#731">731</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="732" href="#732">732</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getMinVersions() {
-<a class="jxr_linenumber" name="733" href="#733">733</a>     String value = getValue(MIN_VERSIONS);
-<a class="jxr_linenumber" name="734" href="#734">734</a>     <strong class="jxr_keyword">return</strong> (value != <strong class="jxr_keyword">null</strong>)? Integer.parseInt(value) : 0;
-<a class="jxr_linenumber" name="735" href="#735">735</a>   }
-<a class="jxr_linenumber" name="736" href="#736">736</a> 
-<a class="jxr_linenumber" name="737" href="#737">737</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="738" href="#738">738</a> <em class="jxr_javadoccomment">   * @param minVersions The minimum number of versions to keep.</em>
-<a class="jxr_linenumber" name="739" href="#739">739</a> <em class="jxr_javadoccomment">   * (used when timeToLive is set)</em>
-<a class="jxr_linenumber" name="740" href="#740">740</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="741" href="#741">741</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="742" href="#742">742</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setMinVersions(<strong class="jxr_keyword">int</strong> minVersions) {
-<a class="jxr_linenumber" name="743" href="#743">743</a>     <strong class="jxr_keyword">return</strong> setValue(MIN_VERSIONS, Integer.toString(minVersions));
-<a class="jxr_linenumber" name="744" href="#744">744</a>   }
-<a class="jxr_linenumber" name="745" href="#745">745</a> 
-<a class="jxr_linenumber" name="746" href="#746">746</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="747" href="#747">747</a> <em class="jxr_javadoccomment">   * @return True if hfile DATA type blocks should be cached (You cannot disable caching of INDEX</em>
-<a class="jxr_linenumber" name="748" href="#748">748</a> <em class="jxr_javadoccomment">   * and BLOOM type blocks).</em>
-<a class="jxr_linenumber" name="749" href="#749">749</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="750" href="#750">750</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isBlockCacheEnabled() {
-<a class="jxr_linenumber" name="751" href="#751">751</a>     String value = getValue(BLOCKCACHE);
-<a class="jxr_linenumber" name="752" href="#752">752</a>     <strong class="jxr_keyword">if</strong> (value != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="753" href="#753">753</a>       <strong class="jxr_keyword">return</strong> Boolean.parseBoolean(value);
-<a class="jxr_linenumber" name="754" href="#754">754</a>     }
-<a class="jxr_linenumber" name="755" href="#755">755</a>     <strong class="jxr_keyword">return</strong> DEFAULT_BLOCKCACHE;
-<a class="jxr_linenumber" name="756" href="#756">756</a>   }
-<a class="jxr_linenumber" name="757" href="#757">757</a> 
-<a class="jxr_linenumber" name="758" href="#758">758</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="759" href="#759">759</a> <em class="jxr_javadoccomment">   * @param blockCacheEnabled True if hfile DATA type blocks should be cached (We always cache</em>
-<a class="jxr_linenumber" name="760" href="#760">760</a> <em class="jxr_javadoccomment">   * INDEX and BLOOM blocks; you cannot turn this off).</em>
-<a class="jxr_linenumber" name="761" href="#761">761</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="762" href="#762">762</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="763" href="#763">763</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setBlockCacheEnabled(<strong class="jxr_keyword">boolean</strong> blockCacheEnabled) {
-<a class="jxr_linenumber" name="764" href="#764">764</a>     <strong class="jxr_keyword">return</strong> setValue(BLOCKCACHE, Boolean.toString(blockCacheEnabled));
-<a class="jxr_linenumber" name="765" href="#765">765</a>   }
-<a class="jxr_linenumber" name="766" href="#766">766</a> 
-<a class="jxr_linenumber" name="767" href="#767">767</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="768" href="#768">768</a> <em class="jxr_javadoccomment">   * @return bloom filter type used for new StoreFiles in ColumnFamily</em>
-<a class="jxr_linenumber" name="769" href="#769">769</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="770" href="#770">770</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/regionserver/BloomType.html">BloomType</a> getBloomFilterType() {
-<a class="jxr_linenumber" name="771" href="#771">771</a>     String n = getValue(BLOOMFILTER);
-<a class="jxr_linenumber" name="772" href="#772">772</a>     <strong class="jxr_keyword">if</strong> (n == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="773" href="#773">773</a>       n = DEFAULT_BLOOMFILTER;
-<a class="jxr_linenumber" name="774" href="#774">774</a>     }
-<a class="jxr_linenumber" name="775" href="#775">775</a>     <strong class="jxr_keyword">return</strong> BloomType.valueOf(n.toUpperCase());
-<a class="jxr_linenumber" name="776" href="#776">776</a>   }
-<a class="jxr_linenumber" name="777" href="#777">777</a> 
-<a class="jxr_linenumber" name="778" href="#778">778</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="779" href="#779">779</a> <em class="jxr_javadoccomment">   * @param bt bloom filter type</em>
-<a class="jxr_linenumber" name="780" href="#780">780</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="781" href="#781">781</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="782" href="#782">782</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setBloomFilterType(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/hadoop/hbase/regionserver/BloomType.html">BloomType</a> bt) {
-<a class="jxr_linenumber" name="783" href="#783">783</a>     <strong class="jxr_keyword">return</strong> setValue(BLOOMFILTER, bt.toString());
-<a class="jxr_linenumber" name="784" href="#784">784</a>   }
-<a class="jxr_linenumber" name="785" href="#785">785</a> 
-<a class="jxr_linenumber" name="786" href="#786">786</a>    <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="787" href="#787">787</a> <em class="jxr_javadoccomment">    * @return the scope tag</em>
-<a class="jxr_linenumber" name="788" href="#788">788</a> <em class="jxr_javadoccomment">    */</em>
-<a class="jxr_linenumber" name="789" href="#789">789</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getScope() {
-<a class="jxr_linenumber" name="790" href="#790">790</a>     byte[] value = getValue(REPLICATION_SCOPE_BYTES);
-<a class="jxr_linenumber" name="791" href="#791">791</a>     <strong class="jxr_keyword">if</strong> (value != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="792" href="#792">792</a>       <strong class="jxr_keyword">return</strong> Integer.parseInt(Bytes.toString(value));
-<a class="jxr_linenumber" name="793" href="#793">793</a>     }
-<a class="jxr_linenumber" name="794" href="#794">794</a>     <strong class="jxr_keyword">return</strong> DEFAULT_REPLICATION_SCOPE;
-<a class="jxr_linenumber" name="795" href="#795">795</a>   }
-<a class="jxr_linenumber" name="796" href="#796">796</a> 
-<a class="jxr_linenumber" name="797" href="#797">797</a>  <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="798" href="#798">798</a> <em class="jxr_javadoccomment">  * @param scope the scope tag</em>
-<a class="jxr_linenumber" name="799" href="#799">799</a> <em class="jxr_javadoccomment">  * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="800" href="#800">800</a> <em class="jxr_javadoccomment">  */</em>
-<a class="jxr_linenumber" name="801" href="#801">801</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setScope(<strong class="jxr_keyword">int</strong> scope) {
-<a class="jxr_linenumber" name="802" href="#802">802</a>     <strong class="jxr_keyword">return</strong> setValue(REPLICATION_SCOPE, Integer.toString(scope));
-<a class="jxr_linenumber" name="803" href="#803">803</a>   }
-<a class="jxr_linenumber" name="804" href="#804">804</a> 
-<a class="jxr_linenumber" name="805" href="#805">805</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="806" href="#806">806</a> <em class="jxr_javadoccomment">   * @return true if we should cache data blocks on write</em>
-<a class="jxr_linenumber" name="807" href="#807">807</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="808" href="#808">808</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isCacheDataOnWrite() {
-<a class="jxr_linenumber" name="809" href="#809">809</a>     <strong class="jxr_keyword">return</strong> setAndGetBoolean(CACHE_DATA_ON_WRITE, DEFAULT_CACHE_DATA_ON_WRITE);
-<a class="jxr_linenumber" name="810" href="#810">810</a>   }
-<a class="jxr_linenumber" name="811" href="#811">811</a> 
-<a class="jxr_linenumber" name="812" href="#812">812</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="813" href="#813">813</a> <em class="jxr_javadoccomment">   * @param value true if we should cache data blocks on write</em>
-<a class="jxr_linenumber" name="814" href="#814">814</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="815" href="#815">815</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="816" href="#816">816</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setCacheDataOnWrite(<strong class="jxr_keyword">boolean</strong> value) {
-<a class="jxr_linenumber" name="817" href="#817">817</a>     <strong class="jxr_keyword">return</strong> setValue(CACHE_DATA_ON_WRITE, Boolean.toString(value));
-<a class="jxr_linenumber" name="818" href="#818">818</a>   }
-<a class="jxr_linenumber" name="819" href="#819">819</a> 
-<a class="jxr_linenumber" name="820" href="#820">820</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="821" href="#821">821</a> <em class="jxr_javadoccomment">   * @return true if we should cache data blocks in the L1 cache (if block cache deploy has more</em>
-<a class="jxr_linenumber" name="822" href="#822">822</a> <em class="jxr_javadoccomment">   *         than one tier; e.g. we are using CombinedBlockCache).</em>
-<a class="jxr_linenumber" name="823" href="#823">823</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="824" href="#824">824</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isCacheDataInL1() {
-<a class="jxr_linenumber" name="825" href="#825">825</a>     <strong class="jxr_keyword">return</strong> setAndGetBoolean(CACHE_DATA_IN_L1, DEFAULT_CACHE_DATA_IN_L1);
-<a class="jxr_linenumber" name="826" href="#826">826</a>   }
-<a class="jxr_linenumber" name="827" href="#827">827</a> 
-<a class="jxr_linenumber" name="828" href="#828">828</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="829" href="#829">829</a> <em class="jxr_javadoccomment">   * @param value true if we should cache data blocks in the L1 cache (if block cache deploy</em>
-<a class="jxr_linenumber" name="830" href="#830">830</a> <em class="jxr_javadoccomment">   * has more than one tier; e.g. we are using CombinedBlockCache).</em>
-<a class="jxr_linenumber" name="831" href="#831">831</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="832" href="#832">832</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="833" href="#833">833</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setCacheDataInL1(<strong class="jxr_keyword">boolean</strong> value) {
-<a class="jxr_linenumber" name="834" href="#834">834</a>     <strong class="jxr_keyword">return</strong> setValue(CACHE_DATA_IN_L1, Boolean.toString(value));
-<a class="jxr_linenumber" name="835" href="#835">835</a>   }
-<a class="jxr_linenumber" name="836" href="#836">836</a> 
-<a class="jxr_linenumber" name="837" href="#837">837</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> setAndGetBoolean(<strong class="jxr_keyword">final</strong> String key, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> defaultSetting) {
-<a class="jxr_linenumber" name="838" href="#838">838</a>     String value = getValue(key);
-<a class="jxr_linenumber" name="839" href="#839">839</a>     <strong class="jxr_keyword">if</strong> (value != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="840" href="#840">840</a>       <strong class="jxr_keyword">return</strong> Boolean.parseBoolean(value);
-<a class="jxr_linenumber" name="841" href="#841">841</a>     }
-<a class="jxr_linenumber" name="842" href="#842">842</a>     <strong class="jxr_keyword">return</strong> defaultSetting;
-<a class="jxr_linenumber" name="843" href="#843">843</a>   }
-<a class="jxr_linenumber" name="844" href="#844">844</a> 
-<a class="jxr_linenumber" name="845" href="#845">845</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="846" href="#846">846</a> <em class="jxr_javadoccomment">   * @return true if we should cache index blocks on write</em>
-<a class="jxr_linenumber" name="847" href="#847">847</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="848" href="#848">848</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isCacheIndexesOnWrite() {
-<a class="jxr_linenumber" name="849" href="#849">849</a>     <strong class="jxr_keyword">return</strong> setAndGetBoolean(CACHE_INDEX_ON_WRITE, DEFAULT_CACHE_INDEX_ON_WRITE);
-<a class="jxr_linenumber" name="850" href="#850">850</a>   }
-<a class="jxr_linenumber" name="851" href="#851">851</a> 
-<a class="jxr_linenumber" name="852" href="#852">852</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="853" href="#853">853</a> <em class="jxr_javadoccomment">   * @param value true if we should cache index blocks on write</em>
-<a class="jxr_linenumber" name="854" href="#854">854</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="855" href="#855">855</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="856" href="#856">856</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setCacheIndexesOnWrite(<strong class="jxr_keyword">boolean</strong> value) {
-<a class="jxr_linenumber" name="857" href="#857">857</a>     <strong class="jxr_keyword">return</strong> setValue(CACHE_INDEX_ON_WRITE, Boolean.toString(value));
-<a class="jxr_linenumber" name="858" href="#858">858</a>   }
-<a class="jxr_linenumber" name="859" href="#859">859</a> 
-<a class="jxr_linenumber" name="860" href="#860">860</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="861" href="#861">861</a> <em class="jxr_javadoccomment">   * @return true if we should cache bloomfilter blocks on write</em>
-<a class="jxr_linenumber" name="862" href="#862">862</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="863" href="#863">863</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isCacheBloomsOnWrite() {
-<a class="jxr_linenumber" name="864" href="#864">864</a>     <strong class="jxr_keyword">return</strong> setAndGetBoolean(CACHE_BLOOMS_ON_WRITE, DEFAULT_CACHE_BLOOMS_ON_WRITE);
-<a class="jxr_linenumber" name="865" href="#865">865</a>   }
-<a class="jxr_linenumber" name="866" href="#866">866</a> 
-<a class="jxr_linenumber" name="867" href="#867">867</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="868" href="#868">868</a> <em class="jxr_javadoccomment">   * @param value true if we should cache bloomfilter blocks on write</em>
-<a class="jxr_linenumber" name="869" href="#869">869</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="870" href="#870">870</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="871" href="#871">871</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setCacheBloomsOnWrite(<strong class="jxr_keyword">boolean</strong> value) {
-<a class="jxr_linenumber" name="872" href="#872">872</a>     <strong class="jxr_keyword">return</strong> setValue(CACHE_BLOOMS_ON_WRITE, Boolean.toString(value));
-<a class="jxr_linenumber" name="873" href="#873">873</a>   }
-<a class="jxr_linenumber" name="874" href="#874">874</a> 
-<a class="jxr_linenumber" name="875" href="#875">875</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="876" href="#876">876</a> <em class="jxr_javadoccomment">   * @return true if we should evict cached blocks from the blockcache on close</em>
-<a class="jxr_linenumber" name="877" href="#877">877</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="878" href="#878">878</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isEvictBlocksOnClose() {
-<a class="jxr_linenumber" name="879" href="#879">879</a>     <strong class="jxr_keyword">return</strong> setAndGetBoolean(EVICT_BLOCKS_ON_CLOSE, DEFAULT_EVICT_BLOCKS_ON_CLOSE);
-<a class="jxr_linenumber" name="880" href="#880">880</a>   }
-<a class="jxr_linenumber" name="881" href="#881">881</a> 
-<a class="jxr_linenumber" name="882" href="#882">882</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="883" href="#883">883</a> <em class="jxr_javadoccomment">   * @param value true if we should evict cached blocks from the blockcache on</em>
-<a class="jxr_linenumber" name="884" href="#884">884</a> <em class="jxr_javadoccomment">   * close</em>
-<a class="jxr_linenumber" name="885" href="#885">885</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="886" href="#886">886</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="887" href="#887">887</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setEvictBlocksOnClose(<strong class="jxr_keyword">boolean</strong> value) {
-<a class="jxr_linenumber" name="888" href="#888">888</a>     <strong class="jxr_keyword">return</strong> setValue(EVICT_BLOCKS_ON_CLOSE, Boolean.toString(value));
-<a class="jxr_linenumber" name="889" href="#889">889</a>   }
-<a class="jxr_linenumber" name="890" href="#890">890</a> 
-<a class="jxr_linenumber" name="891" href="#891">891</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="892" href="#892">892</a> <em class="jxr_javadoccomment">   * @return true if we should prefetch blocks into the blockcache on open</em>
-<a class="jxr_linenumber" name="893" href="#893">893</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="894" href="#894">894</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isPrefetchBlocksOnOpen() {
-<a class="jxr_linenumber" name="895" href="#895">895</a>     <strong class="jxr_keyword">return</strong> setAndGetBoolean(PREFETCH_BLOCKS_ON_OPEN, DEFAULT_PREFETCH_BLOCKS_ON_OPEN);
-<a class="jxr_linenumber" name="896" href="#896">896</a>   }
-<a class="jxr_linenumber" name="897" href="#897">897</a> 
-<a class="jxr_linenumber" name="898" href="#898">898</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="899" href="#899">899</a> <em class="jxr_javadoccomment">   * @param value true if we should prefetch blocks into the blockcache on open</em>
-<a class="jxr_linenumber" name="900" href="#900">900</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
-<a class="jxr_linenumber" name="901" href="#901">901</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="902" href="#902">902</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setPrefetchBlocksOnOpen(<strong class="jxr_keyword">boolean</strong> value) {
-<a class="jxr_linenumber" name="903" href="#903">903</a>     <strong class="jxr_keyword">return</strong> setValue(PREFETCH_BLOCKS_ON_OPEN, Boolean.toString(value));
-<a class="jxr_linenumber" name="904" href="#904">904</a>   }
-<a class="jxr_linenumber" name="905" href="#905">905</a> 
-<a class="jxr_linenumber" name="906" href="#906">906</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="907" href="#907">907</a> <em class="jxr_javadoccomment">   * @see java.lang.Object#toString()</em>
-<a class="jxr_linenumber" name="908" href="#908">908</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="909" href="#909">909</a>   @Override
-<a class="jxr_linenumber" name="910" href="#910">910</a>   <strong class="jxr_keyword">public</strong> String toString() {
-<a class="jxr_linenumber" name="911" href="#911">911</a>     StringBuilder s = <strong class="jxr_keyword">new</strong> StringBuilder();
-<a class="jxr_linenumber" name="912" href="#912">912</a> 
-<a class="jxr_linenumber" name="913" href="#913">913</a>     s.append('{');
-<a class="jxr_linenumber" name="914" href="#914">914</a>     s.append(HConstants.NAME);
-<a class="jxr_linenumber" name="915" href="#915">915</a>     s.append(<span class="jxr_string">" =&gt; '"</span>);
-<a class="jxr_linenumber" name="916" href="#916">916</a>     s.append(Bytes.toString(name));
-<a class="jxr_linenumber" name="917" href="#917">917</a>     s.append(<span class="jxr_string">"'"</span>);
-<a class="jxr_linenumber" name="918" href="#918">918</a>     s.append(getValues(<strong class="jxr_keyword">true</strong>));
-<a class="jxr_linenumber" name="919" href="#919">919</a>     s.append('}');
-<a class="jxr_linenumber" name="920" href="#920">920</a>     <strong class="jxr_keyword">return</strong> s.toString();
-<a class="jxr_linenumber" name="921" href="#921">921</a>   }
-<a class="jxr_linenumber" name="922" href="#922">922</a> 
-<a class="jxr_linenumber" name="923" href="#923">923</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="924" href="#924">924</a> <em class="jxr_javadoccomment">   * @return Column family descriptor with only the customized attributes.</em>
-<a class="jxr_linenumber" name="925" href="#925">925</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="926" href="#926">926</a>   <strong class="jxr_keyword">public</strong> String toStringCustomizedValues() {
-<a class="jxr_linenumber" name="927" href="#927">927</a>     StringBuilder s = <strong class="jxr_keyword">new</strong> StringBuilder();
-<a class="jxr_linenumber" name="928" href="#928">928</a>     s.append('{');
-<a class="jxr_linenumber" name="929" href="#929">929</a>     s.append(HConstants.NAME);
-<a class="jxr_linenumber" name="930" href="#930">930</a>     s.append(<span class="jxr_string">" =&gt; '"</span>);
-<a class="jxr_linenumber" name="931" href="#931">931</a>     s.append(Bytes.toString(name));
-<a class="jxr_linenumber" name="932" href="#932">932</a>     s.append(<span class="jxr_string">"'"</span>);
-<a class="jxr_linenumber" name="933" href="#933">933</a>     s.append(getValues(false));
-<a class="jxr_linenumber" name="934" href="#934">934</a>     s.append('}');
-<a class="jxr_linenumber" name="935" href="#935">935</a>     <strong class="jxr_keyword">return</strong> s.toString();
-<a class="jxr_linenumber" name="936" href="#936">936</a>   }
-<a class="jxr_linenumber" name="937" href="#937">937</a> 
-<a class="jxr_linenumber" name="938" href="#938">938</a>   <strong class="jxr_keyword">private</strong> StringBuilder getValues(<strong class="jxr_keyword">boolean</strong> printDefaults) {
-<a class="jxr_linenumber" name="939" href="#939">939</a>     StringBuilder s = <strong class="jxr_keyword">new</strong> StringBuilder();
+<a class="jxr_linenumber" name="442" href="#442">442</a>     <strong class="jxr_keyword">if</strong> (Bytes.compareTo(Bytes.toBytes(HConstants.VERSIONS), key) == 0) {
+<a class="jxr_linenumber" name="443" href="#443">443</a>       cachedMaxVersions = UNINITIALIZED;
+<a class="jxr_linenumber" name="444" href="#444">444</a>     }
+<a class="jxr_linenumber" name="445" href="#445">445</a>     values.put(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/hadoop/hbase/util/Bytes.html">Bytes</a>(key),
+<a class="jxr_linenumber" name="446" href="#446">446</a>         <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/hadoop/hbase/util/Bytes.html">Bytes</a>(value));
+<a class="jxr_linenumber" name="447" href="#447">447</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
+<a class="jxr_linenumber" name="448" href="#448">448</a>   }
+<a class="jxr_linenumber" name="449" href="#449">449</a> 
+<a class="jxr_linenumber" name="450" href="#450">450</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="451" href="#451">451</a> <em class="jxr_javadoccomment">   * @param key Key whose key and value we're to remove from HCD parameters.</em>
+<a class="jxr_linenumber" name="452" href="#452">452</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="453" href="#453">453</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> remove(<strong class="jxr_keyword">final</strong> byte [] key) {
+<a class="jxr_linenumber" name="454" href="#454">454</a>     values.remove(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/hadoop/hbase/util/Bytes.html">Bytes</a>(key));
+<a class="jxr_linenumber" name="455" href="#455">455</a>   }
+<a class="jxr_linenumber" name="456" href="#456">456</a> 
+<a class="jxr_linenumber" name="457" href="#457">457</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="458" href="#458">458</a> <em class="jxr_javadoccomment">   * @param key The key.</em>
+<a class="jxr_linenumber" name="459" href="#459">459</a> <em class="jxr_javadoccomment">   * @param value The value.</em>
+<a class="jxr_linenumber" name="460" href="#460">460</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
+<a class="jxr_linenumber" name="461" href="#461">461</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="462" href="#462">462</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setValue(String key, String value) {
+<a class="jxr_linenumber" name="463" href="#463">463</a>     <strong class="jxr_keyword">if</strong> (value == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="464" href="#464">464</a>       remove(Bytes.toBytes(key));
+<a class="jxr_linenumber" name="465" href="#465">465</a>     } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="466" href="#466">466</a>       setValue(Bytes.toBytes(key), Bytes.toBytes(value));
+<a class="jxr_linenumber" name="467" href="#467">467</a>     }
+<a class="jxr_linenumber" name="468" href="#468">468</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
+<a class="jxr_linenumber" name="469" href="#469">469</a>   }
+<a class="jxr_linenumber" name="470" href="#470">470</a> 
+<a class="jxr_linenumber" name="471" href="#471">471</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="472" href="#472">472</a> <em class="jxr_javadoccomment">   * @return compression type being used for the column family</em>
+<a class="jxr_linenumber" name="473" href="#473">473</a> <em class="jxr_javadoccomment">   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0</em>
+<a class="jxr_linenumber" name="474" href="#474">474</a> <em class="jxr_javadoccomment">   *             (&lt;a href="https://issues.apache.org/jira/browse/HBASE-13655"&gt;HBASE-13655&lt;/a&gt;).</em>
+<a class="jxr_linenumber" name="475" href="#475">475</a> <em class="jxr_javadoccomment">   *             Use {@link #getCompressionType()}.</em>
+<a class="jxr_linenumber" name="476" href="#476">476</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="477" href="#477">477</a>   @Deprecated
+<a class="jxr_linenumber" name="478" href="#478">478</a>   <strong class="jxr_keyword">public</strong> Compression.Algorithm getCompression() {
+<a class="jxr_linenumber" name="479" href="#479">479</a>     <strong class="jxr_keyword">return</strong> getCompressionType();
+<a class="jxr_linenumber" name="480" href="#480">480</a>   }
+<a class="jxr_linenumber" name="481" href="#481">481</a> 
+<a class="jxr_linenumber" name="482" href="#482">482</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="483" href="#483">483</a> <em class="jxr_javadoccomment">   *  @return compression type being used for the column family for major compaction</em>
+<a class="jxr_linenumber" name="484" href="#484">484</a> <em class="jxr_javadoccomment">   *  @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0</em>
+<a class="jxr_linenumber" name="485" href="#485">485</a> <em class="jxr_javadoccomment">   *             (&lt;a href="https://issues.apache.org/jira/browse/HBASE-13655"&gt;HBASE-13655&lt;/a&gt;).</em>
+<a class="jxr_linenumber" name="486" href="#486">486</a> <em class="jxr_javadoccomment">   *             Use {@link #getCompactionCompressionType()}.</em>
+<a class="jxr_linenumber" name="487" href="#487">487</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="488" href="#488">488</a>   @Deprecated
+<a class="jxr_linenumber" name="489" href="#489">489</a>   <strong class="jxr_keyword">public</strong> Compression.Algorithm getCompactionCompression() {
+<a class="jxr_linenumber" name="490" href="#490">490</a>     <strong class="jxr_keyword">return</strong> getCompactionCompressionType();
+<a class="jxr_linenumber" name="491" href="#491">491</a>   }
+<a class="jxr_linenumber" name="492" href="#492">492</a> 
+<a class="jxr_linenumber" name="493" href="#493">493</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> @return maximum number of versions */</em>
+<a class="jxr_linenumber" name="494" href="#494">494</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getMaxVersions() {
+<a class="jxr_linenumber" name="495" href="#495">495</a>     <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">this</strong>.cachedMaxVersions == UNINITIALIZED) {
+<a class="jxr_linenumber" name="496" href="#496">496</a>       String v = getValue(HConstants.VERSIONS);
+<a class="jxr_linenumber" name="497" href="#497">497</a>       <strong class="jxr_keyword">this</strong>.cachedMaxVersions = Integer.parseInt(v);
+<a class="jxr_linenumber" name="498" href="#498">498</a>     }
+<a class="jxr_linenumber" name="499" href="#499">499</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.cachedMaxVersions;
+<a class="jxr_linenumber" name="500" href="#500">500</a>   }
+<a class="jxr_linenumber" name="501" href="#501">501</a> 
+<a class="jxr_linenumber" name="502" href="#502">502</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="503" href="#503">503</a> <em class="jxr_javadoccomment">   * @param maxVersions maximum number of versions</em>
+<a class="jxr_linenumber" name="504" href="#504">504</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
+<a class="jxr_linenumber" name="505" href="#505">505</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="506" href="#506">506</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setMaxVersions(<strong class="jxr_keyword">int</strong> maxVersions) {
+<a class="jxr_linenumber" name="507" href="#507">507</a>     <strong class="jxr_keyword">if</strong> (maxVersions &lt;= 0) {
+<a class="jxr_linenumber" name="508" href="#508">508</a>       <em class="jxr_comment">// TODO: Allow maxVersion of 0 to be the way you say "Keep all versions".</em>
+<a class="jxr_linenumber" name="509" href="#509">509</a>       <em class="jxr_comment">// Until there is support, consider 0 or &lt; 0 -- a configuration error.</em>
+<a class="jxr_linenumber" name="510" href="#510">510</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Maximum versions must be positive"</span>);
+<a class="jxr_linenumber" name="511" href="#511">511</a>     }
+<a class="jxr_linenumber" name="512" href="#512">512</a>     <strong class="jxr_keyword">if</strong> (maxVersions &lt; <strong class="jxr_keyword">this</strong>.getMinVersions()) {
+<a class="jxr_linenumber" name="513" href="#513">513</a>         <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Set MaxVersion to "</span> + maxVersions
+<a class="jxr_linenumber" name="514" href="#514">514</a>             + <span class="jxr_string">" while minVersion is "</span> + <strong class="jxr_keyword">this</strong>.getMinVersions()
+<a class="jxr_linenumber" name="515" href="#515">515</a>             + <span class="jxr_string">". Maximum versions must be &gt;= minimum versions "</span>);
+<a class="jxr_linenumber" name="516" href="#516">516</a>     }
+<a class="jxr_linenumber" name="517" href="#517">517</a>     setValue(HConstants.VERSIONS, Integer.toString(maxVersions));
+<a class="jxr_linenumber" name="518" href="#518">518</a>     cachedMaxVersions = maxVersions;
+<a class="jxr_linenumber" name="519" href="#519">519</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
+<a class="jxr_linenumber" name="520" href="#520">520</a>   }
+<a class="jxr_linenumber" name="521" href="#521">521</a> 
+<a class="jxr_linenumber" name="522" href="#522">522</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="523" href="#523">523</a> <em class="jxr_javadoccomment">   * Set minimum and maximum versions to keep</em>
+<a class="jxr_linenumber" name="524" href="#524">524</a> <em class="jxr_javadoccomment">   *</em>
+<a class="jxr_linenumber" name="525" href="#525">525</a> <em class="jxr_javadoccomment">   * @param minVersions minimal number of versions</em>
+<a class="jxr_linenumber" name="526" href="#526">526</a> <em class="jxr_javadoccomment">   * @param maxVersions maximum number of versions</em>
+<a class="jxr_linenumber" name="527" href="#527">527</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
+<a class="jxr_linenumber" name="528" href="#528">528</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="529" href="#529">529</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setVersions(<strong class="jxr_keyword">int</strong> minVersions, <strong class="jxr_keyword">int</strong> maxVersions) {
+<a class="jxr_linenumber" name="530" href="#530">530</a>     <strong class="jxr_keyword">if</strong> (minVersions &lt;= 0) {
+<a class="jxr_linenumber" name="531" href="#531">531</a>       <em class="jxr_comment">// TODO: Allow minVersion and maxVersion of 0 to be the way you say "Keep all versions".</em>
+<a class="jxr_linenumber" name="532" href="#532">532</a>       <em class="jxr_comment">// Until there is support, consider 0 or &lt; 0 -- a configuration error.</em>
+<a class="jxr_linenumber" name="533" href="#533">533</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Minimum versions must be positive"</span>);
+<a class="jxr_linenumber" name="534" href="#534">534</a>     }
+<a class="jxr_linenumber" name="535" href="#535">535</a> 
+<a class="jxr_linenumber" name="536" href="#536">536</a>     <strong class="jxr_keyword">if</strong> (maxVersions &lt; minVersions) {
+<a class="jxr_linenumber" name="537" href="#537">537</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Unable to set MaxVersion to "</span> + maxVersions
+<a class="jxr_linenumber" name="538" href="#538">538</a>         + <span class="jxr_string">" and set MinVersion to "</span> + minVersions
+<a class="jxr_linenumber" name="539" href="#539">539</a>         + <span class="jxr_string">", as maximum versions must be &gt;= minimum versions."</span>);
+<a class="jxr_linenumber" name="540" href="#540">540</a>     }
+<a class="jxr_linenumber" name="541" href="#541">541</a>     setMinVersions(minVersions);
+<a class="jxr_linenumber" name="542" href="#542">542</a>     setMaxVersions(maxVersions);
+<a class="jxr_linenumber" name="543" href="#543">543</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
+<a class="jxr_linenumber" name="544" href="#544">544</a>   }
+<a class="jxr_linenumber" name="545" href="#545">545</a> 
+<a class="jxr_linenumber" name="546" href="#546">546</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="547" href="#547">547</a> <em class="jxr_javadoccomment">   * @return The storefile/hfile blocksize for this column family.</em>
+<a class="jxr_linenumber" name="548" href="#548">548</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="549" href="#549">549</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">synchronized</strong> <strong class="jxr_keyword">int</strong> getBlocksize() {
+<a class="jxr_linenumber" name="550" href="#550">550</a>     <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">this</strong>.blocksize == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="551" href="#551">551</a>       String value = getValue(BLOCKSIZE);
+<a class="jxr_linenumber" name="552" href="#552">552</a>       <strong class="jxr_keyword">this</strong>.blocksize = (value != <strong class="jxr_keyword">null</strong>)?
+<a class="jxr_linenumber" name="553" href="#553">553</a>         Integer.decode(value): Integer.valueOf(DEFAULT_BLOCKSIZE);
+<a class="jxr_linenumber" name="554" href="#554">554</a>     }
+<a class="jxr_linenumber" name="555" href="#555">555</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.blocksize.intValue();
+<a class="jxr_linenumber" name="556" href="#556">556</a> 
+<a class="jxr_linenumber" name="557" href="#557">557</a>   }
+<a class="jxr_linenumber" name="558" href="#558">558</a> 
+<a class="jxr_linenumber" name="559" href="#559">559</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="560" href="#560">560</a> <em class="jxr_javadoccomment">   * @param s Blocksize to use when writing out storefiles/hfiles on this</em>
+<a class="jxr_linenumber" name="561" href="#561">561</a> <em class="jxr_javadoccomment">   * column family.</em>
+<a class="jxr_linenumber" name="562" href="#562">562</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
+<a class="jxr_linenumber" name="563" href="#563">563</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="564" href="#564">564</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setBlocksize(<strong class="jxr_keyword">int</strong> s) {
+<a class="jxr_linenumber" name="565" href="#565">565</a>     setValue(BLOCKSIZE, Integer.toString(s));
+<a class="jxr_linenumber" name="566" href="#566">566</a>     <strong class="jxr_keyword">this</strong>.blocksize = <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="567" href="#567">567</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
+<a class="jxr_linenumber" name="568" href="#568">568</a>   }
+<a class="jxr_linenumber" name="569" href="#569">569</a> 
+<a class="jxr_linenumber" name="570" href="#570">570</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="571" href="#571">571</a> <em class="jxr_javadoccomment">   * @return Compression type setting.</em>
+<a class="jxr_linenumber" name="572" href="#572">572</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="573" href="#573">573</a>   <strong class="jxr_keyword">public</strong> Compression.Algorithm getCompressionType() {
+<a class="jxr_linenumber" name="574" href="#574">574</a>     String n = getValue(COMPRESSION);
+<a class="jxr_linenumber" name="575" href="#575">575</a>     <strong class="jxr_keyword">if</strong> (n == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="576" href="#576">576</a>       <strong class="jxr_keyword">return</strong> Compression.Algorithm.NONE;
+<a class="jxr_linenumber" name="577" href="#577">577</a>     }
+<a class="jxr_linenumber" name="578" href="#578">578</a>     <strong class="jxr_keyword">return</strong> Compression.Algorithm.valueOf(n.toUpperCase());
+<a class="jxr_linenumber" name="579" href="#579">579</a>   }
+<a class="jxr_linenumber" name="580" href="#580">580</a> 
+<a class="jxr_linenumber" name="581" href="#581">581</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="582" href="#582">582</a> <em class="jxr_javadoccomment">   * Compression types supported in hbase.</em>
+<a class="jxr_linenumber" name="583" href="#583">583</a> <em class="jxr_javadoccomment">   * LZO is not bundled as part of the hbase distribution.</em>
+<a class="jxr_linenumber" name="584" href="#584">584</a> <em class="jxr_javadoccomment">   * See &lt;a href="<a href="http://wiki.apache.org/hadoop/UsingLzoCompression" target="alexandria_uri">http://wiki.apache.org/hadoop/UsingLzoCompression</a>"&gt;LZO Compression&lt;/a&gt;</em>
+<a class="jxr_linenumber" name="585" href="#585">585</a> <em class="jxr_javadoccomment">   * for how to enable it.</em>
+<a class="jxr_linenumber" name="586" href="#586">586</a> <em class="jxr_javadoccomment">   * @param type Compression type setting.</em>
+<a class="jxr_linenumber" name="587" href="#587">587</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
+<a class="jxr_linenumber" name="588" href="#588">588</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="589" href="#589">589</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setCompressionType(Compression.Algorithm type) {
+<a class="jxr_linenumber" name="590" href="#590">590</a>     <strong class="jxr_keyword">return</strong> setValue(COMPRESSION, type.getName().toUpperCase());
+<a class="jxr_linenumber" name="591" href="#591">591</a>   }
+<a class="jxr_linenumber" name="592" href="#592">592</a> 
+<a class="jxr_linenumber" name="593" href="#593">593</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="594" href="#594">594</a> <em class="jxr_javadoccomment">   * @return the data block encoding algorithm used in block cache and</em>
+<a class="jxr_linenumber" name="595" href="#595">595</a> <em class="jxr_javadoccomment">   *         optionally on disk</em>
+<a class="jxr_linenumber" name="596" href="#596">596</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="597" href="#597">597</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoding.html">DataBlockEncoding</a> getDataBlockEncoding() {
+<a class="jxr_linenumber" name="598" href="#598">598</a>     String type = getValue(DATA_BLOCK_ENCODING);
+<a class="jxr_linenumber" name="599" href="#599">599</a>     <strong class="jxr_keyword">if</strong> (type == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="600" href="#600">600</a>       type = DEFAULT_DATA_BLOCK_ENCODING;
+<a class="jxr_linenumber" name="601" href="#601">601</a>     }
+<a class="jxr_linenumber" name="602" href="#602">602</a>     <strong class="jxr_keyword">return</strong> DataBlockEncoding.valueOf(type);
+<a class="jxr_linenumber" name="603" href="#603">603</a>   }
+<a class="jxr_linenumber" name="604" href="#604">604</a> 
+<a class="jxr_linenumber" name="605" href="#605">605</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="606" href="#606">606</a> <em class="jxr_javadoccomment">   * Set data block encoding algorithm used in block cache.</em>
+<a class="jxr_linenumber" name="607" href="#607">607</a> <em class="jxr_javadoccomment">   * @param type What kind of data block encoding will be used.</em>
+<a class="jxr_linenumber" name="608" href="#608">608</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
+<a class="jxr_linenumber" name="609" href="#609">609</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="610" href="#610">610</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setDataBlockEncoding(<a href="../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoding.html">DataBlockEncoding</a> type) {
+<a class="jxr_linenumber" name="611" href="#611">611</a>     String name;
+<a class="jxr_linenumber" name="612" href="#612">612</a>     <strong class="jxr_keyword">if</strong> (type != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="613" href="#613">613</a>       name = type.toString();
+<a class="jxr_linenumber" name="614" href="#614">614</a>     } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="615" href="#615">615</a>       name = DataBlockEncoding.NONE.toString();
+<a class="jxr_linenumber" name="616" href="#616">616</a>     }
+<a class="jxr_linenumber" name="617" href="#617">617</a>     <strong class="jxr_keyword">return</strong> setValue(DATA_BLOCK_ENCODING, name);
+<a class="jxr_linenumber" name="618" href="#618">618</a>   }
+<a class="jxr_linenumber" name="619" href="#619">619</a> 
+<a class="jxr_linenumber" name="620" href="#620">620</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="621" href="#621">621</a> <em class="jxr_javadoccomment">   * Set whether the tags should be compressed along with DataBlockEncoding. When no</em>
+<a class="jxr_linenumber" name="622" href="#622">622</a> <em class="jxr_javadoccomment">   * DataBlockEncoding is been used, this is having no effect.</em>
+<a class="jxr_linenumber" name="623" href="#623">623</a> <em class="jxr_javadoccomment">   *</em>
+<a class="jxr_linenumber" name="624" href="#624">624</a> <em class="jxr_javadoccomment">   * @param compressTags</em>
+<a class="jxr_linenumber" name="625" href="#625">625</a> <em class="jxr_javadoccomment">   * @return this (for chained invocation)</em>
+<a class="jxr_linenumber" name="626" href="#626">626</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="627" href="#627">627</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/hadoop/hbase/HColumnDescriptor.html">HColumnDescriptor</a> setCompressTags(<strong class="jxr_keyword">boolean</strong> compressTags) {
+<a class="jxr_linenumber" name="628" href="#628">628</a>     <strong class="jxr_keyword">return</strong> setValue(COMPRESS_TAGS, String.valueOf(compressTags));
+<a class="jxr_linenumber" name="629" href="#629">629</a>   }
+<a class="jxr_linenumber" name="630" href="#630">630</a> 
+<a class="jxr_linenumber" name="631" href="#631">631</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="632" href="#632">632</a> <em class="jxr_javadoccomment">   * @return Whether KV tags should be compressed along with DataBlockEncoding. When no</em>
+<a class="jxr_linenumber" name="633" href="#633">633</a> <em class="jxr_javadoccomment">   *         DataBlockEncoding is been used, this is having no effect.</em>
+<a class="jxr_linenumber" name="634" href="#634">634</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="635" href="#635">635</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isCompressTags() {
+<a class="jxr_linenumber" name="636" href="#636">636</a>     String compressTagsStr = getValue(COMPRESS_TAGS);
+<a class="jxr_linenumber" name="637" href="#637">637</a>     <strong class="jxr_keyword">boolean</strong> compressTags = DEFAULT_COMPRESS_TAGS;
+<a class="jxr_linenumber" name="638" href="#638">638</a>     <strong class="jxr_keyword">if</strong> (compressTagsStr != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="639" href="#639">639</a>       compressTags = Boolean.parseBoolean(compressTagsStr);
+<a class="jxr_linenumber" name="640" href="#640">640</a>     }
+<a class="jxr_linenumber" name="641" href="#641">641</a>     <strong class="jxr_keyword">return</strong> compressTags;
+<a class="jxr_linenumber" name="642" href="#642">642</a>   }
+<a class="jxr_linenumber" name="643" href="#643">643</a> 
+<a class="jxr_linenumber" name="644" href="#644">644</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="645" href="#645">645</a> <em class="jxr_javadoccomment">   * @return Compression type setting.</em>
+<a class="jxr_linenumber" name="646" href="#646">646</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="647" href="#647">647</a>   <strong class="jxr_keyword">public</strong> Compression.Algorithm getCompactionCompressionType() {
+<a class="jxr_linenumber" name="648" href="#648">648</a>     String n = getValue(COMPRESSION_COMPACT);
+<a class="jxr_linenumber" name="649" href="#649">649</a>     <strong class="jxr_keyword">if</strong> (n == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="650" href="#650">650</a>       <strong class="jxr_keyword">return</strong> getCompressionType();
+<a class="jxr_linenumber" name="651" href="#651">651</a>     }
+<a class="jxr_linenumber" name="652" href="#652">652</a>     <strong class

<TRUNCATED>

Mime
View raw message