hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [25/51] [partial] hbase-site git commit: Published site at .
Date Sat, 16 Dec 2017 15:18:13 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c4c0cfa5/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html
index 722c776..d9bde07 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html
@@ -308,23 +308,24 @@
 <span class="sourceLineNo">300</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.300"></a>
 <span class="sourceLineNo">301</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.301"></a>
 <span class="sourceLineNo">302</span>   */<a name="line.302"></a>
-<span class="sourceLineNo">303</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.303"></a>
-<span class="sourceLineNo">304</span>    if (o == this) return true;<a name="line.304"></a>
-<span class="sourceLineNo">305</span>    if (!(o instanceof CompareFilter)) return false;<a name="line.305"></a>
-<span class="sourceLineNo">306</span>    CompareFilter other = (CompareFilter)o;<a name="line.306"></a>
-<span class="sourceLineNo">307</span>    return this.getCompareOperator().equals(other.getCompareOperator()) &amp;&amp;<a name="line.307"></a>
-<span class="sourceLineNo">308</span>      (this.getComparator() == other.getComparator()<a name="line.308"></a>
-<span class="sourceLineNo">309</span>        || this.getComparator().areSerializedFieldsEqual(other.getComparator()));<a name="line.309"></a>
-<span class="sourceLineNo">310</span>  }<a name="line.310"></a>
-<span class="sourceLineNo">311</span><a name="line.311"></a>
-<span class="sourceLineNo">312</span>  @Override<a name="line.312"></a>
-<span class="sourceLineNo">313</span>  public String toString() {<a name="line.313"></a>
-<span class="sourceLineNo">314</span>    return String.format("%s (%s, %s)",<a name="line.314"></a>
-<span class="sourceLineNo">315</span>        this.getClass().getSimpleName(),<a name="line.315"></a>
-<span class="sourceLineNo">316</span>        this.op.name(),<a name="line.316"></a>
-<span class="sourceLineNo">317</span>        Bytes.toStringBinary(this.comparator.getValue()));<a name="line.317"></a>
-<span class="sourceLineNo">318</span>  }<a name="line.318"></a>
-<span class="sourceLineNo">319</span>}<a name="line.319"></a>
+<span class="sourceLineNo">303</span>  @Override<a name="line.303"></a>
+<span class="sourceLineNo">304</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.304"></a>
+<span class="sourceLineNo">305</span>    if (o == this) return true;<a name="line.305"></a>
+<span class="sourceLineNo">306</span>    if (!(o instanceof CompareFilter)) return false;<a name="line.306"></a>
+<span class="sourceLineNo">307</span>    CompareFilter other = (CompareFilter)o;<a name="line.307"></a>
+<span class="sourceLineNo">308</span>    return this.getCompareOperator().equals(other.getCompareOperator()) &amp;&amp;<a name="line.308"></a>
+<span class="sourceLineNo">309</span>      (this.getComparator() == other.getComparator()<a name="line.309"></a>
+<span class="sourceLineNo">310</span>        || this.getComparator().areSerializedFieldsEqual(other.getComparator()));<a name="line.310"></a>
+<span class="sourceLineNo">311</span>  }<a name="line.311"></a>
+<span class="sourceLineNo">312</span><a name="line.312"></a>
+<span class="sourceLineNo">313</span>  @Override<a name="line.313"></a>
+<span class="sourceLineNo">314</span>  public String toString() {<a name="line.314"></a>
+<span class="sourceLineNo">315</span>    return String.format("%s (%s, %s)",<a name="line.315"></a>
+<span class="sourceLineNo">316</span>        this.getClass().getSimpleName(),<a name="line.316"></a>
+<span class="sourceLineNo">317</span>        this.op.name(),<a name="line.317"></a>
+<span class="sourceLineNo">318</span>        Bytes.toStringBinary(this.comparator.getValue()));<a name="line.318"></a>
+<span class="sourceLineNo">319</span>  }<a name="line.319"></a>
+<span class="sourceLineNo">320</span>}<a name="line.320"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c4c0cfa5/apidocs/src-html/org/apache/hadoop/hbase/filter/DependentColumnFilter.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/DependentColumnFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/DependentColumnFilter.html
index a012923..5c26c6e 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/DependentColumnFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/DependentColumnFilter.html
@@ -245,79 +245,81 @@
 <span class="sourceLineNo">237</span>  /**<a name="line.237"></a>
 <span class="sourceLineNo">238</span>   * @return The filter serialized using pb<a name="line.238"></a>
 <span class="sourceLineNo">239</span>   */<a name="line.239"></a>
