hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [45/51] [partial] hbase-site git commit: Published site at 82d554e3783372cc6b05489452c815b57c06f6cd.
Date Fri, 11 Aug 2017 15:06:46 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/346adc37/apidocs/src-html/org/apache/hadoop/hbase/client/Get.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Get.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Get.html
index 438db17..48420d2 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/client/Get.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Get.html
@@ -275,297 +275,321 @@
 <span class="sourceLineNo">267</span>  /**<a name="line.267"></a>
 <span class="sourceLineNo">268</span>   * Get all available versions.<a name="line.268"></a>
 <span class="sourceLineNo">269</span>   * @return this for invocation chaining<a name="line.269"></a>
-<span class="sourceLineNo">270</span>   */<a name="line.270"></a>
-<span class="sourceLineNo">271</span>  public Get setMaxVersions() {<a name="line.271"></a>
-<span class="sourceLineNo">272</span>    this.maxVersions = Integer.MAX_VALUE;<a name="line.272"></a>
-<span class="sourceLineNo">273</span>    return this;<a name="line.273"></a>
-<span class="sourceLineNo">274</span>  }<a name="line.274"></a>
-<span class="sourceLineNo">275</span><a name="line.275"></a>
-<span class="sourceLineNo">276</span>  /**<a name="line.276"></a>
-<span class="sourceLineNo">277</span>   * Get up to the specified number of versions of each column.<a name="line.277"></a>
-<span class="sourceLineNo">278</span>   * @param maxVersions maximum versions for each column<a name="line.278"></a>
-<span class="sourceLineNo">279</span>   * @throws IOException if invalid number of versions<a name="line.279"></a>
-<span class="sourceLineNo">280</span>   * @return this for invocation chaining<a name="line.280"></a>
-<span class="sourceLineNo">281</span>   */<a name="line.281"></a>
-<span class="sourceLineNo">282</span>  public Get setMaxVersions(int maxVersions) throws IOException {<a name="line.282"></a>
-<span class="sourceLineNo">283</span>    if(maxVersions &lt;= 0) {<a name="line.283"></a>
-<span class="sourceLineNo">284</span>      throw new IOException("maxVersions must be positive");<a name="line.284"></a>
-<span class="sourceLineNo">285</span>    }<a name="line.285"></a>
-<span class="sourceLineNo">286</span>    this.maxVersions = maxVersions;<a name="line.286"></a>
-<span class="sourceLineNo">287</span>    return this;<a name="line.287"></a>
-<span class="sourceLineNo">288</span>  }<a name="line.288"></a>
-<span class="sourceLineNo">289</span><a name="line.289"></a>
-<span class="sourceLineNo">290</span>  public Get setLoadColumnFamiliesOnDemand(boolean value) {<a name="line.290"></a>
-<span class="sourceLineNo">291</span>    return (Get) super.setLoadColumnFamiliesOnDemand(value);<a name="line.291"></a>
-<span class="sourceLineNo">292</span>  }<a name="line.292"></a>
-<span class="sourceLineNo">293</span><a name="line.293"></a>
-<span class="sourceLineNo">294</span>  /**<a name="line.294"></a>
-<span class="sourceLineNo">295</span>   * Set the maximum number of values to return per row per Column Family<a name="line.295"></a>
-<span class="sourceLineNo">296</span>   * @param limit the maximum number of values returned / row / CF<a name="line.296"></a>
-<span class="sourceLineNo">297</span>   * @return this for invocation chaining<a name="line.297"></a>
-<span class="sourceLineNo">298</span>   */<a name="line.298"></a>
-<span class="sourceLineNo">299</span>  public Get setMaxResultsPerColumnFamily(int limit) {<a name="line.299"></a>
-<span class="sourceLineNo">300</span>    this.storeLimit = limit;<a name="line.300"></a>
-<span class="sourceLineNo">301</span>    return this;<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>  /**<a name="line.304"></a>
-<span class="sourceLineNo">305</span>   * Set offset for the row per Column Family. This offset is only within a particular row/CF<a name="line.305"></a>
-<span class="sourceLineNo">306</span>   * combination. It gets reset back to zero when we move to the next row or CF.<a name="line.306"></a>
-<span class="sourceLineNo">307</span>   * @param offset is the number of kvs that will be skipped.<a name="line.307"></a>
-<span class="sourceLineNo">308</span>   * @return this for invocation chaining<a name="line.308"></a>
-<span class="sourceLineNo">309</span>   */<a name="line.309"></a>
-<span class="sourceLineNo">310</span>  public Get setRowOffsetPerColumnFamily(int offset) {<a name="line.310"></a>
-<span class="sourceLineNo">311</span>    this.storeOffset = offset;<a name="line.311"></a>
-<span class="sourceLineNo">312</span>    return this;<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>
-<span class="sourceLineNo">315</span>  @Override<a name="line.315"></a>
-<span class="sourceLineNo">316</span>  public Get setFilter(Filter filter) {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>    super.setFilter(filter);<a name="line.317"></a>
-<span class="sourceLineNo">318</span>    return this;<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>
-<span class="sourceLineNo">321</span>  /* Accessors */<a name="line.321"></a>
-<span class="sourceLineNo">322</span><a name="line.322"></a>
-<span class="sourceLineNo">323</span>  /**<a name="line.323"></a>
-<span class="sourceLineNo">324</span>   * Set whether blocks should be cached for this Get.<a name="line.324"></a>
-<span class="sourceLineNo">325</span>   * &lt;p&gt;<a name="line.325"></a>
-<span class="sourceLineNo">326</span>   * This is true by default.  When true, default settings of the table and<a name="line.326"></a>
-<span class="sourceLineNo">327</span>   * family are used (this will never override caching blocks if the block<a name="line.327"></a>
-<span class="sourceLineNo">328</span>   * cache is disabled for that family or entirely).<a name="line.328"></a>
-<span class="sourceLineNo">329</span>   *<a name="line.329"></a>
-<span class="sourceLineNo">330</span>   * @param cacheBlocks if false, default settings are overridden and blocks<a name="line.330"></a>
-<span class="sourceLineNo">331</span>   * will not be cached<a name="line.331"></a>
-<span class="sourceLineNo">332</span>   */<a name="line.332"></a>
-<span class="sourceLineNo">333</span>  public Get setCacheBlocks(boolean cacheBlocks) {<a name="line.333"></a>
-<span class="sourceLineNo">334</span>    this.cacheBlocks = cacheBlocks;<a name="line.334"></a>
-<span class="sourceLineNo">335</span>    return this;<a name="line.335"></a>
-<span class="sourceLineNo">336</span>  }<a name="line.336"></a>
-<span class="sourceLineNo">337</span><a name="line.337"></a>
-<span class="sourceLineNo">338</span>  /**<a name="line.338"></a>
-<span class="sourceLineNo">339</span>   * Get whether blocks should be cached for this Get.<a name="line.339"></a>
-<span class="sourceLineNo">340</span>   * @return true if default caching should be used, false if blocks should not<a name="line.340"></a>
-<span class="sourceLineNo">341</span>   * be cached<a name="line.341"></a>
-<span class="sourceLineNo">342</span>   */<a name="line.342"></a>
-<span class="sourceLineNo">343</span>  public boolean getCacheBlocks() {<a name="line.343"></a>
-<span class="sourceLineNo">344</span>    return cacheBlocks;<a name="line.344"></a>
-<span class="sourceLineNo">345</span>  }<a name="line.345"></a>
+<span class="sourceLineNo">270</span>   * @deprecated It is easy to misunderstand with column family's max versions, so use<a name="line.270"></a>
+<span class="sourceLineNo">271</span>   *             {@link #readAllVersions()} instead.<a name="line.271"></a>
+<span class="sourceLineNo">272</span>   */<a name="line.272"></a>
+<span class="sourceLineNo">273</span>  @Deprecated<a name="line.273"></a>
+<span class="sourceLineNo">274</span>  public Get setMaxVersions() {<a name="line.274"></a>
+<span class="sourceLineNo">275</span>    return readAllVersions();<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">278</span>  /**<a name="line.278"></a>
+<span class="sourceLineNo">279</span>   * Get up to the specified number of versions of each column.<a name="line.279"></a>
+<span class="sourceLineNo">280</span>   * @param maxVersions maximum versions for each column<a name="line.280"></a>
+<span class="sourceLineNo">281</span>   * @throws IOException if invalid number of versions<a name="line.281"></a>
+<span class="sourceLineNo">282</span>   * @return this for invocation chaining<a name="line.282"></a>
+<span class="sourceLineNo">283</span>   * @deprecated It is easy to misunderstand with column family's max versions, so use<a name="line.283"></a>
+<span class="sourceLineNo">284</span>   *             {@link #readVersions(int)} instead.<a name="line.284"></a>
+<span class="sourceLineNo">285</span>   */<a name="line.285"></a>
+<span class="sourceLineNo">286</span>  @Deprecated<a name="line.286"></a>
+<span class="sourceLineNo">287</span>  public Get setMaxVersions(int maxVersions) throws IOException {<a name="line.287"></a>
+<span class="sourceLineNo">288</span>    return readVersions(maxVersions);<a name="line.288"></a>
+<span class="sourceLineNo">289</span>  }<a name="line.289"></a>
+<span class="sourceLineNo">290</span><a name="line.290"></a>
+<span class="sourceLineNo">291</span>  /**<a name="line.291"></a>
+<span class="sourceLineNo">292</span>   * Get all available versions.<a name="line.292"></a>
+<span class="sourceLineNo">293</span>   * @return this for invocation chaining<a name="line.293"></a>
+<span class="sourceLineNo">294</span>   */<a name="line.294"></a>
+<span class="sourceLineNo">295</span>  public Get readAllVersions() {<a name="line.295"></a>
+<span class="sourceLineNo">296</span>    this.maxVersions = Integer.MAX_VALUE;<a name="line.296"></a>
+<span class="sourceLineNo">297</span>    return this;<a name="line.297"></a>
+<span class="sourceLineNo">298</span>  }<a name="line.298"></a>
+<span class="sourceLineNo">299</span><a name="line.299"></a>
+<span class="sourceLineNo">300</span>  /**<a name="line.300"></a>
+<span class="sourceLineNo">301</span>   * Get up to the specified number of versions of each column.<a name="line.301"></a>
+<span class="sourceLineNo">302</span>   * @param versions specified number of versions for each column<a name="line.302"></a>
+<span class="sourceLineNo">303</span>   * @throws IOException if invalid number of versions<a name="line.303"></a>
+<span class="sourceLineNo">304</span>   * @return this for invocation chaining<a name="line.304"></a>
+<span class="sourceLineNo">305</span>   */<a name="line.305"></a>
+<span class="sourceLineNo">306</span>  public Get readVersions(int versions) throws IOException {<a name="line.306"></a>
+<span class="sourceLineNo">307</span>    if (versions &lt;= 0) {<a name="line.307"></a>
+<span class="sourceLineNo">308</span>      throw new IOException("versions must be positive");<a name="line.308"></a>
+<span class="sourceLineNo">309</span>    }<a name="line.309"></a>
+<span class="sourceLineNo">310</span>    this.maxVersions = versions;<a name="line.310"></a>
+<span class="sourceLineNo">311</span>    return this;<a name="line.311"></a>
+<span class="sourceLineNo">312</span>  }<a name="line.312"></a>
+<span class="sourceLineNo">313</span><a name="line.313"></a>
+<span class="sourceLineNo">314</span>  public Get setLoadColumnFamiliesOnDemand(boolean value) {<a name="line.314"></a>
+<span class="sourceLineNo">315</span>    return (Get) super.setLoadColumnFamiliesOnDemand(value);<a name="line.315"></a>
+<span class="sourceLineNo">316</span>  }<a name="line.316"></a>
+<span class="sourceLineNo">317</span><a name="line.317"></a>
+<span class="sourceLineNo">318</span>  /**<a name="line.318"></a>
+<span class="sourceLineNo">319</span>   * Set the maximum number of values to return per row per Column Family<a name="line.319"></a>
+<span class="sourceLineNo">320</span>   * @param limit the maximum number of values returned / row / CF<a name="line.320"></a>
+<span class="sourceLineNo">321</span>   * @return this for invocation chaining<a name="line.321"></a>
+<span class="sourceLineNo">322</span>   */<a name="line.322"></a>
+<span class="sourceLineNo">323</span>  public Get setMaxResultsPerColumnFamily(int limit) {<a name="line.323"></a>
+<span class="sourceLineNo">324</span>    this.storeLimit = limit;<a name="line.324"></a>
+<span class="sourceLineNo">325</span>    return this;<a name="line.325"></a>
+<span class="sourceLineNo">326</span>  }<a name="line.326"></a>
+<span class="sourceLineNo">327</span><a name="line.327"></a>
+<span class="sourceLineNo">328</span>  /**<a name="line.328"></a>
+<span class="sourceLineNo">329</span>   * Set offset for the row per Column Family. This offset is only within a particular row/CF<a name="line.329"></a>
+<span class="sourceLineNo">330</span>   * combination. It gets reset back to zero when we move to the next row or CF.<a name="line.330"></a>
+<span class="sourceLineNo">331</span>   * @param offset is the number of kvs that will be skipped.<a name="line.331"></a>
+<span class="sourceLineNo">332</span>   * @return this for invocation chaining<a name="line.332"></a>
+<span class="sourceLineNo">333</span>   */<a name="line.333"></a>
+<span class="sourceLineNo">334</span>  public Get setRowOffsetPerColumnFamily(int offset) {<a name="line.334"></a>
+<span class="sourceLineNo">335</span>    this.storeOffset = offset;<a name="line.335"></a>
+<span class="sourceLineNo">336</span>    return this;<a name="line.336"></a>
+<span class="sourceLineNo">337</span>  }<a name="line.337"></a>
+<span class="sourceLineNo">338</span><a name="line.338"></a>
+<span class="sourceLineNo">339</span>  @Override<a name="line.339"></a>
+<span class="sourceLineNo">340</span>  public Get setFilter(Filter filter) {<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    super.setFilter(filter);<a name="line.341"></a>
+<span class="sourceLineNo">342</span>    return this;<a name="line.342"></a>
+<span class="sourceLineNo">343</span>  }<a name="line.343"></a>
+<span class="sourceLineNo">344</span><a name="line.344"></a>
+<span class="sourceLineNo">345</span>  /* Accessors */<a name="line.345"></a>
 <span class="sourceLineNo">346</span><a name="line.346"></a>
 <span class="sourceLineNo">347</span>  /**<a name="line.347"></a>
-<span class="sourceLineNo">348</span>   * Method for retrieving the get's row<a name="line.348"></a>
-<span class="sourceLineNo">349</span>   * @return row<a name="line.349"></a>
-<span class="sourceLineNo">350</span>   */<a name="line.350"></a>
-<span class="sourceLineNo">351</span>  @Override<a name="line.351"></a>
-<span class="sourceLineNo">352</span>  public byte [] getRow() {<a name="line.352"></a>
-<span class="sourceLineNo">353</span>    return this.row;<a name="line.353"></a>
-<span class="sourceLineNo">354</span>  }<a name="line.354"></a>
-<span class="sourceLineNo">355</span><a name="line.355"></a>
-<span class="sourceLineNo">356</span>  /**<a name="line.356"></a>
-<span class="sourceLineNo">357</span>   * Method for retrieving the get's maximum number of version<a name="line.357"></a>
-<span class="sourceLineNo">358</span>   * @return the maximum number of version to fetch for this get<a name="line.358"></a>
-<span class="sourceLineNo">359</span>   */<a name="line.359"></a>
-<span class="sourceLineNo">360</span>  public int getMaxVersions() {<a name="line.360"></a>
-<span class="sourceLineNo">361</span>    return this.maxVersions;<a name="line.361"></a>
-<span class="sourceLineNo">362</span>  }<a name="line.362"></a>
-<span class="sourceLineNo">363</span><a name="line.363"></a>
-<span class="sourceLineNo">364</span>  /**<a name="line.364"></a>
-<span class="sourceLineNo">365</span>   * Method for retrieving the get's maximum number of values<a name="line.365"></a>
-<span class="sourceLineNo">366</span>   * to return per Column Family<a name="line.366"></a>
-<span class="sourceLineNo">367</span>   * @return the maximum number of values to fetch per CF<a name="line.367"></a>
-<span class="sourceLineNo">368</span>   */<a name="line.368"></a>
-<span class="sourceLineNo">369</span>  public int getMaxResultsPerColumnFamily() {<a name="line.369"></a>
-<span class="sourceLineNo">370</span>    return this.storeLimit;<a name="line.370"></a>
-<span class="sourceLineNo">371</span>  }<a name="line.371"></a>
-<span class="sourceLineNo">372</span><a name="line.372"></a>
-<span class="sourceLineNo">373</span>  /**<a name="line.373"></a>
-<span class="sourceLineNo">374</span>   * Method for retrieving the get's offset per row per column<a name="line.374"></a>
-<span class="sourceLineNo">375</span>   * family (#kvs to be skipped)<a name="line.375"></a>
-<span class="sourceLineNo">376</span>   * @return the row offset<a name="line.376"></a>
-<span class="sourceLineNo">377</span>   */<a name="line.377"></a>
-<span class="sourceLineNo">378</span>  public int getRowOffsetPerColumnFamily() {<a name="line.378"></a>
-<span class="sourceLineNo">379</span>    return this.storeOffset;<a name="line.379"></a>
-<span class="sourceLineNo">380</span>  }<a name="line.380"></a>
-<span class="sourceLineNo">381</span><a name="line.381"></a>
-<span class="sourceLineNo">382</span>  /**<a name="line.382"></a>
-<span class="sourceLineNo">383</span>   * Method for retrieving the keys in the familyMap<a name="line.383"></a>
-<span class="sourceLineNo">384</span>   * @return keys in the current familyMap<a name="line.384"></a>
-<span class="sourceLineNo">385</span>   */<a name="line.385"></a>
-<span class="sourceLineNo">386</span>  public Set&lt;byte[]&gt; familySet() {<a name="line.386"></a>
-<span class="sourceLineNo">387</span>    return this.familyMap.keySet();<a name="line.387"></a>
-<span class="sourceLineNo">388</span>  }<a name="line.388"></a>
-<span class="sourceLineNo">389</span><a name="line.389"></a>
-<span class="sourceLineNo">390</span>  /**<a name="line.390"></a>
-<span class="sourceLineNo">391</span>   * Method for retrieving the number of families to get from<a name="line.391"></a>
-<span class="sourceLineNo">392</span>   * @return number of families<a name="line.392"></a>
-<span class="sourceLineNo">393</span>   */<a name="line.393"></a>
-<span class="sourceLineNo">394</span>  public int numFamilies() {<a name="line.394"></a>
-<span class="sourceLineNo">395</span>    return this.familyMap.size();<a name="line.395"></a>
-<span class="sourceLineNo">396</span>  }<a name="line.396"></a>
-<span class="sourceLineNo">397</span><a name="line.397"></a>
-<span class="sourceLineNo">398</span>  /**<a name="line.398"></a>
-<span class="sourceLineNo">399</span>   * Method for checking if any families have been inserted into this Get<a name="line.399"></a>
-<span class="sourceLineNo">400</span>   * @return true if familyMap is non empty false otherwise<a name="line.400"></a>
+<span class="sourceLineNo">348</span>   * Set whether blocks should be cached for this Get.<a name="line.348"></a>
+<span class="sourceLineNo">349</span>   * &lt;p&gt;<a name="line.349"></a>
+<span class="sourceLineNo">350</span>   * This is true by default.  When true, default settings of the table and<a name="line.350"></a>
+<span class="sourceLineNo">351</span>   * family are used (this will never override caching blocks if the block<a name="line.351"></a>
+<span class="sourceLineNo">352</span>   * cache is disabled for that family or entirely).<a name="line.352"></a>
+<span class="sourceLineNo">353</span>   *<a name="line.353"></a>
+<span class="sourceLineNo">354</span>   * @param cacheBlocks if false, default settings are overridden and blocks<a name="line.354"></a>
+<span class="sourceLineNo">355</span>   * will not be cached<a name="line.355"></a>
+<span class="sourceLineNo">356</span>   */<a name="line.356"></a>
+<span class="sourceLineNo">357</span>  public Get setCacheBlocks(boolean cacheBlocks) {<a name="line.357"></a>
+<span class="sourceLineNo">358</span>    this.cacheBlocks = cacheBlocks;<a name="line.358"></a>
+<span class="sourceLineNo">359</span>    return this;<a name="line.359"></a>
+<span class="sourceLineNo">360</span>  }<a name="line.360"></a>
+<span class="sourceLineNo">361</span><a name="line.361"></a>
+<span class="sourceLineNo">362</span>  /**<a name="line.362"></a>
+<span class="sourceLineNo">363</span>   * Get whether blocks should be cached for this Get.<a name="line.363"></a>
+<span class="sourceLineNo">364</span>   * @return true if default caching should be used, false if blocks should not<a name="line.364"></a>
+<span class="sourceLineNo">365</span>   * be cached<a name="line.365"></a>
+<span class="sourceLineNo">366</span>   */<a name="line.366"></a>
+<span class="sourceLineNo">367</span>  public boolean getCacheBlocks() {<a name="line.367"></a>
+<span class="sourceLineNo">368</span>    return cacheBlocks;<a name="line.368"></a>
+<span class="sourceLineNo">369</span>  }<a name="line.369"></a>
+<span class="sourceLineNo">370</span><a name="line.370"></a>
+<span class="sourceLineNo">371</span>  /**<a name="line.371"></a>
+<span class="sourceLineNo">372</span>   * Method for retrieving the get's row<a name="line.372"></a>
+<span class="sourceLineNo">373</span>   * @return row<a name="line.373"></a>
+<span class="sourceLineNo">374</span>   */<a name="line.374"></a>
+<span class="sourceLineNo">375</span>  @Override<a name="line.375"></a>
+<span class="sourceLineNo">376</span>  public byte [] getRow() {<a name="line.376"></a>
+<span class="sourceLineNo">377</span>    return this.row;<a name="line.377"></a>
+<span class="sourceLineNo">378</span>  }<a name="line.378"></a>
+<span class="sourceLineNo">379</span><a name="line.379"></a>
+<span class="sourceLineNo">380</span>  /**<a name="line.380"></a>
+<span class="sourceLineNo">381</span>   * Method for retrieving the get's maximum number of version<a name="line.381"></a>
+<span class="sourceLineNo">382</span>   * @return the maximum number of version to fetch for this get<a name="line.382"></a>
+<span class="sourceLineNo">383</span>   */<a name="line.383"></a>
+<span class="sourceLineNo">384</span>  public int getMaxVersions() {<a name="line.384"></a>
+<span class="sourceLineNo">385</span>    return this.maxVersions;<a name="line.385"></a>
+<span class="sourceLineNo">386</span>  }<a name="line.386"></a>
+<span class="sourceLineNo">387</span><a name="line.387"></a>
+<span class="sourceLineNo">388</span>  /**<a name="line.388"></a>
+<span class="sourceLineNo">389</span>   * Method for retrieving the get's maximum number of values<a name="line.389"></a>
+<span class="sourceLineNo">390</span>   * to return per Column Family<a name="line.390"></a>
+<span class="sourceLineNo">391</span>   * @return the maximum number of values to fetch per CF<a name="line.391"></a>
+<span class="sourceLineNo">392</span>   */<a name="line.392"></a>
+<span class="sourceLineNo">393</span>  public int getMaxResultsPerColumnFamily() {<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    return this.storeLimit;<a name="line.394"></a>
+<span class="sourceLineNo">395</span>  }<a name="line.395"></a>
+<span class="sourceLineNo">396</span><a name="line.396"></a>
+<span class="sourceLineNo">397</span>  /**<a name="line.397"></a>
+<span class="sourceLineNo">398</span>   * Method for retrieving the get's offset per row per column<a name="line.398"></a>
+<span class="sourceLineNo">399</span>   * family (#kvs to be skipped)<a name="line.399"></a>
+<span class="sourceLineNo">400</span>   * @return the row offset<a name="line.400"></a>
 <span class="sourceLineNo">401</span>   */<a name="line.401"></a>
-<span class="sourceLineNo">402</span>  public boolean hasFamilies() {<a name="line.402"></a>
-<span class="sourceLineNo">403</span>    return !this.familyMap.isEmpty();<a name="line.403"></a>
+<span class="sourceLineNo">402</span>  public int getRowOffsetPerColumnFamily() {<a name="line.402"></a>
+<span class="sourceLineNo">403</span>    return this.storeOffset;<a name="line.403"></a>
 <span class="sourceLineNo">404</span>  }<a name="line.404"></a>
 <span class="sourceLineNo">405</span><a name="line.405"></a>
 <span class="sourceLineNo">406</span>  /**<a name="line.406"></a>
-<span class="sourceLineNo">407</span>   * Method for retrieving the get's familyMap<a name="line.407"></a>
-<span class="sourceLineNo">408</span>   * @return familyMap<a name="line.408"></a>
+<span class="sourceLineNo">407</span>   * Method for retrieving the keys in the familyMap<a name="line.407"></a>
+<span class="sourceLineNo">408</span>   * @return keys in the current familyMap<a name="line.408"></a>
 <span class="sourceLineNo">409</span>   */<a name="line.409"></a>
-<span class="sourceLineNo">410</span>  public Map&lt;byte[],NavigableSet&lt;byte[]&gt;&gt; getFamilyMap() {<a name="line.410"></a>
-<span class="sourceLineNo">411</span>    return this.familyMap;<a name="line.411"></a>
+<span class="sourceLineNo">410</span>  public Set&lt;byte[]&gt; familySet() {<a name="line.410"></a>
+<span class="sourceLineNo">411</span>    return this.familyMap.keySet();<a name="line.411"></a>
 <span class="sourceLineNo">412</span>  }<a name="line.412"></a>
 <span class="sourceLineNo">413</span><a name="line.413"></a>
 <span class="sourceLineNo">414</span>  /**<a name="line.414"></a>
-<span class="sourceLineNo">415</span>   * Compile the table and column family (i.e. schema) information<a name="line.415"></a>
-<span class="sourceLineNo">416</span>   * into a String. Useful for parsing and aggregation by debugging,<a name="line.416"></a>
-<span class="sourceLineNo">417</span>   * logging, and administration tools.<a name="line.417"></a>
-<span class="sourceLineNo">418</span>   * @return Map<a name="line.418"></a>
-<span class="sourceLineNo">419</span>   */<a name="line.419"></a>
-<span class="sourceLineNo">420</span>  @Override<a name="line.420"></a>
-<span class="sourceLineNo">421</span>  public Map&lt;String, Object&gt; getFingerprint() {<a name="line.421"></a>
-<span class="sourceLineNo">422</span>    Map&lt;String, Object&gt; map = new HashMap&lt;&gt;();<a name="line.422"></a>
-<span class="sourceLineNo">423</span>    List&lt;String&gt; families = new ArrayList&lt;&gt;(this.familyMap.entrySet().size());<a name="line.423"></a>
-<span class="sourceLineNo">424</span>    map.put("families", families);<a name="line.424"></a>
-<span class="sourceLineNo">425</span>    for (Map.Entry&lt;byte [], NavigableSet&lt;byte[]&gt;&gt; entry :<a name="line.425"></a>
-<span class="sourceLineNo">426</span>      this.familyMap.entrySet()) {<a name="line.426"></a>
-<span class="sourceLineNo">427</span>      families.add(Bytes.toStringBinary(entry.getKey()));<a name="line.427"></a>
-<span class="sourceLineNo">428</span>    }<a name="line.428"></a>
-<span class="sourceLineNo">429</span>    return map;<a name="line.429"></a>
-<span class="sourceLineNo">430</span>  }<a name="line.430"></a>
-<span class="sourceLineNo">431</span><a name="line.431"></a>
-<span class="sourceLineNo">432</span>  /**<a name="line.432"></a>
-<span class="sourceLineNo">433</span>   * Compile the details beyond the scope of getFingerprint (row, columns,<a name="line.433"></a>
-<span class="sourceLineNo">434</span>   * timestamps, etc.) into a Map along with the fingerprinted information.<a name="line.434"></a>
-<span class="sourceLineNo">435</span>   * Useful for debugging, logging, and administration tools.<a name="line.435"></a>
-<span class="sourceLineNo">436</span>   * @param maxCols a limit on the number of columns output prior to truncation<a name="line.436"></a>
-<span class="sourceLineNo">437</span>   * @return Map<a name="line.437"></a>
-<span class="sourceLineNo">438</span>   */<a name="line.438"></a>
-<span class="sourceLineNo">439</span>  @Override<a name="line.439"></a>
-<span class="sourceLineNo">440</span>  public Map&lt;String, Object&gt; toMap(int maxCols) {<a name="line.440"></a>
-<span class="sourceLineNo">441</span>    // we start with the fingerprint map and build on top of it.<a name="line.441"></a>
-<span class="sourceLineNo">442</span>    Map&lt;String, Object&gt; map = getFingerprint();<a name="line.442"></a>
-<span class="sourceLineNo">443</span>    // replace the fingerprint's simple list of families with a<a name="line.443"></a>
-<span class="sourceLineNo">444</span>    // map from column families to lists of qualifiers and kv details<a name="line.444"></a>
-<span class="sourceLineNo">445</span>    Map&lt;String, List&lt;String&gt;&gt; columns = new HashMap&lt;&gt;();<a name="line.445"></a>
-<span class="sourceLineNo">446</span>    map.put("families", columns);<a name="line.446"></a>
-<span class="sourceLineNo">447</span>    // add scalar information first<a name="line.447"></a>
-<span class="sourceLineNo">448</span>    map.put("row", Bytes.toStringBinary(this.row));<a name="line.448"></a>
-<span class="sourceLineNo">449</span>    map.put("maxVersions", this.maxVersions);<a name="line.449"></a>
-<span class="sourceLineNo">450</span>    map.put("cacheBlocks", this.cacheBlocks);<a name="line.450"></a>
-<span class="sourceLineNo">451</span>    List&lt;Long&gt; timeRange = new ArrayList&lt;&gt;(2);<a name="line.451"></a>
-<span class="sourceLineNo">452</span>    timeRange.add(this.tr.getMin());<a name="line.452"></a>
-<span class="sourceLineNo">453</span>    timeRange.add(this.tr.getMax());<a name="line.453"></a>
-<span class="sourceLineNo">454</span>    map.put("timeRange", timeRange);<a name="line.454"></a>
-<span class="sourceLineNo">455</span>    int colCount = 0;<a name="line.455"></a>
-<span class="sourceLineNo">456</span>    // iterate through affected families and add details<a name="line.456"></a>
-<span class="sourceLineNo">457</span>    for (Map.Entry&lt;byte [], NavigableSet&lt;byte[]&gt;&gt; entry :<a name="line.457"></a>
-<span class="sourceLineNo">458</span>      this.familyMap.entrySet()) {<a name="line.458"></a>
-<span class="sourceLineNo">459</span>      List&lt;String&gt; familyList = new ArrayList&lt;&gt;();<a name="line.459"></a>
-<span class="sourceLineNo">460</span>      columns.put(Bytes.toStringBinary(entry.getKey()), familyList);<a name="line.460"></a>
-<span class="sourceLineNo">461</span>      if(entry.getValue() == null) {<a name="line.461"></a>
-<span class="sourceLineNo">462</span>        colCount++;<a name="line.462"></a>
-<span class="sourceLineNo">463</span>        --maxCols;<a name="line.463"></a>
-<span class="sourceLineNo">464</span>        familyList.add("ALL");<a name="line.464"></a>
-<span class="sourceLineNo">465</span>      } else {<a name="line.465"></a>
-<span class="sourceLineNo">466</span>        colCount += entry.getValue().size();<a name="line.466"></a>
-<span class="sourceLineNo">467</span>        if (maxCols &lt;= 0) {<a name="line.467"></a>
-<span class="sourceLineNo">468</span>          continue;<a name="line.468"></a>
-<span class="sourceLineNo">469</span>        }<a name="line.469"></a>
-<span class="sourceLineNo">470</span>        for (byte [] column : entry.getValue()) {<a name="line.470"></a>
-<span class="sourceLineNo">471</span>          if (--maxCols &lt;= 0) {<a name="line.471"></a>
-<span class="sourceLineNo">472</span>            continue;<a name="line.472"></a>
-<span class="sourceLineNo">473</span>          }<a name="line.473"></a>
-<span class="sourceLineNo">474</span>          familyList.add(Bytes.toStringBinary(column));<a name="line.474"></a>
-<span class="sourceLineNo">475</span>        }<a name="line.475"></a>
-<span class="sourceLineNo">476</span>      }<a name="line.476"></a>
-<span class="sourceLineNo">477</span>    }<a name="line.477"></a>
-<span class="sourceLineNo">478</span>    map.put("totalColumns", colCount);<a name="line.478"></a>
-<span class="sourceLineNo">479</span>    if (this.filter != null) {<a name="line.479"></a>
-<span class="sourceLineNo">480</span>      map.put("filter", this.filter.toString());<a name="line.480"></a>
-<span class="sourceLineNo">481</span>    }<a name="line.481"></a>
-<span class="sourceLineNo">482</span>    // add the id if set<a name="line.482"></a>
-<span class="sourceLineNo">483</span>    if (getId() != null) {<a name="line.483"></a>
-<span class="sourceLineNo">484</span>      map.put("id", getId());<a name="line.484"></a>
-<span class="sourceLineNo">485</span>    }<a name="line.485"></a>
-<span class="sourceLineNo">486</span>    return map;<a name="line.486"></a>
-<span class="sourceLineNo">487</span>  }<a name="line.487"></a>
-<span class="sourceLineNo">488</span><a name="line.488"></a>
-<span class="sourceLineNo">489</span>  //Row<a name="line.489"></a>
-<span class="sourceLineNo">490</span>  @Override<a name="line.490"></a>
-<span class="sourceLineNo">491</span>  public int compareTo(Row other) {<a name="line.491"></a>
-<span class="sourceLineNo">492</span>    // TODO: This is wrong.  Can't have two gets the same just because on same row.<a name="line.492"></a>
-<span class="sourceLineNo">493</span>    return Bytes.compareTo(this.getRow(), other.getRow());<a name="line.493"></a>
-<span class="sourceLineNo">494</span>  }<a name="line.494"></a>
-<span class="sourceLineNo">495</span><a name="line.495"></a>
-<span class="sourceLineNo">496</span>  @Override<a name="line.496"></a>
-<span class="sourceLineNo">497</span>  public int hashCode() {<a name="line.497"></a>
-<span class="sourceLineNo">498</span>    // TODO: This is wrong.  Can't have two gets the same just because on same row.  But it<a name="line.498"></a>
-<span class="sourceLineNo">499</span>    // matches how equals works currently and gets rid of the findbugs warning.<a name="line.499"></a>
-<span class="sourceLineNo">500</span>    return Bytes.hashCode(this.getRow());<a name="line.500"></a>
-<span class="sourceLineNo">501</span>  }<a name="line.501"></a>
-<span class="sourceLineNo">502</span><a name="line.502"></a>
-<span class="sourceLineNo">503</span>  @Override<a name="line.503"></a>
-<span class="sourceLineNo">504</span>  public boolean equals(Object obj) {<a name="line.504"></a>
-<span class="sourceLineNo">505</span>    if (this == obj) {<a name="line.505"></a>
-<span class="sourceLineNo">506</span>      return true;<a name="line.506"></a>
-<span class="sourceLineNo">507</span>    }<a name="line.507"></a>
-<span class="sourceLineNo">508</span>    if (obj == null || getClass() != obj.getClass()) {<a name="line.508"></a>
-<span class="sourceLineNo">509</span>      return false;<a name="line.509"></a>
-<span class="sourceLineNo">510</span>    }<a name="line.510"></a>
-<span class="sourceLineNo">511</span>    Row other = (Row) obj;<a name="line.511"></a>
-<span class="sourceLineNo">512</span>    // TODO: This is wrong.  Can't have two gets the same just because on same row.<a name="line.512"></a>
-<span class="sourceLineNo">513</span>    return compareTo(other) == 0;<a name="line.513"></a>
-<span class="sourceLineNo">514</span>  }<a name="line.514"></a>
-<span class="sourceLineNo">515</span><a name="line.515"></a>
-<span class="sourceLineNo">516</span>  @Override<a name="line.516"></a>
-<span class="sourceLineNo">517</span>  public Get setAttribute(String name, byte[] value) {<a name="line.517"></a>
-<span class="sourceLineNo">518</span>    return (Get) super.setAttribute(name, value);<a name="line.518"></a>
-<span class="sourceLineNo">519</span>  }<a name="line.519"></a>
-<span class="sourceLineNo">520</span><a name="line.520"></a>
-<span class="sourceLineNo">521</span>  @Override<a name="line.521"></a>
-<span class="sourceLineNo">522</span>  public Get setId(String id) {<a name="line.522"></a>
-<span class="sourceLineNo">523</span>    return (Get) super.setId(id);<a name="line.523"></a>
-<span class="sourceLineNo">524</span>  }<a name="line.524"></a>
-<span class="sourceLineNo">525</span><a name="line.525"></a>
-<span class="sourceLineNo">526</span>  @Override<a name="line.526"></a>
-<span class="sourceLineNo">527</span>  public Get setAuthorizations(Authorizations authorizations) {<a name="line.527"></a>
-<span class="sourceLineNo">528</span>    return (Get) super.setAuthorizations(authorizations);<a name="line.528"></a>
-<span class="sourceLineNo">529</span>  }<a name="line.529"></a>
-<span class="sourceLineNo">530</span><a name="line.530"></a>
-<span class="sourceLineNo">531</span>  @Override<a name="line.531"></a>
-<span class="sourceLineNo">532</span>  public Get setACL(Map&lt;String, Permission&gt; perms) {<a name="line.532"></a>
-<span class="sourceLineNo">533</span>    return (Get) super.setACL(perms);<a name="line.533"></a>
-<span class="sourceLineNo">534</span>  }<a name="line.534"></a>
-<span class="sourceLineNo">535</span><a name="line.535"></a>
-<span class="sourceLineNo">536</span>  @Override<a name="line.536"></a>
-<span class="sourceLineNo">537</span>  public Get setACL(String user, Permission perms) {<a name="line.537"></a>
-<span class="sourceLineNo">538</span>    return (Get) super.setACL(user, perms);<a name="line.538"></a>
-<span class="sourceLineNo">539</span>  }<a name="line.539"></a>
-<span class="sourceLineNo">540</span><a name="line.540"></a>
-<span class="sourceLineNo">541</span>  @Override<a name="line.541"></a>
-<span class="sourceLineNo">542</span>  public Get setConsistency(Consistency consistency) {<a name="line.542"></a>
-<span class="sourceLineNo">543</span>    return (Get) super.setConsistency(consistency);<a name="line.543"></a>
-<span class="sourceLineNo">544</span>  }<a name="line.544"></a>
-<span class="sourceLineNo">545</span><a name="line.545"></a>
-<span class="sourceLineNo">546</span>  @Override<a name="line.546"></a>
-<span class="sourceLineNo">547</span>  public Get setReplicaId(int Id) {<a name="line.547"></a>
-<span class="sourceLineNo">548</span>    return (Get) super.setReplicaId(Id);<a name="line.548"></a>
-<span class="sourceLineNo">549</span>  }<a name="line.549"></a>
-<span class="sourceLineNo">550</span><a name="line.550"></a>
-<span class="sourceLineNo">551</span>  @Override<a name="line.551"></a>
-<span class="sourceLineNo">552</span>  public Get setIsolationLevel(IsolationLevel level) {<a name="line.552"></a>
-<span class="sourceLineNo">553</span>      return (Get) super.setIsolationLevel(level);<a name="line.553"></a>
-<span class="sourceLineNo">554</span>  }<a name="line.554"></a>
-<span class="sourceLineNo">555</span><a name="line.555"></a>
-<span class="sourceLineNo">556</span>  @Override<a name="line.556"></a>
-<span class="sourceLineNo">557</span>  public Get setPriority(int priority) {<a name="line.557"></a>
-<span class="sourceLineNo">558</span>    return (Get) super.setPriority(priority);<a name="line.558"></a>
-<span class="sourceLineNo">559</span>  }<a name="line.559"></a>
-<span class="sourceLineNo">560</span>}<a name="line.560"></a>
+<span class="sourceLineNo">415</span>   * Method for retrieving the number of families to get from<a name="line.415"></a>
+<span class="sourceLineNo">416</span>   * @return number of families<a name="line.416"></a>
+<span class="sourceLineNo">417</span>   */<a name="line.417"></a>
+<span class="sourceLineNo">418</span>  public int numFamilies() {<a name="line.418"></a>
+<span class="sourceLineNo">419</span>    return this.familyMap.size();<a name="line.419"></a>
+<span class="sourceLineNo">420</span>  }<a name="line.420"></a>
+<span class="sourceLineNo">421</span><a name="line.421"></a>
+<span class="sourceLineNo">422</span>  /**<a name="line.422"></a>
+<span class="sourceLineNo">423</span>   * Method for checking if any families have been inserted into this Get<a name="line.423"></a>
+<span class="sourceLineNo">424</span>   * @return true if familyMap is non empty false otherwise<a name="line.424"></a>
+<span class="sourceLineNo">425</span>   */<a name="line.425"></a>
+<span class="sourceLineNo">426</span>  public boolean hasFamilies() {<a name="line.426"></a>
+<span class="sourceLineNo">427</span>    return !this.familyMap.isEmpty();<a name="line.427"></a>
+<span class="sourceLineNo">428</span>  }<a name="line.428"></a>
+<span class="sourceLineNo">429</span><a name="line.429"></a>
+<span class="sourceLineNo">430</span>  /**<a name="line.430"></a>
+<span class="sourceLineNo">431</span>   * Method for retrieving the get's familyMap<a name="line.431"></a>
+<span class="sourceLineNo">432</span>   * @return familyMap<a name="line.432"></a>
+<span class="sourceLineNo">433</span>   */<a name="line.433"></a>
+<span class="sourceLineNo">434</span>  public Map&lt;byte[],NavigableSet&lt;byte[]&gt;&gt; getFamilyMap() {<a name="line.434"></a>
+<span class="sourceLineNo">435</span>    return this.familyMap;<a name="line.435"></a>
+<span class="sourceLineNo">436</span>  }<a name="line.436"></a>
+<span class="sourceLineNo">437</span><a name="line.437"></a>
+<span class="sourceLineNo">438</span>  /**<a name="line.438"></a>
+<span class="sourceLineNo">439</span>   * Compile the table and column family (i.e. schema) information<a name="line.439"></a>
+<span class="sourceLineNo">440</span>   * into a String. Useful for parsing and aggregation by debugging,<a name="line.440"></a>
+<span class="sourceLineNo">441</span>   * logging, and administration tools.<a name="line.441"></a>
+<span class="sourceLineNo">442</span>   * @return Map<a name="line.442"></a>
+<span class="sourceLineNo">443</span>   */<a name="line.443"></a>
+<span class="sourceLineNo">444</span>  @Override<a name="line.444"></a>
+<span class="sourceLineNo">445</span>  public Map&lt;String, Object&gt; getFingerprint() {<a name="line.445"></a>
+<span class="sourceLineNo">446</span>    Map&lt;String, Object&gt; map = new HashMap&lt;&gt;();<a name="line.446"></a>
+<span class="sourceLineNo">447</span>    List&lt;String&gt; families = new ArrayList&lt;&gt;(this.familyMap.entrySet().size());<a name="line.447"></a>
+<span class="sourceLineNo">448</span>    map.put("families", families);<a name="line.448"></a>
+<span class="sourceLineNo">449</span>    for (Map.Entry&lt;byte [], NavigableSet&lt;byte[]&gt;&gt; entry :<a name="line.449"></a>
+<span class="sourceLineNo">450</span>      this.familyMap.entrySet()) {<a name="line.450"></a>
+<span class="sourceLineNo">451</span>      families.add(Bytes.toStringBinary(entry.getKey()));<a name="line.451"></a>
+<span class="sourceLineNo">452</span>    }<a name="line.452"></a>
+<span class="sourceLineNo">453</span>    return map;<a name="line.453"></a>
+<span class="sourceLineNo">454</span>  }<a name="line.454"></a>
+<span class="sourceLineNo">455</span><a name="line.455"></a>
+<span class="sourceLineNo">456</span>  /**<a name="line.456"></a>
+<span class="sourceLineNo">457</span>   * Compile the details beyond the scope of getFingerprint (row, columns,<a name="line.457"></a>
+<span class="sourceLineNo">458</span>   * timestamps, etc.) into a Map along with the fingerprinted information.<a name="line.458"></a>
+<span class="sourceLineNo">459</span>   * Useful for debugging, logging, and administration tools.<a name="line.459"></a>
+<span class="sourceLineNo">460</span>   * @param maxCols a limit on the number of columns output prior to truncation<a name="line.460"></a>
+<span class="sourceLineNo">461</span>   * @return Map<a name="line.461"></a>
+<span class="sourceLineNo">462</span>   */<a name="line.462"></a>
+<span class="sourceLineNo">463</span>  @Override<a name="line.463"></a>
+<span class="sourceLineNo">464</span>  public Map&lt;String, Object&gt; toMap(int maxCols) {<a name="line.464"></a>
+<span class="sourceLineNo">465</span>    // we start with the fingerprint map and build on top of it.<a name="line.465"></a>
+<span class="sourceLineNo">466</span>    Map&lt;String, Object&gt; map = getFingerprint();<a name="line.466"></a>
+<span class="sourceLineNo">467</span>    // replace the fingerprint's simple list of families with a<a name="line.467"></a>
+<span class="sourceLineNo">468</span>    // map from column families to lists of qualifiers and kv details<a name="line.468"></a>
+<span class="sourceLineNo">469</span>    Map&lt;String, List&lt;String&gt;&gt; columns = new HashMap&lt;&gt;();<a name="line.469"></a>
+<span class="sourceLineNo">470</span>    map.put("families", columns);<a name="line.470"></a>
+<span class="sourceLineNo">471</span>    // add scalar information first<a name="line.471"></a>
+<span class="sourceLineNo">472</span>    map.put("row", Bytes.toStringBinary(this.row));<a name="line.472"></a>
+<span class="sourceLineNo">473</span>    map.put("maxVersions", this.maxVersions);<a name="line.473"></a>
+<span class="sourceLineNo">474</span>    map.put("cacheBlocks", this.cacheBlocks);<a name="line.474"></a>
+<span class="sourceLineNo">475</span>    List&lt;Long&gt; timeRange = new ArrayList&lt;&gt;(2);<a name="line.475"></a>
+<span class="sourceLineNo">476</span>    timeRange.add(this.tr.getMin());<a name="line.476"></a>
+<span class="sourceLineNo">477</span>    timeRange.add(this.tr.getMax());<a name="line.477"></a>
+<span class="sourceLineNo">478</span>    map.put("timeRange", timeRange);<a name="line.478"></a>
+<span class="sourceLineNo">479</span>    int colCount = 0;<a name="line.479"></a>
+<span class="sourceLineNo">480</span>    // iterate through affected families and add details<a name="line.480"></a>
+<span class="sourceLineNo">481</span>    for (Map.Entry&lt;byte [], NavigableSet&lt;byte[]&gt;&gt; entry :<a name="line.481"></a>
+<span class="sourceLineNo">482</span>      this.familyMap.entrySet()) {<a name="line.482"></a>
+<span class="sourceLineNo">483</span>      List&lt;String&gt; familyList = new ArrayList&lt;&gt;();<a name="line.483"></a>
+<span class="sourceLineNo">484</span>      columns.put(Bytes.toStringBinary(entry.getKey()), familyList);<a name="line.484"></a>
+<span class="sourceLineNo">485</span>      if(entry.getValue() == null) {<a name="line.485"></a>
+<span class="sourceLineNo">486</span>        colCount++;<a name="line.486"></a>
+<span class="sourceLineNo">487</span>        --maxCols;<a name="line.487"></a>
+<span class="sourceLineNo">488</span>        familyList.add("ALL");<a name="line.488"></a>
+<span class="sourceLineNo">489</span>      } else {<a name="line.489"></a>
+<span class="sourceLineNo">490</span>        colCount += entry.getValue().size();<a name="line.490"></a>
+<span class="sourceLineNo">491</span>        if (maxCols &lt;= 0) {<a name="line.491"></a>
+<span class="sourceLineNo">492</span>          continue;<a name="line.492"></a>
+<span class="sourceLineNo">493</span>        }<a name="line.493"></a>
+<span class="sourceLineNo">494</span>        for (byte [] column : entry.getValue()) {<a name="line.494"></a>
+<span class="sourceLineNo">495</span>          if (--maxCols &lt;= 0) {<a name="line.495"></a>
+<span class="sourceLineNo">496</span>            continue;<a name="line.496"></a>
+<span class="sourceLineNo">497</span>          }<a name="line.497"></a>
+<span class="sourceLineNo">498</span>          familyList.add(Bytes.toStringBinary(column));<a name="line.498"></a>
+<span class="sourceLineNo">499</span>        }<a name="line.499"></a>
+<span class="sourceLineNo">500</span>      }<a name="line.500"></a>
+<span class="sourceLineNo">501</span>    }<a name="line.501"></a>
+<span class="sourceLineNo">502</span>    map.put("totalColumns", colCount);<a name="line.502"></a>
+<span class="sourceLineNo">503</span>    if (this.filter != null) {<a name="line.503"></a>
+<span class="sourceLineNo">504</span>      map.put("filter", this.filter.toString());<a name="line.504"></a>
+<span class="sourceLineNo">505</span>    }<a name="line.505"></a>
+<span class="sourceLineNo">506</span>    // add the id if set<a name="line.506"></a>
+<span class="sourceLineNo">507</span>    if (getId() != null) {<a name="line.507"></a>
+<span class="sourceLineNo">508</span>      map.put("id", getId());<a name="line.508"></a>
+<span class="sourceLineNo">509</span>    }<a name="line.509"></a>
+<span class="sourceLineNo">510</span>    return map;<a name="line.510"></a>
+<span class="sourceLineNo">511</span>  }<a name="line.511"></a>
+<span class="sourceLineNo">512</span><a name="line.512"></a>
+<span class="sourceLineNo">513</span>  //Row<a name="line.513"></a>
+<span class="sourceLineNo">514</span>  @Override<a name="line.514"></a>
+<span class="sourceLineNo">515</span>  public int compareTo(Row other) {<a name="line.515"></a>
+<span class="sourceLineNo">516</span>    // TODO: This is wrong.  Can't have two gets the same just because on same row.<a name="line.516"></a>
+<span class="sourceLineNo">517</span>    return Bytes.compareTo(this.getRow(), other.getRow());<a name="line.517"></a>
+<span class="sourceLineNo">518</span>  }<a name="line.518"></a>
+<span class="sourceLineNo">519</span><a name="line.519"></a>
+<span class="sourceLineNo">520</span>  @Override<a name="line.520"></a>
+<span class="sourceLineNo">521</span>  public int hashCode() {<a name="line.521"></a>
+<span class="sourceLineNo">522</span>    // TODO: This is wrong.  Can't have two gets the same just because on same row.  But it<a name="line.522"></a>
+<span class="sourceLineNo">523</span>    // matches how equals works currently and gets rid of the findbugs warning.<a name="line.523"></a>
+<span class="sourceLineNo">524</span>    return Bytes.hashCode(this.getRow());<a name="line.524"></a>
+<span class="sourceLineNo">525</span>  }<a name="line.525"></a>
+<span class="sourceLineNo">526</span><a name="line.526"></a>
+<span class="sourceLineNo">527</span>  @Override<a name="line.527"></a>
+<span class="sourceLineNo">528</span>  public boolean equals(Object obj) {<a name="line.528"></a>
+<span class="sourceLineNo">529</span>    if (this == obj) {<a name="line.529"></a>
+<span class="sourceLineNo">530</span>      return true;<a name="line.530"></a>
+<span class="sourceLineNo">531</span>    }<a name="line.531"></a>
+<span class="sourceLineNo">532</span>    if (obj == null || getClass() != obj.getClass()) {<a name="line.532"></a>
+<span class="sourceLineNo">533</span>      return false;<a name="line.533"></a>
+<span class="sourceLineNo">534</span>    }<a name="line.534"></a>
+<span class="sourceLineNo">535</span>    Row other = (Row) obj;<a name="line.535"></a>
+<span class="sourceLineNo">536</span>    // TODO: This is wrong.  Can't have two gets the same just because on same row.<a name="line.536"></a>
+<span class="sourceLineNo">537</span>    return compareTo(other) == 0;<a name="line.537"></a>
+<span class="sourceLineNo">538</span>  }<a name="line.538"></a>
+<span class="sourceLineNo">539</span><a name="line.539"></a>
+<span class="sourceLineNo">540</span>  @Override<a name="line.540"></a>
+<span class="sourceLineNo">541</span>  public Get setAttribute(String name, byte[] value) {<a name="line.541"></a>
+<span class="sourceLineNo">542</span>    return (Get) super.setAttribute(name, value);<a name="line.542"></a>
+<span class="sourceLineNo">543</span>  }<a name="line.543"></a>
+<span class="sourceLineNo">544</span><a name="line.544"></a>
+<span class="sourceLineNo">545</span>  @Override<a name="line.545"></a>
+<span class="sourceLineNo">546</span>  public Get setId(String id) {<a name="line.546"></a>
+<span class="sourceLineNo">547</span>    return (Get) super.setId(id);<a name="line.547"></a>
+<span class="sourceLineNo">548</span>  }<a name="line.548"></a>
+<span class="sourceLineNo">549</span><a name="line.549"></a>
+<span class="sourceLineNo">550</span>  @Override<a name="line.550"></a>
+<span class="sourceLineNo">551</span>  public Get setAuthorizations(Authorizations authorizations) {<a name="line.551"></a>
+<span class="sourceLineNo">552</span>    return (Get) super.setAuthorizations(authorizations);<a name="line.552"></a>
+<span class="sourceLineNo">553</span>  }<a name="line.553"></a>
+<span class="sourceLineNo">554</span><a name="line.554"></a>
+<span class="sourceLineNo">555</span>  @Override<a name="line.555"></a>
+<span class="sourceLineNo">556</span>  public Get setACL(Map&lt;String, Permission&gt; perms) {<a name="line.556"></a>
+<span class="sourceLineNo">557</span>    return (Get) super.setACL(perms);<a name="line.557"></a>
+<span class="sourceLineNo">558</span>  }<a name="line.558"></a>
+<span class="sourceLineNo">559</span><a name="line.559"></a>
+<span class="sourceLineNo">560</span>  @Override<a name="line.560"></a>
+<span class="sourceLineNo">561</span>  public Get setACL(String user, Permission perms) {<a name="line.561"></a>
+<span class="sourceLineNo">562</span>    return (Get) super.setACL(user, perms);<a name="line.562"></a>
+<span class="sourceLineNo">563</span>  }<a name="line.563"></a>
+<span class="sourceLineNo">564</span><a name="line.564"></a>
+<span class="sourceLineNo">565</span>  @Override<a name="line.565"></a>
+<span class="sourceLineNo">566</span>  public Get setConsistency(Consistency consistency) {<a name="line.566"></a>
+<span class="sourceLineNo">567</span>    return (Get) super.setConsistency(consistency);<a name="line.567"></a>
+<span class="sourceLineNo">568</span>  }<a name="line.568"></a>
+<span class="sourceLineNo">569</span><a name="line.569"></a>
+<span class="sourceLineNo">570</span>  @Override<a name="line.570"></a>
+<span class="sourceLineNo">571</span>  public Get setReplicaId(int Id) {<a name="line.571"></a>
+<span class="sourceLineNo">572</span>    return (Get) super.setReplicaId(Id);<a name="line.572"></a>
+<span class="sourceLineNo">573</span>  }<a name="line.573"></a>
+<span class="sourceLineNo">574</span><a name="line.574"></a>
+<span class="sourceLineNo">575</span>  @Override<a name="line.575"></a>
+<span class="sourceLineNo">576</span>  public Get setIsolationLevel(IsolationLevel level) {<a name="line.576"></a>
+<span class="sourceLineNo">577</span>      return (Get) super.setIsolationLevel(level);<a name="line.577"></a>
+<span class="sourceLineNo">578</span>  }<a name="line.578"></a>
+<span class="sourceLineNo">579</span><a name="line.579"></a>
+<span class="sourceLineNo">580</span>  @Override<a name="line.580"></a>
+<span class="sourceLineNo">581</span>  public Get setPriority(int priority) {<a name="line.581"></a>
+<span class="sourceLineNo">582</span>    return (Get) super.setPriority(priority);<a name="line.582"></a>
+<span class="sourceLineNo">583</span>  }<a name="line.583"></a>
+<span class="sourceLineNo">584</span>}<a name="line.584"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/346adc37/apidocs/src-html/org/apache/hadoop/hbase/client/Query.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Query.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Query.html
index d9ab92a..50a358b 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/client/Query.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Query.html
@@ -61,9 +61,9 @@
 <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>  /**<a name="line.55"></a>
-<span class="sourceLineNo">056</span>   * Apply the specified server-side filter when performing the Query.<a name="line.56"></a>
-<span class="sourceLineNo">057</span>   * Only {@link Filter#filterKeyValue(org.apache.hadoop.hbase.Cell)} is called AFTER all tests<a name="line.57"></a>
-<span class="sourceLineNo">058</span>   * for ttl, column match, deletes and max versions have been run.<a name="line.58"></a>
+<span class="sourceLineNo">056</span>   * Apply the specified server-side filter when performing the Query. Only<a name="line.56"></a>
+<span class="sourceLineNo">057</span>   * {@link Filter#filterKeyValue(org.apache.hadoop.hbase.Cell)} is called AFTER all tests for ttl,<a name="line.57"></a>
+<span class="sourceLineNo">058</span>   * column match, deletes and column family's max versions have been run.<a name="line.58"></a>
 <span class="sourceLineNo">059</span>   * @param filter filter to run on the server<a name="line.59"></a>
 <span class="sourceLineNo">060</span>   * @return this for invocation chaining<a name="line.60"></a>
 <span class="sourceLineNo">061</span>   */<a name="line.61"></a>


Mime
View raw message