-<span class="sourceLineNo">240</span>  public byte [] toByteArray() {<a name="line.240"></a>
-<span class="sourceLineNo">241</span>    FilterProtos.DependentColumnFilter.Builder builder =<a name="line.241"></a>
-<span class="sourceLineNo">242</span>      FilterProtos.DependentColumnFilter.newBuilder();<a name="line.242"></a>
-<span class="sourceLineNo">243</span>    builder.setCompareFilter(super.convert());<a name="line.243"></a>
-<span class="sourceLineNo">244</span>    if (this.columnFamily != null) {<a name="line.244"></a>
-<span class="sourceLineNo">245</span>      builder.setColumnFamily(UnsafeByteOperations.unsafeWrap(this.columnFamily));<a name="line.245"></a>
-<span class="sourceLineNo">246</span>    }<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    if (this.columnQualifier != null) {<a name="line.247"></a>
-<span class="sourceLineNo">248</span>      builder.setColumnQualifier(UnsafeByteOperations.unsafeWrap(this.columnQualifier));<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    }<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    builder.setDropDependentColumn(this.dropDependentColumn);<a name="line.250"></a>
-<span class="sourceLineNo">251</span>    return builder.build().toByteArray();<a name="line.251"></a>
-<span class="sourceLineNo">252</span>  }<a name="line.252"></a>
-<span class="sourceLineNo">253</span><a name="line.253"></a>
-<span class="sourceLineNo">254</span>  /**<a name="line.254"></a>
-<span class="sourceLineNo">255</span>   * @param pbBytes A pb serialized {@link DependentColumnFilter} instance<a name="line.255"></a>
-<span class="sourceLineNo">256</span>   * @return An instance of {@link DependentColumnFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.256"></a>
-<span class="sourceLineNo">257</span>   * @throws DeserializationException<a name="line.257"></a>
-<span class="sourceLineNo">258</span>   * @see #toByteArray<a name="line.258"></a>
-<span class="sourceLineNo">259</span>   */<a name="line.259"></a>
-<span class="sourceLineNo">260</span>  public static DependentColumnFilter parseFrom(final byte [] pbBytes)<a name="line.260"></a>
-<span class="sourceLineNo">261</span>  throws DeserializationException {<a name="line.261"></a>
-<span class="sourceLineNo">262</span>    FilterProtos.DependentColumnFilter proto;<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    try {<a name="line.263"></a>
-<span class="sourceLineNo">264</span>      proto = FilterProtos.DependentColumnFilter.parseFrom(pbBytes);<a name="line.264"></a>
-<span class="sourceLineNo">265</span>    } catch (InvalidProtocolBufferException e) {<a name="line.265"></a>
-<span class="sourceLineNo">266</span>      throw new DeserializationException(e);<a name="line.266"></a>
-<span class="sourceLineNo">267</span>    }<a name="line.267"></a>
-<span class="sourceLineNo">268</span>    final CompareOperator valueCompareOp =<a name="line.268"></a>
-<span class="sourceLineNo">269</span>    CompareOperator.valueOf(proto.getCompareFilter().getCompareOp().name());<a name="line.269"></a>
-<span class="sourceLineNo">270</span>    ByteArrayComparable valueComparator = null;<a name="line.270"></a>
-<span class="sourceLineNo">271</span>    try {<a name="line.271"></a>
-<span class="sourceLineNo">272</span>      if (proto.getCompareFilter().hasComparator()) {<a name="line.272"></a>
-<span class="sourceLineNo">273</span>        valueComparator = ProtobufUtil.toComparator(proto.getCompareFilter().getComparator());<a name="line.273"></a>
-<span class="sourceLineNo">274</span>      }<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    } catch (IOException ioe) {<a name="line.275"></a>
-<span class="sourceLineNo">276</span>      throw new DeserializationException(ioe);<a name="line.276"></a>
-<span class="sourceLineNo">277</span>    }<a name="line.277"></a>
-<span class="sourceLineNo">278</span>    return new DependentColumnFilter(<a name="line.278"></a>
-<span class="sourceLineNo">279</span>      proto.hasColumnFamily()?proto.getColumnFamily().toByteArray():null,<a name="line.279"></a>
-<span class="sourceLineNo">280</span>      proto.hasColumnQualifier()?proto.getColumnQualifier().toByteArray():null,<a name="line.280"></a>
-<span class="sourceLineNo">281</span>      proto.getDropDependentColumn(), valueCompareOp, valueComparator);<a name="line.281"></a>
-<span class="sourceLineNo">282</span>  }<a name="line.282"></a>
-<span class="sourceLineNo">283</span><a name="line.283"></a>
-<span class="sourceLineNo">284</span>  /**<a name="line.284"></a>
-<span class="sourceLineNo">285</span>   * @param o<a name="line.285"></a>
-<span class="sourceLineNo">286</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.286"></a>
-<span class="sourceLineNo">287</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.287"></a>
-<span class="sourceLineNo">288</span>   */<a name="line.288"></a>
-<span class="sourceLineNo">289</span>  @edu.umd.cs.findbugs.annotations.SuppressWarnings(<a name="line.289"></a>
-<span class="sourceLineNo">290</span>      value="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE")<a name="line.290"></a>
-<span class="sourceLineNo">291</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    if (o == this) return true;<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    if (!(o instanceof DependentColumnFilter)) return false;<a name="line.293"></a>
-<span class="sourceLineNo">294</span><a name="line.294"></a>
-<span class="sourceLineNo">295</span>    DependentColumnFilter other = (DependentColumnFilter)o;<a name="line.295"></a>
-<span class="sourceLineNo">296</span>    return other != null &amp;&amp; super.areSerializedFieldsEqual(other)<a name="line.296"></a>
-<span class="sourceLineNo">297</span>      &amp;&amp; Bytes.equals(this.getFamily(), other.getFamily())<a name="line.297"></a>
-<span class="sourceLineNo">298</span>      &amp;&amp; Bytes.equals(this.getQualifier(), other.getQualifier())<a name="line.298"></a>
-<span class="sourceLineNo">299</span>      &amp;&amp; this.dropDependentColumn() == other.dropDependentColumn();<a name="line.299"></a>
-<span class="sourceLineNo">300</span>  }<a name="line.300"></a>
-<span class="sourceLineNo">301</span><a name="line.301"></a>
-<span class="sourceLineNo">302</span>  @Override<a name="line.302"></a>
-<span class="sourceLineNo">303</span>  public String toString() {<a name="line.303"></a>
-<span class="sourceLineNo">304</span>    return String.format("%s (%s, %s, %s, %s, %s)",<a name="line.304"></a>
-<span class="sourceLineNo">305</span>        this.getClass().getSimpleName(),<a name="line.305"></a>
-<span class="sourceLineNo">306</span>        Bytes.toStringBinary(this.columnFamily),<a name="line.306"></a>
-<span class="sourceLineNo">307</span>        Bytes.toStringBinary(this.columnQualifier),<a name="line.307"></a>
-<span class="sourceLineNo">308</span>        this.dropDependentColumn,<a name="line.308"></a>
-<span class="sourceLineNo">309</span>        this.op.name(),<a name="line.309"></a>
-<span class="sourceLineNo">310</span>        this.comparator != null ? Bytes.toStringBinary(this.comparator.getValue()) : "null");<a name="line.310"></a>
-<span class="sourceLineNo">311</span>  }<a name="line.311"></a>
-<span class="sourceLineNo">312</span>}<a name="line.312"></a>
+<span class="sourceLineNo">240</span>  @Override<a name="line.240"></a>
+<span class="sourceLineNo">241</span>  public byte [] toByteArray() {<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    FilterProtos.DependentColumnFilter.Builder builder =<a name="line.242"></a>
+<span class="sourceLineNo">243</span>      FilterProtos.DependentColumnFilter.newBuilder();<a name="line.243"></a>
+<span class="sourceLineNo">244</span>    builder.setCompareFilter(super.convert());<a name="line.244"></a>
+<span class="sourceLineNo">245</span>    if (this.columnFamily != null) {<a name="line.245"></a>
+<span class="sourceLineNo">246</span>      builder.setColumnFamily(UnsafeByteOperations.unsafeWrap(this.columnFamily));<a name="line.246"></a>
+<span class="sourceLineNo">247</span>    }<a name="line.247"></a>
+<span class="sourceLineNo">248</span>    if (this.columnQualifier != null) {<a name="line.248"></a>
+<span class="sourceLineNo">249</span>      builder.setColumnQualifier(UnsafeByteOperations.unsafeWrap(this.columnQualifier));<a name="line.249"></a>
+<span class="sourceLineNo">250</span>    }<a name="line.250"></a>
+<span class="sourceLineNo">251</span>    builder.setDropDependentColumn(this.dropDependentColumn);<a name="line.251"></a>
+<span class="sourceLineNo">252</span>    return builder.build().toByteArray();<a name="line.252"></a>
+<span class="sourceLineNo">253</span>  }<a name="line.253"></a>
+<span class="sourceLineNo">254</span><a name="line.254"></a>
+<span class="sourceLineNo">255</span>  /**<a name="line.255"></a>
+<span class="sourceLineNo">256</span>   * @param pbBytes A pb serialized {@link DependentColumnFilter} instance<a name="line.256"></a>
+<span class="sourceLineNo">257</span>   * @return An instance of {@link DependentColumnFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.257"></a>
+<span class="sourceLineNo">258</span>   * @throws DeserializationException<a name="line.258"></a>
+<span class="sourceLineNo">259</span>   * @see #toByteArray<a name="line.259"></a>
+<span class="sourceLineNo">260</span>   */<a name="line.260"></a>
+<span class="sourceLineNo">261</span>  public static DependentColumnFilter parseFrom(final byte [] pbBytes)<a name="line.261"></a>
+<span class="sourceLineNo">262</span>  throws DeserializationException {<a name="line.262"></a>
+<span class="sourceLineNo">263</span>    FilterProtos.DependentColumnFilter proto;<a name="line.263"></a>
+<span class="sourceLineNo">264</span>    try {<a name="line.264"></a>
+<span class="sourceLineNo">265</span>      proto = FilterProtos.DependentColumnFilter.parseFrom(pbBytes);<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    } catch (InvalidProtocolBufferException e) {<a name="line.266"></a>
+<span class="sourceLineNo">267</span>      throw new DeserializationException(e);<a name="line.267"></a>
+<span class="sourceLineNo">268</span>    }<a name="line.268"></a>
+<span class="sourceLineNo">269</span>    final CompareOperator valueCompareOp =<a name="line.269"></a>
+<span class="sourceLineNo">270</span>    CompareOperator.valueOf(proto.getCompareFilter().getCompareOp().name());<a name="line.270"></a>
+<span class="sourceLineNo">271</span>    ByteArrayComparable valueComparator = null;<a name="line.271"></a>
+<span class="sourceLineNo">272</span>    try {<a name="line.272"></a>
+<span class="sourceLineNo">273</span>      if (proto.getCompareFilter().hasComparator()) {<a name="line.273"></a>
+<span class="sourceLineNo">274</span>        valueComparator = ProtobufUtil.toComparator(proto.getCompareFilter().getComparator());<a name="line.274"></a>
+<span class="sourceLineNo">275</span>      }<a name="line.275"></a>
+<span class="sourceLineNo">276</span>    } catch (IOException ioe) {<a name="line.276"></a>
+<span class="sourceLineNo">277</span>      throw new DeserializationException(ioe);<a name="line.277"></a>
+<span class="sourceLineNo">278</span>    }<a name="line.278"></a>
+<span class="sourceLineNo">279</span>    return new DependentColumnFilter(<a name="line.279"></a>
+<span class="sourceLineNo">280</span>      proto.hasColumnFamily()?proto.getColumnFamily().toByteArray():null,<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      proto.hasColumnQualifier()?proto.getColumnQualifier().toByteArray():null,<a name="line.281"></a>
+<span class="sourceLineNo">282</span>      proto.getDropDependentColumn(), valueCompareOp, valueComparator);<a name="line.282"></a>
+<span class="sourceLineNo">283</span>  }<a name="line.283"></a>
+<span class="sourceLineNo">284</span><a name="line.284"></a>
+<span class="sourceLineNo">285</span>  /**<a name="line.285"></a>
+<span class="sourceLineNo">286</span>   * @param o<a name="line.286"></a>
+<span class="sourceLineNo">287</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.287"></a>
+<span class="sourceLineNo">288</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.288"></a>
+<span class="sourceLineNo">289</span>   */<a name="line.289"></a>
+<span class="sourceLineNo">290</span>  @edu.umd.cs.findbugs.annotations.SuppressWarnings(<a name="line.290"></a>
+<span class="sourceLineNo">291</span>      value="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE")<a name="line.291"></a>
+<span class="sourceLineNo">292</span>  @Override<a name="line.292"></a>
+<span class="sourceLineNo">293</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.293"></a>
+<span class="sourceLineNo">294</span>    if (o == this) return true;<a name="line.294"></a>
+<span class="sourceLineNo">295</span>    if (!(o instanceof DependentColumnFilter)) return false;<a name="line.295"></a>
+<span class="sourceLineNo">296</span><a name="line.296"></a>
+<span class="sourceLineNo">297</span>    DependentColumnFilter other = (DependentColumnFilter)o;<a name="line.297"></a>
+<span class="sourceLineNo">298</span>    return other != null &amp;&amp; super.areSerializedFieldsEqual(other)<a name="line.298"></a>
+<span class="sourceLineNo">299</span>      &amp;&amp; Bytes.equals(this.getFamily(), other.getFamily())<a name="line.299"></a>
+<span class="sourceLineNo">300</span>      &amp;&amp; Bytes.equals(this.getQualifier(), other.getQualifier())<a name="line.300"></a>
+<span class="sourceLineNo">301</span>      &amp;&amp; this.dropDependentColumn() == other.dropDependentColumn();<a name="line.301"></a>
+<span class="sourceLineNo">302</span>  }<a name="line.302"></a>
+<span class="sourceLineNo">303</span><a name="line.303"></a>
+<span class="sourceLineNo">304</span>  @Override<a name="line.304"></a>
+<span class="sourceLineNo">305</span>  public String toString() {<a name="line.305"></a>
+<span class="sourceLineNo">306</span>    return String.format("%s (%s, %s, %s, %s, %s)",<a name="line.306"></a>
+<span class="sourceLineNo">307</span>        this.getClass().getSimpleName(),<a name="line.307"></a>
+<span class="sourceLineNo">308</span>        Bytes.toStringBinary(this.columnFamily),<a name="line.308"></a>
+<span class="sourceLineNo">309</span>        Bytes.toStringBinary(this.columnQualifier),<a name="line.309"></a>
+<span class="sourceLineNo">310</span>        this.dropDependentColumn,<a name="line.310"></a>
+<span class="sourceLineNo">311</span>        this.op.name(),<a name="line.311"></a>
+<span class="sourceLineNo">312</span>        this.comparator != null ? Bytes.toStringBinary(this.comparator.getValue()) : "null");<a name="line.312"></a>
+<span class="sourceLineNo">313</span>  }<a name="line.313"></a>
+<span class="sourceLineNo">314</span>}<a name="line.314"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c4c0cfa5/apidocs/src-html/org/apache/hadoop/hbase/filter/FamilyFilter.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/FamilyFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/FamilyFilter.html
index 3ba3064..d6b438d 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/FamilyFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/FamilyFilter.html
@@ -107,52 +107,54 @@
 <span class="sourceLineNo">099</span>  /**<a name="line.99"></a>
 <span class="sourceLineNo">100</span>   * @return The filter serialized using pb<a name="line.100"></a>
 <span class="sourceLineNo">101</span>   */<a name="line.101"></a>
-<span class="sourceLineNo">102</span>  public byte [] toByteArray() {<a name="line.102"></a>
-<span class="sourceLineNo">103</span>    FilterProtos.FamilyFilter.Builder builder =<a name="line.103"></a>
-<span class="sourceLineNo">104</span>      FilterProtos.FamilyFilter.newBuilder();<a name="line.104"></a>
-<span class="sourceLineNo">105</span>    builder.setCompareFilter(super.convert());<a name="line.105"></a>
-<span class="sourceLineNo">106</span>    return builder.build().toByteArray();<a name="line.106"></a>
-<span class="sourceLineNo">107</span>  }<a name="line.107"></a>
-<span class="sourceLineNo">108</span><a name="line.108"></a>
-<span class="sourceLineNo">109</span>  /**<a name="line.109"></a>
-<span class="sourceLineNo">110</span>   * @param pbBytes A pb serialized {@link FamilyFilter} instance<a name="line.110"></a>
-<span class="sourceLineNo">111</span>   * @return An instance of {@link FamilyFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.111"></a>
-<span class="sourceLineNo">112</span>   * @throws DeserializationException<a name="line.112"></a>
-<span class="sourceLineNo">113</span>   * @see #toByteArray<a name="line.113"></a>
-<span class="sourceLineNo">114</span>   */<a name="line.114"></a>
-<span class="sourceLineNo">115</span>  public static FamilyFilter parseFrom(final byte [] pbBytes)<a name="line.115"></a>
-<span class="sourceLineNo">116</span>  throws DeserializationException {<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    FilterProtos.FamilyFilter proto;<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    try {<a name="line.118"></a>
-<span class="sourceLineNo">119</span>      proto = FilterProtos.FamilyFilter.parseFrom(pbBytes);<a name="line.119"></a>
-<span class="sourceLineNo">120</span>    } catch (InvalidProtocolBufferException e) {<a name="line.120"></a>
-<span class="sourceLineNo">121</span>      throw new DeserializationException(e);<a name="line.121"></a>
-<span class="sourceLineNo">122</span>    }<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    final CompareOperator valueCompareOp =<a name="line.123"></a>
-<span class="sourceLineNo">124</span>      CompareOperator.valueOf(proto.getCompareFilter().getCompareOp().name());<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    ByteArrayComparable valueComparator = null;<a name="line.125"></a>
-<span class="sourceLineNo">126</span>    try {<a name="line.126"></a>
-<span class="sourceLineNo">127</span>      if (proto.getCompareFilter().hasComparator()) {<a name="line.127"></a>
-<span class="sourceLineNo">128</span>        valueComparator = ProtobufUtil.toComparator(proto.getCompareFilter().getComparator());<a name="line.128"></a>
-<span class="sourceLineNo">129</span>      }<a name="line.129"></a>
-<span class="sourceLineNo">130</span>    } catch (IOException ioe) {<a name="line.130"></a>
-<span class="sourceLineNo">131</span>      throw new DeserializationException(ioe);<a name="line.131"></a>
-<span class="sourceLineNo">132</span>    }<a name="line.132"></a>
-<span class="sourceLineNo">133</span>    return new FamilyFilter(valueCompareOp,valueComparator);<a name="line.133"></a>
-<span class="sourceLineNo">134</span>  }<a name="line.134"></a>
-<span class="sourceLineNo">135</span><a name="line.135"></a>
-<span class="sourceLineNo">136</span>  /**<a name="line.136"></a>
-<span class="sourceLineNo">137</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.137"></a>
-<span class="sourceLineNo">138</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.138"></a>
-<span class="sourceLineNo">139</span>   */<a name="line.139"></a>
-<span class="sourceLineNo">140</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.140"></a>
-<span class="sourceLineNo">141</span>    if (o == this) return true;<a name="line.141"></a>
-<span class="sourceLineNo">142</span>    if (!(o instanceof FamilyFilter)) return false;<a name="line.142"></a>
-<span class="sourceLineNo">143</span><a name="line.143"></a>
-<span class="sourceLineNo">144</span>    FamilyFilter other = (FamilyFilter)o;<a name="line.144"></a>
-<span class="sourceLineNo">145</span>    return super.areSerializedFieldsEqual(other);<a name="line.145"></a>
-<span class="sourceLineNo">146</span> }<a name="line.146"></a>
-<span class="sourceLineNo">147</span>}<a name="line.147"></a>
+<span class="sourceLineNo">102</span>  @Override<a name="line.102"></a>
+<span class="sourceLineNo">103</span>  public byte [] toByteArray() {<a name="line.103"></a>
+<span class="sourceLineNo">104</span>    FilterProtos.FamilyFilter.Builder builder =<a name="line.104"></a>
+<span class="sourceLineNo">105</span>      FilterProtos.FamilyFilter.newBuilder();<a name="line.105"></a>
+<span class="sourceLineNo">106</span>    builder.setCompareFilter(super.convert());<a name="line.106"></a>
+<span class="sourceLineNo">107</span>    return builder.build().toByteArray();<a name="line.107"></a>
+<span class="sourceLineNo">108</span>  }<a name="line.108"></a>
+<span class="sourceLineNo">109</span><a name="line.109"></a>
+<span class="sourceLineNo">110</span>  /**<a name="line.110"></a>
+<span class="sourceLineNo">111</span>   * @param pbBytes A pb serialized {@link FamilyFilter} instance<a name="line.111"></a>
+<span class="sourceLineNo">112</span>   * @return An instance of {@link FamilyFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.112"></a>
+<span class="sourceLineNo">113</span>   * @throws DeserializationException<a name="line.113"></a>
+<span class="sourceLineNo">114</span>   * @see #toByteArray<a name="line.114"></a>
+<span class="sourceLineNo">115</span>   */<a name="line.115"></a>
+<span class="sourceLineNo">116</span>  public static FamilyFilter parseFrom(final byte [] pbBytes)<a name="line.116"></a>
+<span class="sourceLineNo">117</span>  throws DeserializationException {<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    FilterProtos.FamilyFilter proto;<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    try {<a name="line.119"></a>
+<span class="sourceLineNo">120</span>      proto = FilterProtos.FamilyFilter.parseFrom(pbBytes);<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    } catch (InvalidProtocolBufferException e) {<a name="line.121"></a>
+<span class="sourceLineNo">122</span>      throw new DeserializationException(e);<a name="line.122"></a>
+<span class="sourceLineNo">123</span>    }<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    final CompareOperator valueCompareOp =<a name="line.124"></a>
+<span class="sourceLineNo">125</span>      CompareOperator.valueOf(proto.getCompareFilter().getCompareOp().name());<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    ByteArrayComparable valueComparator = null;<a name="line.126"></a>
+<span class="sourceLineNo">127</span>    try {<a name="line.127"></a>
+<span class="sourceLineNo">128</span>      if (proto.getCompareFilter().hasComparator()) {<a name="line.128"></a>
+<span class="sourceLineNo">129</span>        valueComparator = ProtobufUtil.toComparator(proto.getCompareFilter().getComparator());<a name="line.129"></a>
+<span class="sourceLineNo">130</span>      }<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    } catch (IOException ioe) {<a name="line.131"></a>
+<span class="sourceLineNo">132</span>      throw new DeserializationException(ioe);<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    }<a name="line.133"></a>
+<span class="sourceLineNo">134</span>    return new FamilyFilter(valueCompareOp,valueComparator);<a name="line.134"></a>
+<span class="sourceLineNo">135</span>  }<a name="line.135"></a>
+<span class="sourceLineNo">136</span><a name="line.136"></a>
+<span class="sourceLineNo">137</span>  /**<a name="line.137"></a>
+<span class="sourceLineNo">138</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.138"></a>
+<span class="sourceLineNo">139</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.139"></a>
+<span class="sourceLineNo">140</span>   */<a name="line.140"></a>
+<span class="sourceLineNo">141</span>  @Override<a name="line.141"></a>
+<span class="sourceLineNo">142</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    if (o == this) return true;<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    if (!(o instanceof FamilyFilter)) return false;<a name="line.144"></a>
+<span class="sourceLineNo">145</span><a name="line.145"></a>
+<span class="sourceLineNo">146</span>    FamilyFilter other = (FamilyFilter)o;<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    return super.areSerializedFieldsEqual(other);<a name="line.147"></a>
+<span class="sourceLineNo">148</span> }<a name="line.148"></a>
+<span class="sourceLineNo">149</span>}<a name="line.149"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c4c0cfa5/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.Operator.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.Operator.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.Operator.html
index 831ba3f..cb7076d 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.Operator.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.Operator.html
@@ -206,83 +206,85 @@
 <span class="sourceLineNo">198</span>  /**<a name="line.198"></a>
 <span class="sourceLineNo">199</span>   * @return The filter serialized using pb<a name="line.199"></a>
 <span class="sourceLineNo">200</span>   */<a name="line.200"></a>
-<span class="sourceLineNo">201</span>  public byte[] toByteArray() throws IOException {<a name="line.201"></a>
-<span class="sourceLineNo">202</span>    FilterProtos.FilterList.Builder builder = FilterProtos.FilterList.newBuilder();<a name="line.202"></a>
-<span class="sourceLineNo">203</span>    builder.setOperator(FilterProtos.FilterList.Operator.valueOf(operator.name()));<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    ArrayList&lt;Filter&gt; filters = filterListBase.getFilters();<a name="line.204"></a>
-<span class="sourceLineNo">205</span>    for (int i = 0, n = filters.size(); i &lt; n; i++) {<a name="line.205"></a>
-<span class="sourceLineNo">206</span>      builder.addFilters(ProtobufUtil.toFilter(filters.get(i)));<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    }<a name="line.207"></a>
-<span class="sourceLineNo">208</span>    return builder.build().toByteArray();<a name="line.208"></a>
-<span class="sourceLineNo">209</span>  }<a name="line.209"></a>
-<span class="sourceLineNo">210</span><a name="line.210"></a>
-<span class="sourceLineNo">211</span>  /**<a name="line.211"></a>
-<span class="sourceLineNo">212</span>   * @param pbBytes A pb serialized {@link FilterList} instance<a name="line.212"></a>
-<span class="sourceLineNo">213</span>   * @return An instance of {@link FilterList} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.213"></a>
-<span class="sourceLineNo">214</span>   * @throws DeserializationException<a name="line.214"></a>
-<span class="sourceLineNo">215</span>   * @see #toByteArray<a name="line.215"></a>
-<span class="sourceLineNo">216</span>   */<a name="line.216"></a>
-<span class="sourceLineNo">217</span>  public static FilterList parseFrom(final byte[] pbBytes) throws DeserializationException {<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    FilterProtos.FilterList proto;<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    try {<a name="line.219"></a>
-<span class="sourceLineNo">220</span>      proto = FilterProtos.FilterList.parseFrom(pbBytes);<a name="line.220"></a>
-<span class="sourceLineNo">221</span>    } catch (InvalidProtocolBufferException e) {<a name="line.221"></a>
-<span class="sourceLineNo">222</span>      throw new DeserializationException(e);<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    }<a name="line.223"></a>
-<span class="sourceLineNo">224</span><a name="line.224"></a>
-<span class="sourceLineNo">225</span>    List&lt;Filter&gt; rowFilters = new ArrayList&lt;&gt;(proto.getFiltersCount());<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    try {<a name="line.226"></a>
-<span class="sourceLineNo">227</span>      List&lt;FilterProtos.Filter&gt; filtersList = proto.getFiltersList();<a name="line.227"></a>
-<span class="sourceLineNo">228</span>      for (int i = 0, n = filtersList.size(); i &lt; n; i++) {<a name="line.228"></a>
-<span class="sourceLineNo">229</span>        rowFilters.add(ProtobufUtil.toFilter(filtersList.get(i)));<a name="line.229"></a>
-<span class="sourceLineNo">230</span>      }<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    } catch (IOException ioe) {<a name="line.231"></a>
-<span class="sourceLineNo">232</span>      throw new DeserializationException(ioe);<a name="line.232"></a>
-<span class="sourceLineNo">233</span>    }<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    return new FilterList(Operator.valueOf(proto.getOperator().name()), rowFilters);<a name="line.234"></a>
-<span class="sourceLineNo">235</span>  }<a name="line.235"></a>
-<span class="sourceLineNo">236</span><a name="line.236"></a>
-<span class="sourceLineNo">237</span>  /**<a name="line.237"></a>
-<span class="sourceLineNo">238</span>   * @param other<a name="line.238"></a>
-<span class="sourceLineNo">239</span>   * @return true if and only if the fields of the filter that are serialized are equal to the<a name="line.239"></a>
-<span class="sourceLineNo">240</span>   *         corresponding fields in other. Used for testing.<a name="line.240"></a>
-<span class="sourceLineNo">241</span>   */<a name="line.241"></a>
-<span class="sourceLineNo">242</span>  boolean areSerializedFieldsEqual(Filter other) {<a name="line.242"></a>
-<span class="sourceLineNo">243</span>    if (other == this) return true;<a name="line.243"></a>
-<span class="sourceLineNo">244</span>    if (!(other instanceof FilterList)) return false;<a name="line.244"></a>
-<span class="sourceLineNo">245</span><a name="line.245"></a>
-<span class="sourceLineNo">246</span>    FilterList o = (FilterList) other;<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    return this.getOperator().equals(o.getOperator())<a name="line.247"></a>
-<span class="sourceLineNo">248</span>        &amp;&amp; ((this.getFilters() == o.getFilters()) || this.getFilters().equals(o.getFilters()));<a name="line.248"></a>
-<span class="sourceLineNo">249</span>  }<a name="line.249"></a>
-<span class="sourceLineNo">250</span><a name="line.250"></a>
-<span class="sourceLineNo">251</span>  @Override<a name="line.251"></a>
-<span class="sourceLineNo">252</span>  public Cell getNextCellHint(Cell currentCell) throws IOException {<a name="line.252"></a>
-<span class="sourceLineNo">253</span>    return this.filterListBase.getNextCellHint(currentCell);<a name="line.253"></a>
-<span class="sourceLineNo">254</span>  }<a name="line.254"></a>
-<span class="sourceLineNo">255</span><a name="line.255"></a>
-<span class="sourceLineNo">256</span>  @Override<a name="line.256"></a>
-<span class="sourceLineNo">257</span>  public boolean isFamilyEssential(byte[] name) throws IOException {<a name="line.257"></a>
-<span class="sourceLineNo">258</span>    return this.filterListBase.isFamilyEssential(name);<a name="line.258"></a>
-<span class="sourceLineNo">259</span>  }<a name="line.259"></a>
-<span class="sourceLineNo">260</span><a name="line.260"></a>
-<span class="sourceLineNo">261</span>  @Override<a name="line.261"></a>
-<span class="sourceLineNo">262</span>  public void setReversed(boolean reversed) {<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    this.reversed = reversed;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    this.filterListBase.setReversed(reversed);<a name="line.264"></a>
-<span class="sourceLineNo">265</span>  }<a name="line.265"></a>
-<span class="sourceLineNo">266</span><a name="line.266"></a>
-<span class="sourceLineNo">267</span>  @Override<a name="line.267"></a>
-<span class="sourceLineNo">268</span>  public boolean isReversed() {<a name="line.268"></a>
-<span class="sourceLineNo">269</span>    assert this.reversed == this.filterListBase.isReversed();<a name="line.269"></a>
-<span class="sourceLineNo">270</span>    return this.reversed;<a name="line.270"></a>
-<span class="sourceLineNo">271</span>  }<a name="line.271"></a>
-<span class="sourceLineNo">272</span><a name="line.272"></a>
-<span class="sourceLineNo">273</span>  @Override<a name="line.273"></a>
-<span class="sourceLineNo">274</span>  public String toString() {<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    return this.filterListBase.toString();<a name="line.275"></a>
-<span class="sourceLineNo">276</span>  }<a name="line.276"></a>
-<span class="sourceLineNo">277</span>}<a name="line.277"></a>
+<span class="sourceLineNo">201</span>  @Override<a name="line.201"></a>
+<span class="sourceLineNo">202</span>  public byte[] toByteArray() throws IOException {<a name="line.202"></a>
+<span class="sourceLineNo">203</span>    FilterProtos.FilterList.Builder builder = FilterProtos.FilterList.newBuilder();<a name="line.203"></a>
+<span class="sourceLineNo">204</span>    builder.setOperator(FilterProtos.FilterList.Operator.valueOf(operator.name()));<a name="line.204"></a>
+<span class="sourceLineNo">205</span>    ArrayList&lt;Filter&gt; filters = filterListBase.getFilters();<a name="line.205"></a>
+<span class="sourceLineNo">206</span>    for (int i = 0, n = filters.size(); i &lt; n; i++) {<a name="line.206"></a>
+<span class="sourceLineNo">207</span>      builder.addFilters(ProtobufUtil.toFilter(filters.get(i)));<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    }<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    return builder.build().toByteArray();<a name="line.209"></a>
+<span class="sourceLineNo">210</span>  }<a name="line.210"></a>
+<span class="sourceLineNo">211</span><a name="line.211"></a>
+<span class="sourceLineNo">212</span>  /**<a name="line.212"></a>
+<span class="sourceLineNo">213</span>   * @param pbBytes A pb serialized {@link FilterList} instance<a name="line.213"></a>
+<span class="sourceLineNo">214</span>   * @return An instance of {@link FilterList} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.214"></a>
+<span class="sourceLineNo">215</span>   * @throws DeserializationException<a name="line.215"></a>
+<span class="sourceLineNo">216</span>   * @see #toByteArray<a name="line.216"></a>
+<span class="sourceLineNo">217</span>   */<a name="line.217"></a>
+<span class="sourceLineNo">218</span>  public static FilterList parseFrom(final byte[] pbBytes) throws DeserializationException {<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    FilterProtos.FilterList proto;<a name="line.219"></a>
+<span class="sourceLineNo">220</span>    try {<a name="line.220"></a>
+<span class="sourceLineNo">221</span>      proto = FilterProtos.FilterList.parseFrom(pbBytes);<a name="line.221"></a>
+<span class="sourceLineNo">222</span>    } catch (InvalidProtocolBufferException e) {<a name="line.222"></a>
+<span class="sourceLineNo">223</span>      throw new DeserializationException(e);<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    }<a name="line.224"></a>
+<span class="sourceLineNo">225</span><a name="line.225"></a>
+<span class="sourceLineNo">226</span>    List&lt;Filter&gt; rowFilters = new ArrayList&lt;&gt;(proto.getFiltersCount());<a name="line.226"></a>
+<span class="sourceLineNo">227</span>    try {<a name="line.227"></a>
+<span class="sourceLineNo">228</span>      List&lt;FilterProtos.Filter&gt; filtersList = proto.getFiltersList();<a name="line.228"></a>
+<span class="sourceLineNo">229</span>      for (int i = 0, n = filtersList.size(); i &lt; n; i++) {<a name="line.229"></a>
+<span class="sourceLineNo">230</span>        rowFilters.add(ProtobufUtil.toFilter(filtersList.get(i)));<a name="line.230"></a>
+<span class="sourceLineNo">231</span>      }<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    } catch (IOException ioe) {<a name="line.232"></a>
+<span class="sourceLineNo">233</span>      throw new DeserializationException(ioe);<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    }<a name="line.234"></a>
+<span class="sourceLineNo">235</span>    return new FilterList(Operator.valueOf(proto.getOperator().name()), rowFilters);<a name="line.235"></a>
+<span class="sourceLineNo">236</span>  }<a name="line.236"></a>
+<span class="sourceLineNo">237</span><a name="line.237"></a>
+<span class="sourceLineNo">238</span>  /**<a name="line.238"></a>
+<span class="sourceLineNo">239</span>   * @param other<a name="line.239"></a>
+<span class="sourceLineNo">240</span>   * @return true if and only if the fields of the filter that are serialized are equal to the<a name="line.240"></a>
+<span class="sourceLineNo">241</span>   *         corresponding fields in other. Used for testing.<a name="line.241"></a>
+<span class="sourceLineNo">242</span>   */<a name="line.242"></a>
+<span class="sourceLineNo">243</span>  @Override<a name="line.243"></a>
+<span class="sourceLineNo">244</span>  boolean areSerializedFieldsEqual(Filter other) {<a name="line.244"></a>
+<span class="sourceLineNo">245</span>    if (other == this) return true;<a name="line.245"></a>
+<span class="sourceLineNo">246</span>    if (!(other instanceof FilterList)) return false;<a name="line.246"></a>
+<span class="sourceLineNo">247</span><a name="line.247"></a>
+<span class="sourceLineNo">248</span>    FilterList o = (FilterList) other;<a name="line.248"></a>
+<span class="sourceLineNo">249</span>    return this.getOperator().equals(o.getOperator())<a name="line.249"></a>
+<span class="sourceLineNo">250</span>        &amp;&amp; ((this.getFilters() == o.getFilters()) || this.getFilters().equals(o.getFilters()));<a name="line.250"></a>
+<span class="sourceLineNo">251</span>  }<a name="line.251"></a>
+<span class="sourceLineNo">252</span><a name="line.252"></a>
+<span class="sourceLineNo">253</span>  @Override<a name="line.253"></a>
+<span class="sourceLineNo">254</span>  public Cell getNextCellHint(Cell currentCell) throws IOException {<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    return this.filterListBase.getNextCellHint(currentCell);<a name="line.255"></a>
+<span class="sourceLineNo">256</span>  }<a name="line.256"></a>
+<span class="sourceLineNo">257</span><a name="line.257"></a>
+<span class="sourceLineNo">258</span>  @Override<a name="line.258"></a>
+<span class="sourceLineNo">259</span>  public boolean isFamilyEssential(byte[] name) throws IOException {<a name="line.259"></a>
+<span class="sourceLineNo">260</span>    return this.filterListBase.isFamilyEssential(name);<a name="line.260"></a>
+<span class="sourceLineNo">261</span>  }<a name="line.261"></a>
+<span class="sourceLineNo">262</span><a name="line.262"></a>
+<span class="sourceLineNo">263</span>  @Override<a name="line.263"></a>
+<span class="sourceLineNo">264</span>  public void setReversed(boolean reversed) {<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    this.reversed = reversed;<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    this.filterListBase.setReversed(reversed);<a name="line.266"></a>
+<span class="sourceLineNo">267</span>  }<a name="line.267"></a>
+<span class="sourceLineNo">268</span><a name="line.268"></a>
+<span class="sourceLineNo">269</span>  @Override<a name="line.269"></a>
+<span class="sourceLineNo">270</span>  public boolean isReversed() {<a name="line.270"></a>
+<span class="sourceLineNo">271</span>    assert this.reversed == this.filterListBase.isReversed();<a name="line.271"></a>
+<span class="sourceLineNo">272</span>    return this.reversed;<a name="line.272"></a>
+<span class="sourceLineNo">273</span>  }<a name="line.273"></a>
+<span class="sourceLineNo">274</span><a name="line.274"></a>
+<span class="sourceLineNo">275</span>  @Override<a name="line.275"></a>
+<span class="sourceLineNo">276</span>  public String toString() {<a name="line.276"></a>
+<span class="sourceLineNo">277</span>    return this.filterListBase.toString();<a name="line.277"></a>
+<span class="sourceLineNo">278</span>  }<a name="line.278"></a>
+<span class="sourceLineNo">279</span>}<a name="line.279"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c4c0cfa5/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.html
index 831ba3f..cb7076d 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.html
@@ -206,83 +206,85 @@
 <span class="sourceLineNo">198</span>  /**<a name="line.198"></a>
 <span class="sourceLineNo">199</span>   * @return The filter serialized using pb<a name="line.199"></a>
 <span class="sourceLineNo">200</span>   */<a name="line.200"></a>
-<span class="sourceLineNo">201</span>  public byte[] toByteArray() throws IOException {<a name="line.201"></a>
-<span class="sourceLineNo">202</span>    FilterProtos.FilterList.Builder builder = FilterProtos.FilterList.newBuilder();<a name="line.202"></a>
-<span class="sourceLineNo">203</span>    builder.setOperator(FilterProtos.FilterList.Operator.valueOf(operator.name()));<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    ArrayList&lt;Filter&gt; filters = filterListBase.getFilters();<a name="line.204"></a>
-<span class="sourceLineNo">205</span>    for (int i = 0, n = filters.size(); i &lt; n; i++) {<a name="line.205"></a>
-<span class="sourceLineNo">206</span>      builder.addFilters(ProtobufUtil.toFilter(filters.get(i)));<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    }<a name="line.207"></a>
-<span class="sourceLineNo">208</span>    return builder.build().toByteArray();<a name="line.208"></a>
-<span class="sourceLineNo">209</span>  }<a name="line.209"></a>
-<span class="sourceLineNo">210</span><a name="line.210"></a>
-<span class="sourceLineNo">211</span>  /**<a name="line.211"></a>
-<span class="sourceLineNo">212</span>   * @param pbBytes A pb serialized {@link FilterList} instance<a name="line.212"></a>
-<span class="sourceLineNo">213</span>   * @return An instance of {@link FilterList} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.213"></a>
-<span class="sourceLineNo">214</span>   * @throws DeserializationException<a name="line.214"></a>
-<span class="sourceLineNo">215</span>   * @see #toByteArray<a name="line.215"></a>
-<span class="sourceLineNo">216</span>   */<a name="line.216"></a>
-<span class="sourceLineNo">217</span>  public static FilterList parseFrom(final byte[] pbBytes) throws DeserializationException {<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    FilterProtos.FilterList proto;<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    try {<a name="line.219"></a>
-<span class="sourceLineNo">220</span>      proto = FilterProtos.FilterList.parseFrom(pbBytes);<a name="line.220"></a>
-<span class="sourceLineNo">221</span>    } catch (InvalidProtocolBufferException e) {<a name="line.221"></a>
-<span class="sourceLineNo">222</span>      throw new DeserializationException(e);<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    }<a name="line.223"></a>
-<span class="sourceLineNo">224</span><a name="line.224"></a>
-<span class="sourceLineNo">225</span>    List&lt;Filter&gt; rowFilters = new ArrayList&lt;&gt;(proto.getFiltersCount());<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    try {<a name="line.226"></a>
-<span class="sourceLineNo">227</span>      List&lt;FilterProtos.Filter&gt; filtersList = proto.getFiltersList();<a name="line.227"></a>
-<span class="sourceLineNo">228</span>      for (int i = 0, n = filtersList.size(); i &lt; n; i++) {<a name="line.228"></a>
-<span class="sourceLineNo">229</span>        rowFilters.add(ProtobufUtil.toFilter(filtersList.get(i)));<a name="line.229"></a>
-<span class="sourceLineNo">230</span>      }<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    } catch (IOException ioe) {<a name="line.231"></a>
-<span class="sourceLineNo">232</span>      throw new DeserializationException(ioe);<a name="line.232"></a>
-<span class="sourceLineNo">233</span>    }<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    return new FilterList(Operator.valueOf(proto.getOperator().name()), rowFilters);<a name="line.234"></a>
-<span class="sourceLineNo">235</span>  }<a name="line.235"></a>
-<span class="sourceLineNo">236</span><a name="line.236"></a>
-<span class="sourceLineNo">237</span>  /**<a name="line.237"></a>
-<span class="sourceLineNo">238</span>   * @param other<a name="line.238"></a>
-<span class="sourceLineNo">239</span>   * @return true if and only if the fields of the filter that are serialized are equal to the<a name="line.239"></a>
-<span class="sourceLineNo">240</span>   *         corresponding fields in other. Used for testing.<a name="line.240"></a>
-<span class="sourceLineNo">241</span>   */<a name="line.241"></a>
-<span class="sourceLineNo">242</span>  boolean areSerializedFieldsEqual(Filter other) {<a name="line.242"></a>
-<span class="sourceLineNo">243</span>    if (other == this) return true;<a name="line.243"></a>
-<span class="sourceLineNo">244</span>    if (!(other instanceof FilterList)) return false;<a name="line.244"></a>
-<span class="sourceLineNo">245</span><a name="line.245"></a>
-<span class="sourceLineNo">246</span>    FilterList o = (FilterList) other;<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    return this.getOperator().equals(o.getOperator())<a name="line.247"></a>
-<span class="sourceLineNo">248</span>        &amp;&amp; ((this.getFilters() == o.getFilters()) || this.getFilters().equals(o.getFilters()));<a name="line.248"></a>
-<span class="sourceLineNo">249</span>  }<a name="line.249"></a>
-<span class="sourceLineNo">250</span><a name="line.250"></a>
-<span class="sourceLineNo">251</span>  @Override<a name="line.251"></a>
-<span class="sourceLineNo">252</span>  public Cell getNextCellHint(Cell currentCell) throws IOException {<a name="line.252"></a>
-<span class="sourceLineNo">253</span>    return this.filterListBase.getNextCellHint(currentCell);<a name="line.253"></a>
-<span class="sourceLineNo">254</span>  }<a name="line.254"></a>
-<span class="sourceLineNo">255</span><a name="line.255"></a>
-<span class="sourceLineNo">256</span>  @Override<a name="line.256"></a>
-<span class="sourceLineNo">257</span>  public boolean isFamilyEssential(byte[] name) throws IOException {<a name="line.257"></a>
-<span class="sourceLineNo">258</span>    return this.filterListBase.isFamilyEssential(name);<a name="line.258"></a>
-<span class="sourceLineNo">259</span>  }<a name="line.259"></a>
-<span class="sourceLineNo">260</span><a name="line.260"></a>
-<span class="sourceLineNo">261</span>  @Override<a name="line.261"></a>
-<span class="sourceLineNo">262</span>  public void setReversed(boolean reversed) {<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    this.reversed = reversed;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    this.filterListBase.setReversed(reversed);<a name="line.264"></a>
-<span class="sourceLineNo">265</span>  }<a name="line.265"></a>
-<span class="sourceLineNo">266</span><a name="line.266"></a>
-<span class="sourceLineNo">267</span>  @Override<a name="line.267"></a>
-<span class="sourceLineNo">268</span>  public boolean isReversed() {<a name="line.268"></a>
-<span class="sourceLineNo">269</span>    assert this.reversed == this.filterListBase.isReversed();<a name="line.269"></a>
-<span class="sourceLineNo">270</span>    return this.reversed;<a name="line.270"></a>
-<span class="sourceLineNo">271</span>  }<a name="line.271"></a>
-<span class="sourceLineNo">272</span><a name="line.272"></a>
-<span class="sourceLineNo">273</span>  @Override<a name="line.273"></a>
-<span class="sourceLineNo">274</span>  public String toString() {<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    return this.filterListBase.toString();<a name="line.275"></a>
-<span class="sourceLineNo">276</span>  }<a name="line.276"></a>
-<span class="sourceLineNo">277</span>}<a name="line.277"></a>
+<span class="sourceLineNo">201</span>  @Override<a name="line.201"></a>
+<span class="sourceLineNo">202</span>  public byte[] toByteArray() throws IOException {<a name="line.202"></a>
+<span class="sourceLineNo">203</span>    FilterProtos.FilterList.Builder builder = FilterProtos.FilterList.newBuilder();<a name="line.203"></a>
+<span class="sourceLineNo">204</span>    builder.setOperator(FilterProtos.FilterList.Operator.valueOf(operator.name()));<a name="line.204"></a>
+<span class="sourceLineNo">205</span>    ArrayList&lt;Filter&gt; filters = filterListBase.getFilters();<a name="line.205"></a>
+<span class="sourceLineNo">206</span>    for (int i = 0, n = filters.size(); i &lt; n; i++) {<a name="line.206"></a>
+<span class="sourceLineNo">207</span>      builder.addFilters(ProtobufUtil.toFilter(filters.get(i)));<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    }<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    return builder.build().toByteArray();<a name="line.209"></a>
+<span class="sourceLineNo">210</span>  }<a name="line.210"></a>
+<span class="sourceLineNo">211</span><a name="line.211"></a>
+<span class="sourceLineNo">212</span>  /**<a name="line.212"></a>
+<span class="sourceLineNo">213</span>   * @param pbBytes A pb serialized {@link FilterList} instance<a name="line.213"></a>
+<span class="sourceLineNo">214</span>   * @return An instance of {@link FilterList} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.214"></a>
+<span class="sourceLineNo">215</span>   * @throws DeserializationException<a name="line.215"></a>
+<span class="sourceLineNo">216</span>   * @see #toByteArray<a name="line.216"></a>
+<span class="sourceLineNo">217</span>   */<a name="line.217"></a>
+<span class="sourceLineNo">218</span>  public static FilterList parseFrom(final byte[] pbBytes) throws DeserializationException {<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    FilterProtos.FilterList proto;<a name="line.219"></a>
+<span class="sourceLineNo">220</span>    try {<a name="line.220"></a>
+<span class="sourceLineNo">221</span>      proto = FilterProtos.FilterList.parseFrom(pbBytes);<a name="line.221"></a>
+<span class="sourceLineNo">222</span>    } catch (InvalidProtocolBufferException e) {<a name="line.222"></a>
+<span class="sourceLineNo">223</span>      throw new DeserializationException(e);<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    }<a name="line.224"></a>
+<span class="sourceLineNo">225</span><a name="line.225"></a>
+<span class="sourceLineNo">226</span>    List&lt;Filter&gt; rowFilters = new ArrayList&lt;&gt;(proto.getFiltersCount());<a name="line.226"></a>
+<span class="sourceLineNo">227</span>    try {<a name="line.227"></a>
+<span class="sourceLineNo">228</span>      List&lt;FilterProtos.Filter&gt; filtersList = proto.getFiltersList();<a name="line.228"></a>
+<span class="sourceLineNo">229</span>      for (int i = 0, n = filtersList.size(); i &lt; n; i++) {<a name="line.229"></a>
+<span class="sourceLineNo">230</span>        rowFilters.add(ProtobufUtil.toFilter(filtersList.get(i)));<a name="line.230"></a>
+<span class="sourceLineNo">231</span>      }<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    } catch (IOException ioe) {<a name="line.232"></a>
+<span class="sourceLineNo">233</span>      throw new DeserializationException(ioe);<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    }<a name="line.234"></a>
+<span class="sourceLineNo">235</span>    return new FilterList(Operator.valueOf(proto.getOperator().name()), rowFilters);<a name="line.235"></a>
+<span class="sourceLineNo">236</span>  }<a name="line.236"></a>
+<span class="sourceLineNo">237</span><a name="line.237"></a>
+<span class="sourceLineNo">238</span>  /**<a name="line.238"></a>
+<span class="sourceLineNo">239</span>   * @param other<a name="line.239"></a>
+<span class="sourceLineNo">240</span>   * @return true if and only if the fields of the filter that are serialized are equal to the<a name="line.240"></a>
+<span class="sourceLineNo">241</span>   *         corresponding fields in other. Used for testing.<a name="line.241"></a>
+<span class="sourceLineNo">242</span>   */<a name="line.242"></a>
+<span class="sourceLineNo">243</span>  @Override<a name="line.243"></a>
+<span class="sourceLineNo">244</span>  boolean areSerializedFieldsEqual(Filter other) {<a name="line.244"></a>
+<span class="sourceLineNo">245</span>    if (other == this) return true;<a name="line.245"></a>
+<span class="sourceLineNo">246</span>    if (!(other instanceof FilterList)) return false;<a name="line.246"></a>
+<span class="sourceLineNo">247</span><a name="line.247"></a>
+<span class="sourceLineNo">248</span>    FilterList o = (FilterList) other;<a name="line.248"></a>
+<span class="sourceLineNo">249</span>    return this.getOperator().equals(o.getOperator())<a name="line.249"></a>
+<span class="sourceLineNo">250</span>        &amp;&amp; ((this.getFilters() == o.getFilters()) || this.getFilters().equals(o.getFilters()));<a name="line.250"></a>
+<span class="sourceLineNo">251</span>  }<a name="line.251"></a>
+<span class="sourceLineNo">252</span><a name="line.252"></a>
+<span class="sourceLineNo">253</span>  @Override<a name="line.253"></a>
+<span class="sourceLineNo">254</span>  public Cell getNextCellHint(Cell currentCell) throws IOException {<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    return this.filterListBase.getNextCellHint(currentCell);<a name="line.255"></a>
+<span class="sourceLineNo">256</span>  }<a name="line.256"></a>
+<span class="sourceLineNo">257</span><a name="line.257"></a>
+<span class="sourceLineNo">258</span>  @Override<a name="line.258"></a>
+<span class="sourceLineNo">259</span>  public boolean isFamilyEssential(byte[] name) throws IOException {<a name="line.259"></a>
+<span class="sourceLineNo">260</span>    return this.filterListBase.isFamilyEssential(name);<a name="line.260"></a>
+<span class="sourceLineNo">261</span>  }<a name="line.261"></a>
+<span class="sourceLineNo">262</span><a name="line.262"></a>
+<span class="sourceLineNo">263</span>  @Override<a name="line.263"></a>
+<span class="sourceLineNo">264</span>  public void setReversed(boolean reversed) {<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    this.reversed = reversed;<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    this.filterListBase.setReversed(reversed);<a name="line.266"></a>
+<span class="sourceLineNo">267</span>  }<a name="line.267"></a>
+<span class="sourceLineNo">268</span><a name="line.268"></a>
+<span class="sourceLineNo">269</span>  @Override<a name="line.269"></a>
+<span class="sourceLineNo">270</span>  public boolean isReversed() {<a name="line.270"></a>
+<span class="sourceLineNo">271</span>    assert this.reversed == this.filterListBase.isReversed();<a name="line.271"></a>
+<span class="sourceLineNo">272</span>    return this.reversed;<a name="line.272"></a>
+<span class="sourceLineNo">273</span>  }<a name="line.273"></a>
+<span class="sourceLineNo">274</span><a name="line.274"></a>
+<span class="sourceLineNo">275</span>  @Override<a name="line.275"></a>
+<span class="sourceLineNo">276</span>  public String toString() {<a name="line.276"></a>
+<span class="sourceLineNo">277</span>    return this.filterListBase.toString();<a name="line.277"></a>
+<span class="sourceLineNo">278</span>  }<a name="line.278"></a>
+<span class="sourceLineNo">279</span>}<a name="line.279"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c4c0cfa5/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyOnlyFilter.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyOnlyFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyOnlyFilter.html
index b2d188d..dbbf2d4 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyOnlyFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyOnlyFilter.html
@@ -49,89 +49,92 @@
 <span class="sourceLineNo">041</span>  public FirstKeyOnlyFilter() {<a name="line.41"></a>
 <span class="sourceLineNo">042</span>  }<a name="line.42"></a>
 <span class="sourceLineNo">043</span><a name="line.43"></a>
-<span class="sourceLineNo">044</span>  public void reset() {<a name="line.44"></a>
-<span class="sourceLineNo">045</span>    foundKV = false;<a name="line.45"></a>
-<span class="sourceLineNo">046</span>  }<a name="line.46"></a>
-<span class="sourceLineNo">047</span><a name="line.47"></a>
-<span class="sourceLineNo">048</span>  @Override<a name="line.48"></a>
-<span class="sourceLineNo">049</span>  public boolean filterRowKey(Cell cell) throws IOException {<a name="line.49"></a>
-<span class="sourceLineNo">050</span>    // Impl in FilterBase might do unnecessary copy for Off heap backed Cells.<a name="line.50"></a>
-<span class="sourceLineNo">051</span>    return false;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>  }<a name="line.52"></a>
-<span class="sourceLineNo">053</span><a name="line.53"></a>
-<span class="sourceLineNo">054</span>  @Deprecated<a name="line.54"></a>
-<span class="sourceLineNo">055</span>  @Override<a name="line.55"></a>
-<span class="sourceLineNo">056</span>  public ReturnCode filterKeyValue(final Cell c) {<a name="line.56"></a>
-<span class="sourceLineNo">057</span>    return filterCell(c);<a name="line.57"></a>
-<span class="sourceLineNo">058</span>  }<a name="line.58"></a>
-<span class="sourceLineNo">059</span><a name="line.59"></a>
-<span class="sourceLineNo">060</span>  @Override<a name="line.60"></a>
-<span class="sourceLineNo">061</span>  public ReturnCode filterCell(final Cell c) {<a name="line.61"></a>
-<span class="sourceLineNo">062</span>    if(foundKV) return ReturnCode.NEXT_ROW;<a name="line.62"></a>
-<span class="sourceLineNo">063</span>    foundKV = true;<a name="line.63"></a>
-<span class="sourceLineNo">064</span>    return ReturnCode.INCLUDE;<a name="line.64"></a>
-<span class="sourceLineNo">065</span>  }<a name="line.65"></a>
-<span class="sourceLineNo">066</span><a name="line.66"></a>
-<span class="sourceLineNo">067</span>  public static Filter createFilterFromArguments(ArrayList&lt;byte []&gt; filterArguments) {<a name="line.67"></a>
-<span class="sourceLineNo">068</span>    Preconditions.checkArgument(filterArguments.isEmpty(),<a name="line.68"></a>
-<span class="sourceLineNo">069</span>                                "Expected 0 but got: %s", filterArguments.size());<a name="line.69"></a>
-<span class="sourceLineNo">070</span>    return new FirstKeyOnlyFilter();<a name="line.70"></a>
-<span class="sourceLineNo">071</span>  }<a name="line.71"></a>
-<span class="sourceLineNo">072</span><a name="line.72"></a>
-<span class="sourceLineNo">073</span>  /**<a name="line.73"></a>
-<span class="sourceLineNo">074</span>   * @return true if first KV has been found.<a name="line.74"></a>
-<span class="sourceLineNo">075</span>   */<a name="line.75"></a>
-<span class="sourceLineNo">076</span>  protected boolean hasFoundKV() {<a name="line.76"></a>
-<span class="sourceLineNo">077</span>    return this.foundKV;<a name="line.77"></a>
-<span class="sourceLineNo">078</span>  }<a name="line.78"></a>
-<span class="sourceLineNo">079</span><a name="line.79"></a>
-<span class="sourceLineNo">080</span>  /**<a name="line.80"></a>
-<span class="sourceLineNo">081</span>   *<a name="line.81"></a>
-<span class="sourceLineNo">082</span>   * @param value update {@link #foundKV} flag with value.<a name="line.82"></a>
-<span class="sourceLineNo">083</span>   */<a name="line.83"></a>
-<span class="sourceLineNo">084</span>  protected void setFoundKV(boolean value) {<a name="line.84"></a>
-<span class="sourceLineNo">085</span>    this.foundKV = value;<a name="line.85"></a>
-<span class="sourceLineNo">086</span>  }<a name="line.86"></a>
-<span class="sourceLineNo">087</span><a name="line.87"></a>
-<span class="sourceLineNo">088</span>  /**<a name="line.88"></a>
-<span class="sourceLineNo">089</span>   * @return The filter serialized using pb<a name="line.89"></a>
-<span class="sourceLineNo">090</span>   */<a name="line.90"></a>
-<span class="sourceLineNo">091</span>  public byte [] toByteArray() {<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    FilterProtos.FirstKeyOnlyFilter.Builder builder =<a name="line.92"></a>
-<span class="sourceLineNo">093</span>      FilterProtos.FirstKeyOnlyFilter.newBuilder();<a name="line.93"></a>
-<span class="sourceLineNo">094</span>    return builder.build().toByteArray();<a name="line.94"></a>
-<span class="sourceLineNo">095</span>  }<a name="line.95"></a>
-<span class="sourceLineNo">096</span><a name="line.96"></a>
-<span class="sourceLineNo">097</span>  /**<a name="line.97"></a>
-<span class="sourceLineNo">098</span>   * @param pbBytes A pb serialized {@link FirstKeyOnlyFilter} instance<a name="line.98"></a>
-<span class="sourceLineNo">099</span>   * @return An instance of {@link FirstKeyOnlyFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.99"></a>
-<span class="sourceLineNo">100</span>   * @throws org.apache.hadoop.hbase.exceptions.DeserializationException<a name="line.100"></a>
-<span class="sourceLineNo">101</span>   * @see #toByteArray<a name="line.101"></a>
-<span class="sourceLineNo">102</span>   */<a name="line.102"></a>
-<span class="sourceLineNo">103</span>  public static FirstKeyOnlyFilter parseFrom(final byte [] pbBytes)<a name="line.103"></a>
-<span class="sourceLineNo">104</span>  throws DeserializationException {<a name="line.104"></a>
-<span class="sourceLineNo">105</span>    // There is nothing to deserialize.  Why do this at all?<a name="line.105"></a>
-<span class="sourceLineNo">106</span>    try {<a name="line.106"></a>
-<span class="sourceLineNo">107</span>      FilterProtos.FirstKeyOnlyFilter.parseFrom(pbBytes);<a name="line.107"></a>
-<span class="sourceLineNo">108</span>    } catch (InvalidProtocolBufferException e) {<a name="line.108"></a>
-<span class="sourceLineNo">109</span>      throw new DeserializationException(e);<a name="line.109"></a>
-<span class="sourceLineNo">110</span>    }<a name="line.110"></a>
-<span class="sourceLineNo">111</span>    // Just return a new instance.<a name="line.111"></a>
-<span class="sourceLineNo">112</span>    return new FirstKeyOnlyFilter();<a name="line.112"></a>
-<span class="sourceLineNo">113</span>  }<a name="line.113"></a>
-<span class="sourceLineNo">114</span><a name="line.114"></a>
-<span class="sourceLineNo">115</span>  /**<a name="line.115"></a>
-<span class="sourceLineNo">116</span>   * @param o the other filter to compare with<a name="line.116"></a>
-<span class="sourceLineNo">117</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.117"></a>
-<span class="sourceLineNo">118</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.118"></a>
-<span class="sourceLineNo">119</span>   */<a name="line.119"></a>
-<span class="sourceLineNo">120</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.120"></a>
-<span class="sourceLineNo">121</span>    if (o == this) return true;<a name="line.121"></a>
-<span class="sourceLineNo">122</span>    if (!(o instanceof FirstKeyOnlyFilter)) return false;<a name="line.122"></a>
-<span class="sourceLineNo">123</span><a name="line.123"></a>
-<span class="sourceLineNo">124</span>    return true;<a name="line.124"></a>
-<span class="sourceLineNo">125</span>  }<a name="line.125"></a>
-<span class="sourceLineNo">126</span>}<a name="line.126"></a>
+<span class="sourceLineNo">044</span>  @Override<a name="line.44"></a>
+<span class="sourceLineNo">045</span>  public void reset() {<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    foundKV = false;<a name="line.46"></a>
+<span class="sourceLineNo">047</span>  }<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span>  @Override<a name="line.49"></a>
+<span class="sourceLineNo">050</span>  public boolean filterRowKey(Cell cell) throws IOException {<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    // Impl in FilterBase might do unnecessary copy for Off heap backed Cells.<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    return false;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>  }<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span>  @Deprecated<a name="line.55"></a>
+<span class="sourceLineNo">056</span>  @Override<a name="line.56"></a>
+<span class="sourceLineNo">057</span>  public ReturnCode filterKeyValue(final Cell c) {<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    return filterCell(c);<a name="line.58"></a>
+<span class="sourceLineNo">059</span>  }<a name="line.59"></a>
+<span class="sourceLineNo">060</span><a name="line.60"></a>
+<span class="sourceLineNo">061</span>  @Override<a name="line.61"></a>
+<span class="sourceLineNo">062</span>  public ReturnCode filterCell(final Cell c) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    if(foundKV) return ReturnCode.NEXT_ROW;<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    foundKV = true;<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    return ReturnCode.INCLUDE;<a name="line.65"></a>
+<span class="sourceLineNo">066</span>  }<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span>  public static Filter createFilterFromArguments(ArrayList&lt;byte []&gt; filterArguments) {<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    Preconditions.checkArgument(filterArguments.isEmpty(),<a name="line.69"></a>
+<span class="sourceLineNo">070</span>                                "Expected 0 but got: %s", filterArguments.size());<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    return new FirstKeyOnlyFilter();<a name="line.71"></a>
+<span class="sourceLineNo">072</span>  }<a name="line.72"></a>
+<span class="sourceLineNo">073</span><a name="line.73"></a>
+<span class="sourceLineNo">074</span>  /**<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   * @return true if first KV has been found.<a name="line.75"></a>
+<span class="sourceLineNo">076</span>   */<a name="line.76"></a>
+<span class="sourceLineNo">077</span>  protected boolean hasFoundKV() {<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    return this.foundKV;<a name="line.78"></a>
+<span class="sourceLineNo">079</span>  }<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span>  /**<a name="line.81"></a>
+<span class="sourceLineNo">082</span>   *<a name="line.82"></a>
+<span class="sourceLineNo">083</span>   * @param value update {@link #foundKV} flag with value.<a name="line.83"></a>
+<span class="sourceLineNo">084</span>   */<a name="line.84"></a>
+<span class="sourceLineNo">085</span>  protected void setFoundKV(boolean value) {<a name="line.85"></a>
+<span class="sourceLineNo">086</span>    this.foundKV = value;<a name="line.86"></a>
+<span class="sourceLineNo">087</span>  }<a name="line.87"></a>
+<span class="sourceLineNo">088</span><a name="line.88"></a>
+<span class="sourceLineNo">089</span>  /**<a name="line.89"></a>
+<span class="sourceLineNo">090</span>   * @return The filter serialized using pb<a name="line.90"></a>
+<span class="sourceLineNo">091</span>   */<a name="line.91"></a>
+<span class="sourceLineNo">092</span>  @Override<a name="line.92"></a>
+<span class="sourceLineNo">093</span>  public byte [] toByteArray() {<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    FilterProtos.FirstKeyOnlyFilter.Builder builder =<a name="line.94"></a>
+<span class="sourceLineNo">095</span>      FilterProtos.FirstKeyOnlyFilter.newBuilder();<a name="line.95"></a>
+<span class="sourceLineNo">096</span>    return builder.build().toByteArray();<a name="line.96"></a>
+<span class="sourceLineNo">097</span>  }<a name="line.97"></a>
+<span class="sourceLineNo">098</span><a name="line.98"></a>
+<span class="sourceLineNo">099</span>  /**<a name="line.99"></a>
+<span class="sourceLineNo">100</span>   * @param pbBytes A pb serialized {@link FirstKeyOnlyFilter} instance<a name="line.100"></a>
+<span class="sourceLineNo">101</span>   * @return An instance of {@link FirstKeyOnlyFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.101"></a>
+<span class="sourceLineNo">102</span>   * @throws org.apache.hadoop.hbase.exceptions.DeserializationException<a name="line.102"></a>
+<span class="sourceLineNo">103</span>   * @see #toByteArray<a name="line.103"></a>
+<span class="sourceLineNo">104</span>   */<a name="line.104"></a>
+<span class="sourceLineNo">105</span>  public static FirstKeyOnlyFilter parseFrom(final byte [] pbBytes)<a name="line.105"></a>
+<span class="sourceLineNo">106</span>  throws DeserializationException {<a name="line.106"></a>
+<span class="sourceLineNo">107</span>    // There is nothing to deserialize.  Why do this at all?<a name="line.107"></a>
+<span class="sourceLineNo">108</span>    try {<a name="line.108"></a>
+<span class="sourceLineNo">109</span>      FilterProtos.FirstKeyOnlyFilter.parseFrom(pbBytes);<a name="line.109"></a>
+<span class="sourceLineNo">110</span>    } catch (InvalidProtocolBufferException e) {<a name="line.110"></a>
+<span class="sourceLineNo">111</span>      throw new DeserializationException(e);<a name="line.111"></a>
+<span class="sourceLineNo">112</span>    }<a name="line.112"></a>
+<span class="sourceLineNo">113</span>    // Just return a new instance.<a name="line.113"></a>
+<span class="sourceLineNo">114</span>    return new FirstKeyOnlyFilter();<a name="line.114"></a>
+<span class="sourceLineNo">115</span>  }<a name="line.115"></a>
+<span class="sourceLineNo">116</span><a name="line.116"></a>
+<span class="sourceLineNo">117</span>  /**<a name="line.117"></a>
+<span class="sourceLineNo">118</span>   * @param o the other filter to compare with<a name="line.118"></a>
+<span class="sourceLineNo">119</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.119"></a>
+<span class="sourceLineNo">120</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.120"></a>
+<span class="sourceLineNo">121</span>   */<a name="line.121"></a>
+<span class="sourceLineNo">122</span>  @Override<a name="line.122"></a>
+<span class="sourceLineNo">123</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    if (o == this) return true;<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    if (!(o instanceof FirstKeyOnlyFilter)) return false;<a name="line.125"></a>
+<span class="sourceLineNo">126</span><a name="line.126"></a>
+<span class="sourceLineNo">127</span>    return true;<a name="line.127"></a>
+<span class="sourceLineNo">128</span>  }<a name="line.128"></a>
+<span class="sourceLineNo">129</span>}<a name="line.129"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c4c0cfa5/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyValueMatchingQualifiersFilter.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyValueMatchingQualifiersFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyValueMatchingQualifiersFilter.html
index 55b4f3f..062eb60 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyValueMatchingQualifiersFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/FirstKeyValueMatchingQualifiersFilter.html
@@ -96,50 +96,52 @@
 <span class="sourceLineNo">088</span>  /**<a name="line.88"></a>
 <span class="sourceLineNo">089</span>   * @return The filter serialized using pb<a name="line.89"></a>
 <span class="sourceLineNo">090</span>   */<a name="line.90"></a>
-<span class="sourceLineNo">091</span>  public byte [] toByteArray() {<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    FilterProtos.FirstKeyValueMatchingQualifiersFilter.Builder builder =<a name="line.92"></a>
-<span class="sourceLineNo">093</span>      FilterProtos.FirstKeyValueMatchingQualifiersFilter.newBuilder();<a name="line.93"></a>
-<span class="sourceLineNo">094</span>    for (byte[] qualifier : qualifiers) {<a name="line.94"></a>
-<span class="sourceLineNo">095</span>      if (qualifier != null) builder.addQualifiers(UnsafeByteOperations.unsafeWrap(qualifier));<a name="line.95"></a>
-<span class="sourceLineNo">096</span>    }<a name="line.96"></a>
-<span class="sourceLineNo">097</span>    return builder.build().toByteArray();<a name="line.97"></a>
-<span class="sourceLineNo">098</span>  }<a name="line.98"></a>
-<span class="sourceLineNo">099</span><a name="line.99"></a>
-<span class="sourceLineNo">100</span>  /**<a name="line.100"></a>
-<span class="sourceLineNo">101</span>   * @param pbBytes A pb serialized {@link FirstKeyValueMatchingQualifiersFilter} instance<a name="line.101"></a>
-<span class="sourceLineNo">102</span>   * @return An instance of {@link FirstKeyValueMatchingQualifiersFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.102"></a>
-<span class="sourceLineNo">103</span>   * @throws DeserializationException<a name="line.103"></a>
-<span class="sourceLineNo">104</span>   * @see #toByteArray<a name="line.104"></a>
-<span class="sourceLineNo">105</span>   */<a name="line.105"></a>
-<span class="sourceLineNo">106</span>  public static FirstKeyValueMatchingQualifiersFilter parseFrom(final byte [] pbBytes)<a name="line.106"></a>
-<span class="sourceLineNo">107</span>  throws DeserializationException {<a name="line.107"></a>
-<span class="sourceLineNo">108</span>    FilterProtos.FirstKeyValueMatchingQualifiersFilter proto;<a name="line.108"></a>
-<span class="sourceLineNo">109</span>    try {<a name="line.109"></a>
-<span class="sourceLineNo">110</span>      proto = FilterProtos.FirstKeyValueMatchingQualifiersFilter.parseFrom(pbBytes);<a name="line.110"></a>
-<span class="sourceLineNo">111</span>    } catch (InvalidProtocolBufferException e) {<a name="line.111"></a>
-<span class="sourceLineNo">112</span>      throw new DeserializationException(e);<a name="line.112"></a>
-<span class="sourceLineNo">113</span>    }<a name="line.113"></a>
-<span class="sourceLineNo">114</span><a name="line.114"></a>
-<span class="sourceLineNo">115</span>    TreeSet&lt;byte []&gt; qualifiers = new TreeSet&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.115"></a>
-<span class="sourceLineNo">116</span>    for (ByteString qualifier : proto.getQualifiersList()) {<a name="line.116"></a>
-<span class="sourceLineNo">117</span>      qualifiers.add(qualifier.toByteArray());<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    }<a name="line.118"></a>
-<span class="sourceLineNo">119</span>    return new FirstKeyValueMatchingQualifiersFilter(qualifiers);<a name="line.119"></a>
-<span class="sourceLineNo">120</span>  }<a name="line.120"></a>
-<span class="sourceLineNo">121</span><a name="line.121"></a>
-<span class="sourceLineNo">122</span>  /**<a name="line.122"></a>
-<span class="sourceLineNo">123</span>   * @param o the other filter to compare with<a name="line.123"></a>
-<span class="sourceLineNo">124</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.124"></a>
-<span class="sourceLineNo">125</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.125"></a>
-<span class="sourceLineNo">126</span>   */<a name="line.126"></a>
-<span class="sourceLineNo">127</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.127"></a>
-<span class="sourceLineNo">128</span>    if (o == this) return true;<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    if (!(o instanceof FirstKeyValueMatchingQualifiersFilter)) return false;<a name="line.129"></a>
-<span class="sourceLineNo">130</span><a name="line.130"></a>
-<span class="sourceLineNo">131</span>    FirstKeyValueMatchingQualifiersFilter other = (FirstKeyValueMatchingQualifiersFilter)o;<a name="line.131"></a>
-<span class="sourceLineNo">132</span>    return this.qualifiers.equals(other.qualifiers);<a name="line.132"></a>
-<span class="sourceLineNo">133</span>  }<a name="line.133"></a>
-<span class="sourceLineNo">134</span>}<a name="line.134"></a>
+<span class="sourceLineNo">091</span>  @Override<a name="line.91"></a>
+<span class="sourceLineNo">092</span>  public byte [] toByteArray() {<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    FilterProtos.FirstKeyValueMatchingQualifiersFilter.Builder builder =<a name="line.93"></a>
+<span class="sourceLineNo">094</span>      FilterProtos.FirstKeyValueMatchingQualifiersFilter.newBuilder();<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    for (byte[] qualifier : qualifiers) {<a name="line.95"></a>
+<span class="sourceLineNo">096</span>      if (qualifier != null) builder.addQualifiers(UnsafeByteOperations.unsafeWrap(qualifier));<a name="line.96"></a>
+<span class="sourceLineNo">097</span>    }<a name="line.97"></a>
+<span class="sourceLineNo">098</span>    return builder.build().toByteArray();<a name="line.98"></a>
+<span class="sourceLineNo">099</span>  }<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>  /**<a name="line.101"></a>
+<span class="sourceLineNo">102</span>   * @param pbBytes A pb serialized {@link FirstKeyValueMatchingQualifiersFilter} instance<a name="line.102"></a>
+<span class="sourceLineNo">103</span>   * @return An instance of {@link FirstKeyValueMatchingQualifiersFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.103"></a>
+<span class="sourceLineNo">104</span>   * @throws DeserializationException<a name="line.104"></a>
+<span class="sourceLineNo">105</span>   * @see #toByteArray<a name="line.105"></a>
+<span class="sourceLineNo">106</span>   */<a name="line.106"></a>
+<span class="sourceLineNo">107</span>  public static FirstKeyValueMatchingQualifiersFilter parseFrom(final byte [] pbBytes)<a name="line.107"></a>
+<span class="sourceLineNo">108</span>  throws DeserializationException {<a name="line.108"></a>
+<span class="sourceLineNo">109</span>    FilterProtos.FirstKeyValueMatchingQualifiersFilter proto;<a name="line.109"></a>
+<span class="sourceLineNo">110</span>    try {<a name="line.110"></a>
+<span class="sourceLineNo">111</span>      proto = FilterProtos.FirstKeyValueMatchingQualifiersFilter.parseFrom(pbBytes);<a name="line.111"></a>
+<span class="sourceLineNo">112</span>    } catch (InvalidProtocolBufferException e) {<a name="line.112"></a>
+<span class="sourceLineNo">113</span>      throw new DeserializationException(e);<a name="line.113"></a>
+<span class="sourceLineNo">114</span>    }<a name="line.114"></a>
+<span class="sourceLineNo">115</span><a name="line.115"></a>
+<span class="sourceLineNo">116</span>    TreeSet&lt;byte []&gt; qualifiers = new TreeSet&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    for (ByteString qualifier : proto.getQualifiersList()) {<a name="line.117"></a>
+<span class="sourceLineNo">118</span>      qualifiers.add(qualifier.toByteArray());<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    }<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    return new FirstKeyValueMatchingQualifiersFilter(qualifiers);<a name="line.120"></a>
+<span class="sourceLineNo">121</span>  }<a name="line.121"></a>
+<span class="sourceLineNo">122</span><a name="line.122"></a>
+<span class="sourceLineNo">123</span>  /**<a name="line.123"></a>
+<span class="sourceLineNo">124</span>   * @param o the other filter to compare with<a name="line.124"></a>
+<span class="sourceLineNo">125</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.125"></a>
+<span class="sourceLineNo">126</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.126"></a>
+<span class="sourceLineNo">127</span>   */<a name="line.127"></a>
+<span class="sourceLineNo">128</span>  @Override<a name="line.128"></a>
+<span class="sourceLineNo">129</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    if (o == this) return true;<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    if (!(o instanceof FirstKeyValueMatchingQualifiersFilter)) return false;<a name="line.131"></a>
+<span class="sourceLineNo">132</span><a name="line.132"></a>
+<span class="sourceLineNo">133</span>    FirstKeyValueMatchingQualifiersFilter other = (FirstKeyValueMatchingQualifiersFilter)o;<a name="line.133"></a>
+<span class="sourceLineNo">134</span>    return this.qualifiers.equals(other.qualifiers);<a name="line.134"></a>
+<span class="sourceLineNo">135</span>  }<a name="line.135"></a>
+<span class="sourceLineNo">136</span>}<a name="line.136"></a>
 
 
 


Mime
View raw message