http://git-wip-us.apache.org/repos/asf/hbase-site/blob/9dfe3cd8/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html ---------------------------------------------------------------------- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html index ed21559..da6c0fb 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html @@ -192,254 +192,253 @@ <span class="sourceLineNo">184</span> long amount, Durability durability) {<a name="line.184"></a> <span class="sourceLineNo">185</span> Preconditions.checkNotNull(row, "row is null");<a name="line.185"></a> <span class="sourceLineNo">186</span> Preconditions.checkNotNull(family, "family is null");<a name="line.186"></a> -<span class="sourceLineNo">187</span> Preconditions.checkNotNull(qualifier, "qualifier is null");<a name="line.187"></a> -<span class="sourceLineNo">188</span> return increment(<a name="line.188"></a> -<span class="sourceLineNo">189</span> new Increment(row).addColumn(family, qualifier, amount).setDurability(durability))<a name="line.189"></a> -<span class="sourceLineNo">190</span> .thenApply(r -> Bytes.toLong(r.getValue(family, qualifier)));<a name="line.190"></a> -<span class="sourceLineNo">191</span> }<a name="line.191"></a> -<span class="sourceLineNo">192</span><a name="line.192"></a> -<span class="sourceLineNo">193</span> /**<a name="line.193"></a> -<span class="sourceLineNo">194</span> * Atomically checks if a row/family/qualifier value equals to the expected value. If it does, it<a name="line.194"></a> -<span class="sourceLineNo">195</span> * adds the put. If the passed value is null, the check is for the lack of column (ie:<a name="line.195"></a> -<span class="sourceLineNo">196</span> * non-existence)<a name="line.196"></a> -<span class="sourceLineNo">197</span> * @param row to check<a name="line.197"></a> -<span class="sourceLineNo">198</span> * @param family column family to check<a name="line.198"></a> -<span class="sourceLineNo">199</span> * @param qualifier column qualifier to check<a name="line.199"></a> -<span class="sourceLineNo">200</span> * @param value the expected value<a name="line.200"></a> -<span class="sourceLineNo">201</span> * @param put data to put if check succeeds<a name="line.201"></a> -<span class="sourceLineNo">202</span> * @return true if the new put was executed, false otherwise. The return value will be wrapped by<a name="line.202"></a> -<span class="sourceLineNo">203</span> * a {@link CompletableFuture}.<a name="line.203"></a> -<span class="sourceLineNo">204</span> */<a name="line.204"></a> -<span class="sourceLineNo">205</span> default CompletableFuture<Boolean> checkAndPut(byte[] row, byte[] family, byte[] qualifier,<a name="line.205"></a> -<span class="sourceLineNo">206</span> byte[] value, Put put) {<a name="line.206"></a> -<span class="sourceLineNo">207</span> return checkAndPut(row, family, qualifier, CompareOp.EQUAL, value, put);<a name="line.207"></a> -<span class="sourceLineNo">208</span> }<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> * Atomically checks if a row/family/qualifier value matches the expected value. If it does, it<a name="line.211"></a> -<span class="sourceLineNo">212</span> * adds the put. If the passed value is null, the check is for the lack of column (ie:<a name="line.212"></a> -<span class="sourceLineNo">213</span> * non-existence)<a name="line.213"></a> -<span class="sourceLineNo">214</span> * @param row to check<a name="line.214"></a> -<span class="sourceLineNo">215</span> * @param family column family to check<a name="line.215"></a> -<span class="sourceLineNo">216</span> * @param qualifier column qualifier to check<a name="line.216"></a> -<span class="sourceLineNo">217</span> * @param compareOp comparison operator to use<a name="line.217"></a> -<span class="sourceLineNo">218</span> * @param value the expected value<a name="line.218"></a> -<span class="sourceLineNo">219</span> * @param put data to put if check succeeds<a name="line.219"></a> -<span class="sourceLineNo">220</span> * @return true if the new put was executed, false otherwise. The return value will be wrapped by<a name="line.220"></a> -<span class="sourceLineNo">221</span> * a {@link CompletableFuture}.<a name="line.221"></a> -<span class="sourceLineNo">222</span> */<a name="line.222"></a> -<span class="sourceLineNo">223</span> CompletableFuture<Boolean> checkAndPut(byte[] row, byte[] family, byte[] qualifier,<a name="line.223"></a> -<span class="sourceLineNo">224</span> CompareOp compareOp, byte[] value, Put put);<a name="line.224"></a> -<span class="sourceLineNo">225</span><a name="line.225"></a> -<span class="sourceLineNo">226</span> /**<a name="line.226"></a> -<span class="sourceLineNo">227</span> * Atomically checks if a row/family/qualifier value equals to the expected value. If it does, it<a name="line.227"></a> -<span class="sourceLineNo">228</span> * adds the delete. If the passed value is null, the check is for the lack of column (ie:<a name="line.228"></a> -<span class="sourceLineNo">229</span> * non-existence)<a name="line.229"></a> -<span class="sourceLineNo">230</span> * @param row to check<a name="line.230"></a> -<span class="sourceLineNo">231</span> * @param family column family to check<a name="line.231"></a> -<span class="sourceLineNo">232</span> * @param qualifier column qualifier to check<a name="line.232"></a> -<span class="sourceLineNo">233</span> * @param value the expected value<a name="line.233"></a> -<span class="sourceLineNo">234</span> * @param delete data to delete if check succeeds<a name="line.234"></a> -<span class="sourceLineNo">235</span> * @return true if the new delete was executed, false otherwise. The return value will be wrapped<a name="line.235"></a> -<span class="sourceLineNo">236</span> * by a {@link CompletableFuture}.<a name="line.236"></a> -<span class="sourceLineNo">237</span> */<a name="line.237"></a> -<span class="sourceLineNo">238</span> default CompletableFuture<Boolean> checkAndDelete(byte[] row, byte[] family, byte[] qualifier,<a name="line.238"></a> -<span class="sourceLineNo">239</span> byte[] value, Delete delete) {<a name="line.239"></a> -<span class="sourceLineNo">240</span> return checkAndDelete(row, family, qualifier, CompareOp.EQUAL, value, delete);<a name="line.240"></a> -<span class="sourceLineNo">241</span> }<a name="line.241"></a> -<span class="sourceLineNo">242</span><a name="line.242"></a> -<span class="sourceLineNo">243</span> /**<a name="line.243"></a> -<span class="sourceLineNo">244</span> * Atomically checks if a row/family/qualifier value matches the expected value. If it does, it<a name="line.244"></a> -<span class="sourceLineNo">245</span> * adds the delete. If the passed value is null, the check is for the lack of column (ie:<a name="line.245"></a> -<span class="sourceLineNo">246</span> * non-existence)<a name="line.246"></a> -<span class="sourceLineNo">247</span> * @param row to check<a name="line.247"></a> -<span class="sourceLineNo">248</span> * @param family column family to check<a name="line.248"></a> -<span class="sourceLineNo">249</span> * @param qualifier column qualifier to check<a name="line.249"></a> -<span class="sourceLineNo">250</span> * @param compareOp comparison operator to use<a name="line.250"></a> -<span class="sourceLineNo">251</span> * @param value the expected value<a name="line.251"></a> -<span class="sourceLineNo">252</span> * @param delete data to delete if check succeeds<a name="line.252"></a> -<span class="sourceLineNo">253</span> * @return true if the new delete was executed, false otherwise. The return value will be wrapped<a name="line.253"></a> -<span class="sourceLineNo">254</span> * by a {@link CompletableFuture}.<a name="line.254"></a> -<span class="sourceLineNo">255</span> */<a name="line.255"></a> -<span class="sourceLineNo">256</span> CompletableFuture<Boolean> checkAndDelete(byte[] row, byte[] family, byte[] qualifier,<a name="line.256"></a> -<span class="sourceLineNo">257</span> CompareOp compareOp, byte[] value, Delete delete);<a name="line.257"></a> -<span class="sourceLineNo">258</span><a name="line.258"></a> -<span class="sourceLineNo">259</span> /**<a name="line.259"></a> -<span class="sourceLineNo">260</span> * Performs multiple mutations atomically on a single row. Currently {@link Put} and<a name="line.260"></a> -<span class="sourceLineNo">261</span> * {@link Delete} are supported.<a name="line.261"></a> -<span class="sourceLineNo">262</span> * @param mutation object that specifies the set of mutations to perform atomically<a name="line.262"></a> -<span class="sourceLineNo">263</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.263"></a> -<span class="sourceLineNo">264</span> */<a name="line.264"></a> -<span class="sourceLineNo">265</span> CompletableFuture<Void> mutateRow(RowMutations mutation);<a name="line.265"></a> -<span class="sourceLineNo">266</span><a name="line.266"></a> -<span class="sourceLineNo">267</span> /**<a name="line.267"></a> -<span class="sourceLineNo">268</span> * Atomically checks if a row/family/qualifier value equals to the expected value. If it does, it<a name="line.268"></a> -<span class="sourceLineNo">269</span> * performs the row mutations. If the passed value is null, the check is for the lack of column<a name="line.269"></a> -<span class="sourceLineNo">270</span> * (ie: non-existence)<a name="line.270"></a> -<span class="sourceLineNo">271</span> * @param row to check<a name="line.271"></a> -<span class="sourceLineNo">272</span> * @param family column family to check<a name="line.272"></a> -<span class="sourceLineNo">273</span> * @param qualifier column qualifier to check<a name="line.273"></a> -<span class="sourceLineNo">274</span> * @param value the expected value<a name="line.274"></a> -<span class="sourceLineNo">275</span> * @param mutation mutations to perform if check succeeds<a name="line.275"></a> -<span class="sourceLineNo">276</span> * @return true if the new put was executed, false otherwise. The return value will be wrapped by<a name="line.276"></a> -<span class="sourceLineNo">277</span> * a {@link CompletableFuture}.<a name="line.277"></a> -<span class="sourceLineNo">278</span> */<a name="line.278"></a> -<span class="sourceLineNo">279</span> default CompletableFuture<Boolean> checkAndMutate(byte[] row, byte[] family, byte[] qualifier,<a name="line.279"></a> -<span class="sourceLineNo">280</span> byte[] value, RowMutations mutation) {<a name="line.280"></a> -<span class="sourceLineNo">281</span> return checkAndMutate(row, family, qualifier, CompareOp.EQUAL, value, mutation);<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> * Atomically checks if a row/family/qualifier value matches the expected value. If it does, it<a name="line.285"></a> -<span class="sourceLineNo">286</span> * performs the row mutations. If the passed value is null, the check is for the lack of column<a name="line.286"></a> -<span class="sourceLineNo">287</span> * (ie: non-existence)<a name="line.287"></a> -<span class="sourceLineNo">288</span> * @param row to check<a name="line.288"></a> -<span class="sourceLineNo">289</span> * @param family column family to check<a name="line.289"></a> -<span class="sourceLineNo">290</span> * @param qualifier column qualifier to check<a name="line.290"></a> -<span class="sourceLineNo">291</span> * @param compareOp the comparison operator<a name="line.291"></a> -<span class="sourceLineNo">292</span> * @param value the expected value<a name="line.292"></a> -<span class="sourceLineNo">293</span> * @param mutation mutations to perform if check succeeds<a name="line.293"></a> -<span class="sourceLineNo">294</span> * @return true if the new put was executed, false otherwise. The return value will be wrapped by<a name="line.294"></a> -<span class="sourceLineNo">295</span> * a {@link CompletableFuture}.<a name="line.295"></a> -<span class="sourceLineNo">296</span> */<a name="line.296"></a> -<span class="sourceLineNo">297</span> CompletableFuture<Boolean> checkAndMutate(byte[] row, byte[] family, byte[] qualifier,<a name="line.297"></a> -<span class="sourceLineNo">298</span> CompareOp compareOp, byte[] value, RowMutations mutation);<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> * Return all the results that match the given scan object.<a name="line.301"></a> -<span class="sourceLineNo">302</span> * <p><a name="line.302"></a> -<span class="sourceLineNo">303</span> * Notice that usually you should use this method with a {@link Scan} object that has limit set.<a name="line.303"></a> -<span class="sourceLineNo">304</span> * For example, if you want to get the closest row after a given row, you could do this:<a name="line.304"></a> -<span class="sourceLineNo">305</span> * <p><a name="line.305"></a> -<span class="sourceLineNo">306</span> *<a name="line.306"></a> -<span class="sourceLineNo">307</span> * <pre><a name="line.307"></a> -<span class="sourceLineNo">308</span> * <code><a name="line.308"></a> -<span class="sourceLineNo">309</span> * table.scanAll(new Scan().withStartRow(row, false).setLimit(1)).thenAccept(results -> {<a name="line.309"></a> -<span class="sourceLineNo">310</span> * if (results.isEmpty()) {<a name="line.310"></a> -<span class="sourceLineNo">311</span> * System.out.println("No row after " + Bytes.toStringBinary(row));<a name="line.311"></a> -<span class="sourceLineNo">312</span> * } else {<a name="line.312"></a> -<span class="sourceLineNo">313</span> * System.out.println("The closest row after " + Bytes.toStringBinary(row) + " is "<a name="line.313"></a> -<span class="sourceLineNo">314</span> * + Bytes.toStringBinary(results.stream().findFirst().get().getRow()));<a name="line.314"></a> -<span class="sourceLineNo">315</span> * }<a name="line.315"></a> -<span class="sourceLineNo">316</span> * });<a name="line.316"></a> -<span class="sourceLineNo">317</span> * </code><a name="line.317"></a> -<span class="sourceLineNo">318</span> * </pre><a name="line.318"></a> -<span class="sourceLineNo">319</span> * <p><a name="line.319"></a> -<span class="sourceLineNo">320</span> * If your result set is very large, you should use other scan method to get a scanner or use<a name="line.320"></a> -<span class="sourceLineNo">321</span> * callback to process the results. They will do chunking to prevent OOM. The scanAll method will<a name="line.321"></a> -<span class="sourceLineNo">322</span> * fetch all the results and store them in a List and then return the list to you.<a name="line.322"></a> -<span class="sourceLineNo">323</span> * <p><a name="line.323"></a> -<span class="sourceLineNo">324</span> * The scan metrics will be collected background if you enable it but you have no way to get it.<a name="line.324"></a> -<span class="sourceLineNo">325</span> * Usually you can get scan metrics from {@code ResultScanner}, or through<a name="line.325"></a> -<span class="sourceLineNo">326</span> * {@code ScanResultConsumer.onScanMetricsCreated} but this method only returns a list of results.<a name="line.326"></a> -<span class="sourceLineNo">327</span> * So if you really care about scan metrics then you'd better use other scan methods which return<a name="line.327"></a> -<span class="sourceLineNo">328</span> * a {@code ResultScanner} or let you pass in a {@code ScanResultConsumer}. There is no<a name="line.328"></a> -<span class="sourceLineNo">329</span> * performance difference between these scan methods so do not worry.<a name="line.329"></a> -<span class="sourceLineNo">330</span> * @param scan A configured {@link Scan} object. So if you use this method to fetch a really large<a name="line.330"></a> -<span class="sourceLineNo">331</span> * result set, it is likely to cause OOM.<a name="line.331"></a> -<span class="sourceLineNo">332</span> * @return The results of this small scan operation. The return value will be wrapped by a<a name="line.332"></a> -<span class="sourceLineNo">333</span> * {@link CompletableFuture}.<a name="line.333"></a> -<span class="sourceLineNo">334</span> */<a name="line.334"></a> -<span class="sourceLineNo">335</span> CompletableFuture<List<Result>> scanAll(Scan scan);<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> * Test for the existence of columns in the table, as specified by the Gets.<a name="line.338"></a> -<span class="sourceLineNo">339</span> * <p><a name="line.339"></a> -<span class="sourceLineNo">340</span> * This will return a list of booleans. Each value will be true if the related Get matches one or<a name="line.340"></a> -<span class="sourceLineNo">341</span> * more keys, false if not.<a name="line.341"></a> -<span class="sourceLineNo">342</span> * <p><a name="line.342"></a> -<span class="sourceLineNo">343</span> * This is a server-side call so it prevents any data from being transferred to the client.<a name="line.343"></a> -<span class="sourceLineNo">344</span> * @param gets the Gets<a name="line.344"></a> -<span class="sourceLineNo">345</span> * @return A list of {@link CompletableFuture}s that represent the existence for each get.<a name="line.345"></a> -<span class="sourceLineNo">346</span> */<a name="line.346"></a> -<span class="sourceLineNo">347</span> default List<CompletableFuture<Boolean>> exists(List<Get> gets) {<a name="line.347"></a> -<span class="sourceLineNo">348</span> return get(toCheckExistenceOnly(gets)).stream()<a name="line.348"></a> -<span class="sourceLineNo">349</span> .<CompletableFuture<Boolean>> map(f -> f.thenApply(r -> r.getExists())).collect(toList());<a name="line.349"></a> -<span class="sourceLineNo">350</span> }<a name="line.350"></a> -<span class="sourceLineNo">351</span><a name="line.351"></a> -<span class="sourceLineNo">352</span> /**<a name="line.352"></a> -<span class="sourceLineNo">353</span> * A simple version for batch exists. It will fail if there are any failures and you will get the<a name="line.353"></a> -<span class="sourceLineNo">354</span> * whole result boolean list at once if the operation is succeeded.<a name="line.354"></a> -<span class="sourceLineNo">355</span> * @param gets the Gets<a name="line.355"></a> -<span class="sourceLineNo">356</span> * @return A {@link CompletableFuture} that wrapper the result boolean list.<a name="line.356"></a> -<span class="sourceLineNo">357</span> */<a name="line.357"></a> -<span class="sourceLineNo">358</span> default CompletableFuture<List<Boolean>> existsAll(List<Get> gets) {<a name="line.358"></a> -<span class="sourceLineNo">359</span> return allOf(exists(gets));<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> * Extracts certain cells from the given rows, in batch.<a name="line.363"></a> -<span class="sourceLineNo">364</span> * <p><a name="line.364"></a> -<span class="sourceLineNo">365</span> * Notice that you may not get all the results with this function, which means some of the<a name="line.365"></a> -<span class="sourceLineNo">366</span> * returned {@link CompletableFuture}s may succeed while some of the other returned<a name="line.366"></a> -<span class="sourceLineNo">367</span> * {@link CompletableFuture}s may fail.<a name="line.367"></a> -<span class="sourceLineNo">368</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.368"></a> -<span class="sourceLineNo">369</span> * @return A list of {@link CompletableFuture}s that represent the result for each get.<a name="line.369"></a> -<span class="sourceLineNo">370</span> */<a name="line.370"></a> -<span class="sourceLineNo">371</span> List<CompletableFuture<Result>> get(List<Get> gets);<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> * A simple version for batch get. It will fail if there are any failures and you will get the<a name="line.374"></a> -<span class="sourceLineNo">375</span> * whole result list at once if the operation is succeeded.<a name="line.375"></a> -<span class="sourceLineNo">376</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.376"></a> -<span class="sourceLineNo">377</span> * @return A {@link CompletableFuture} that wrapper the result list.<a name="line.377"></a> -<span class="sourceLineNo">378</span> */<a name="line.378"></a> -<span class="sourceLineNo">379</span> default CompletableFuture<List<Result>> getAll(List<Get> gets) {<a name="line.379"></a> -<span class="sourceLineNo">380</span> return allOf(get(gets));<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> /**<a name="line.383"></a> -<span class="sourceLineNo">384</span> * Puts some data in the table, in batch.<a name="line.384"></a> -<span class="sourceLineNo">385</span> * @param puts The list of mutations to apply.<a name="line.385"></a> -<span class="sourceLineNo">386</span> * @return A list of {@link CompletableFuture}s that represent the result for each put.<a name="line.386"></a> -<span class="sourceLineNo">387</span> */<a name="line.387"></a> -<span class="sourceLineNo">388</span> List<CompletableFuture<Void>> put(List<Put> puts);<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> * A simple version of batch put. It will fail if there are any failures.<a name="line.391"></a> -<span class="sourceLineNo">392</span> * @param puts The list of mutations to apply.<a name="line.392"></a> -<span class="sourceLineNo">393</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.393"></a> -<span class="sourceLineNo">394</span> */<a name="line.394"></a> -<span class="sourceLineNo">395</span> default CompletableFuture<Void> putAll(List<Put> puts) {<a name="line.395"></a> -<span class="sourceLineNo">396</span> return allOf(put(puts)).thenApply(r -> null);<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> /**<a name="line.399"></a> -<span class="sourceLineNo">400</span> * Deletes the specified cells/rows in bulk.<a name="line.400"></a> -<span class="sourceLineNo">401</span> * @param deletes list of things to delete.<a name="line.401"></a> -<span class="sourceLineNo">402</span> * @return A list of {@link CompletableFuture}s that represent the result for each delete.<a name="line.402"></a> -<span class="sourceLineNo">403</span> */<a name="line.403"></a> -<span class="sourceLineNo">404</span> List<CompletableFuture<Void>> delete(List<Delete> deletes);<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> * A simple version of batch delete. It will fail if there are any failures.<a name="line.407"></a> -<span class="sourceLineNo">408</span> * @param deletes list of things to delete.<a name="line.408"></a> -<span class="sourceLineNo">409</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.409"></a> -<span class="sourceLineNo">410</span> */<a name="line.410"></a> -<span class="sourceLineNo">411</span> default CompletableFuture<Void> deleteAll(List<Delete> deletes) {<a name="line.411"></a> -<span class="sourceLineNo">412</span> return allOf(delete(deletes)).thenApply(r -> null);<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> /**<a name="line.415"></a> -<span class="sourceLineNo">416</span> * Method that does a batch call on Deletes, Gets, Puts, Increments and Appends. The ordering of<a name="line.416"></a> -<span class="sourceLineNo">417</span> * execution of the actions is not defined. Meaning if you do a Put and a Get in the same<a name="line.417"></a> -<span class="sourceLineNo">418</span> * {@link #batch} call, you will not necessarily be guaranteed that the Get returns what the Put<a name="line.418"></a> -<span class="sourceLineNo">419</span> * had put.<a name="line.419"></a> -<span class="sourceLineNo">420</span> * @param actions list of Get, Put, Delete, Increment, Append objects<a name="line.420"></a> -<span class="sourceLineNo">421</span> * @return A list of {@link CompletableFuture}s that represent the result for each action.<a name="line.421"></a> -<span class="sourceLineNo">422</span> */<a name="line.422"></a> -<span class="sourceLineNo">423</span> <T> List<CompletableFuture<T>> batch(List<? extends Row> actions);<a name="line.423"></a> -<span class="sourceLineNo">424</span><a name="line.424"></a> -<span class="sourceLineNo">425</span> /**<a name="line.425"></a> -<span class="sourceLineNo">426</span> * A simple version of batch. It will fail if there are any failures and you will get the whole<a name="line.426"></a> -<span class="sourceLineNo">427</span> * result list at once if the operation is succeeded.<a name="line.427"></a> -<span class="sourceLineNo">428</span> * @param actions list of Get, Put, Delete, Increment, Append objects<a name="line.428"></a> -<span class="sourceLineNo">429</span> * @return A list of the result for the actions. Wrapped by a {@link CompletableFuture}.<a name="line.429"></a> -<span class="sourceLineNo">430</span> */<a name="line.430"></a> -<span class="sourceLineNo">431</span> default <T> CompletableFuture<List<T>> batchAll(List<? extends Row> actions) {<a name="line.431"></a> -<span class="sourceLineNo">432</span> return allOf(batch(actions));<a name="line.432"></a> -<span class="sourceLineNo">433</span> }<a name="line.433"></a> -<span class="sourceLineNo">434</span>}<a name="line.434"></a> +<span class="sourceLineNo">187</span> return increment(<a name="line.187"></a> +<span class="sourceLineNo">188</span> new Increment(row).addColumn(family, qualifier, amount).setDurability(durability))<a name="line.188"></a> +<span class="sourceLineNo">189</span> .thenApply(r -> Bytes.toLong(r.getValue(family, qualifier)));<a name="line.189"></a> +<span class="sourceLineNo">190</span> }<a name="line.190"></a> +<span class="sourceLineNo">191</span><a name="line.191"></a> +<span class="sourceLineNo">192</span> /**<a name="line.192"></a> +<span class="sourceLineNo">193</span> * Atomically checks if a row/family/qualifier value equals to the expected value. If it does, it<a name="line.193"></a> +<span class="sourceLineNo">194</span> * adds the put. If the passed value is null, the check is for the lack of column (ie:<a name="line.194"></a> +<span class="sourceLineNo">195</span> * non-existence)<a name="line.195"></a> +<span class="sourceLineNo">196</span> * @param row to check<a name="line.196"></a> +<span class="sourceLineNo">197</span> * @param family column family to check<a name="line.197"></a> +<span class="sourceLineNo">198</span> * @param qualifier column qualifier to check<a name="line.198"></a> +<span class="sourceLineNo">199</span> * @param value the expected value<a name="line.199"></a> +<span class="sourceLineNo">200</span> * @param put data to put if check succeeds<a name="line.200"></a> +<span class="sourceLineNo">201</span> * @return true if the new put was executed, false otherwise. The return value will be wrapped by<a name="line.201"></a> +<span class="sourceLineNo">202</span> * a {@link CompletableFuture}.<a name="line.202"></a> +<span class="sourceLineNo">203</span> */<a name="line.203"></a> +<span class="sourceLineNo">204</span> default CompletableFuture<Boolean> checkAndPut(byte[] row, byte[] family, byte[] qualifier,<a name="line.204"></a> +<span class="sourceLineNo">205</span> byte[] value, Put put) {<a name="line.205"></a> +<span class="sourceLineNo">206</span> return checkAndPut(row, family, qualifier, CompareOp.EQUAL, value, put);<a name="line.206"></a> +<span class="sourceLineNo">207</span> }<a name="line.207"></a> +<span class="sourceLineNo">208</span><a name="line.208"></a> +<span class="sourceLineNo">209</span> /**<a name="line.209"></a> +<span class="sourceLineNo">210</span> * Atomically checks if a row/family/qualifier value matches the expected value. If it does, it<a name="line.210"></a> +<span class="sourceLineNo">211</span> * adds the put. If the passed value is null, the check is for the lack of column (ie:<a name="line.211"></a> +<span class="sourceLineNo">212</span> * non-existence)<a name="line.212"></a> +<span class="sourceLineNo">213</span> * @param row to check<a name="line.213"></a> +<span class="sourceLineNo">214</span> * @param family column family to check<a name="line.214"></a> +<span class="sourceLineNo">215</span> * @param qualifier column qualifier to check<a name="line.215"></a> +<span class="sourceLineNo">216</span> * @param compareOp comparison operator to use<a name="line.216"></a> +<span class="sourceLineNo">217</span> * @param value the expected value<a name="line.217"></a> +<span class="sourceLineNo">218</span> * @param put data to put if check succeeds<a name="line.218"></a> +<span class="sourceLineNo">219</span> * @return true if the new put was executed, false otherwise. The return value will be wrapped by<a name="line.219"></a> +<span class="sourceLineNo">220</span> * a {@link CompletableFuture}.<a name="line.220"></a> +<span class="sourceLineNo">221</span> */<a name="line.221"></a> +<span class="sourceLineNo">222</span> CompletableFuture<Boolean> checkAndPut(byte[] row, byte[] family, byte[] qualifier,<a name="line.222"></a> +<span class="sourceLineNo">223</span> CompareOp compareOp, byte[] value, Put put);<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> * Atomically checks if a row/family/qualifier value equals to the expected value. If it does, it<a name="line.226"></a> +<span class="sourceLineNo">227</span> * adds the delete. If the passed value is null, the check is for the lack of column (ie:<a name="line.227"></a> +<span class="sourceLineNo">228</span> * non-existence)<a name="line.228"></a> +<span class="sourceLineNo">229</span> * @param row to check<a name="line.229"></a> +<span class="sourceLineNo">230</span> * @param family column family to check<a name="line.230"></a> +<span class="sourceLineNo">231</span> * @param qualifier column qualifier to check<a name="line.231"></a> +<span class="sourceLineNo">232</span> * @param value the expected value<a name="line.232"></a> +<span class="sourceLineNo">233</span> * @param delete data to delete if check succeeds<a name="line.233"></a> +<span class="sourceLineNo">234</span> * @return true if the new delete was executed, false otherwise. The return value will be wrapped<a name="line.234"></a> +<span class="sourceLineNo">235</span> * by a {@link CompletableFuture}.<a name="line.235"></a> +<span class="sourceLineNo">236</span> */<a name="line.236"></a> +<span class="sourceLineNo">237</span> default CompletableFuture<Boolean> checkAndDelete(byte[] row, byte[] family, byte[] qualifier,<a name="line.237"></a> +<span class="sourceLineNo">238</span> byte[] value, Delete delete) {<a name="line.238"></a> +<span class="sourceLineNo">239</span> return checkAndDelete(row, family, qualifier, CompareOp.EQUAL, value, delete);<a name="line.239"></a> +<span class="sourceLineNo">240</span> }<a name="line.240"></a> +<span class="sourceLineNo">241</span><a name="line.241"></a> +<span class="sourceLineNo">242</span> /**<a name="line.242"></a> +<span class="sourceLineNo">243</span> * Atomically checks if a row/family/qualifier value matches the expected value. If it does, it<a name="line.243"></a> +<span class="sourceLineNo">244</span> * adds the delete. If the passed value is null, the check is for the lack of column (ie:<a name="line.244"></a> +<span class="sourceLineNo">245</span> * non-existence)<a name="line.245"></a> +<span class="sourceLineNo">246</span> * @param row to check<a name="line.246"></a> +<span class="sourceLineNo">247</span> * @param family column family to check<a name="line.247"></a> +<span class="sourceLineNo">248</span> * @param qualifier column qualifier to check<a name="line.248"></a> +<span class="sourceLineNo">249</span> * @param compareOp comparison operator to use<a name="line.249"></a> +<span class="sourceLineNo">250</span> * @param value the expected value<a name="line.250"></a> +<span class="sourceLineNo">251</span> * @param delete data to delete if check succeeds<a name="line.251"></a> +<span class="sourceLineNo">252</span> * @return true if the new delete was executed, false otherwise. The return value will be wrapped<a name="line.252"></a> +<span class="sourceLineNo">253</span> * by a {@link CompletableFuture}.<a name="line.253"></a> +<span class="sourceLineNo">254</span> */<a name="line.254"></a> +<span class="sourceLineNo">255</span> CompletableFuture<Boolean> checkAndDelete(byte[] row, byte[] family, byte[] qualifier,<a name="line.255"></a> +<span class="sourceLineNo">256</span> CompareOp compareOp, byte[] value, Delete delete);<a name="line.256"></a> +<span class="sourceLineNo">257</span><a name="line.257"></a> +<span class="sourceLineNo">258</span> /**<a name="line.258"></a> +<span class="sourceLineNo">259</span> * Performs multiple mutations atomically on a single row. Currently {@link Put} and<a name="line.259"></a> +<span class="sourceLineNo">260</span> * {@link Delete} are supported.<a name="line.260"></a> +<span class="sourceLineNo">261</span> * @param mutation object that specifies the set of mutations to perform atomically<a name="line.261"></a> +<span class="sourceLineNo">262</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.262"></a> +<span class="sourceLineNo">263</span> */<a name="line.263"></a> +<span class="sourceLineNo">264</span> CompletableFuture<Void> mutateRow(RowMutations mutation);<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> * Atomically checks if a row/family/qualifier value equals to the expected value. If it does, it<a name="line.267"></a> +<span class="sourceLineNo">268</span> * performs the row mutations. If the passed value is null, the check is for the lack of column<a name="line.268"></a> +<span class="sourceLineNo">269</span> * (ie: non-existence)<a name="line.269"></a> +<span class="sourceLineNo">270</span> * @param row to check<a name="line.270"></a> +<span class="sourceLineNo">271</span> * @param family column family to check<a name="line.271"></a> +<span class="sourceLineNo">272</span> * @param qualifier column qualifier to check<a name="line.272"></a> +<span class="sourceLineNo">273</span> * @param value the expected value<a name="line.273"></a> +<span class="sourceLineNo">274</span> * @param mutation mutations to perform if check succeeds<a name="line.274"></a> +<span class="sourceLineNo">275</span> * @return true if the new put was executed, false otherwise. The return value will be wrapped by<a name="line.275"></a> +<span class="sourceLineNo">276</span> * a {@link CompletableFuture}.<a name="line.276"></a> +<span class="sourceLineNo">277</span> */<a name="line.277"></a> +<span class="sourceLineNo">278</span> default CompletableFuture<Boolean> checkAndMutate(byte[] row, byte[] family, byte[] qualifier,<a name="line.278"></a> +<span class="sourceLineNo">279</span> byte[] value, RowMutations mutation) {<a name="line.279"></a> +<span class="sourceLineNo">280</span> return checkAndMutate(row, family, qualifier, CompareOp.EQUAL, value, mutation);<a name="line.280"></a> +<span class="sourceLineNo">281</span> }<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> * Atomically checks if a row/family/qualifier value matches the expected value. If it does, it<a name="line.284"></a> +<span class="sourceLineNo">285</span> * performs the row mutations. If the passed value is null, the check is for the lack of column<a name="line.285"></a> +<span class="sourceLineNo">286</span> * (ie: non-existence)<a name="line.286"></a> +<span class="sourceLineNo">287</span> * @param row to check<a name="line.287"></a> +<span class="sourceLineNo">288</span> * @param family column family to check<a name="line.288"></a> +<span class="sourceLineNo">289</span> * @param qualifier column qualifier to check<a name="line.289"></a> +<span class="sourceLineNo">290</span> * @param compareOp the comparison operator<a name="line.290"></a> +<span class="sourceLineNo">291</span> * @param value the expected value<a name="line.291"></a> +<span class="sourceLineNo">292</span> * @param mutation mutations to perform if check succeeds<a name="line.292"></a> +<span class="sourceLineNo">293</span> * @return true if the new put was executed, false otherwise. The return value will be wrapped by<a name="line.293"></a> +<span class="sourceLineNo">294</span> * a {@link CompletableFuture}.<a name="line.294"></a> +<span class="sourceLineNo">295</span> */<a name="line.295"></a> +<span class="sourceLineNo">296</span> CompletableFuture<Boolean> checkAndMutate(byte[] row, byte[] family, byte[] qualifier,<a name="line.296"></a> +<span class="sourceLineNo">297</span> CompareOp compareOp, byte[] value, RowMutations mutation);<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> * Return all the results that match the given scan object.<a name="line.300"></a> +<span class="sourceLineNo">301</span> * <p><a name="line.301"></a> +<span class="sourceLineNo">302</span> * Notice that usually you should use this method with a {@link Scan} object that has limit set.<a name="line.302"></a> +<span class="sourceLineNo">303</span> * For example, if you want to get the closest row after a given row, you could do this:<a name="line.303"></a> +<span class="sourceLineNo">304</span> * <p><a name="line.304"></a> +<span class="sourceLineNo">305</span> *<a name="line.305"></a> +<span class="sourceLineNo">306</span> * <pre><a name="line.306"></a> +<span class="sourceLineNo">307</span> * <code><a name="line.307"></a> +<span class="sourceLineNo">308</span> * table.scanAll(new Scan().withStartRow(row, false).setLimit(1)).thenAccept(results -> {<a name="line.308"></a> +<span class="sourceLineNo">309</span> * if (results.isEmpty()) {<a name="line.309"></a> +<span class="sourceLineNo">310</span> * System.out.println("No row after " + Bytes.toStringBinary(row));<a name="line.310"></a> +<span class="sourceLineNo">311</span> * } else {<a name="line.311"></a> +<span class="sourceLineNo">312</span> * System.out.println("The closest row after " + Bytes.toStringBinary(row) + " is "<a name="line.312"></a> +<span class="sourceLineNo">313</span> * + Bytes.toStringBinary(results.stream().findFirst().get().getRow()));<a name="line.313"></a> +<span class="sourceLineNo">314</span> * }<a name="line.314"></a> +<span class="sourceLineNo">315</span> * });<a name="line.315"></a> +<span class="sourceLineNo">316</span> * </code><a name="line.316"></a> +<span class="sourceLineNo">317</span> * </pre><a name="line.317"></a> +<span class="sourceLineNo">318</span> * <p><a name="line.318"></a> +<span class="sourceLineNo">319</span> * If your result set is very large, you should use other scan method to get a scanner or use<a name="line.319"></a> +<span class="sourceLineNo">320</span> * callback to process the results. They will do chunking to prevent OOM. The scanAll method will<a name="line.320"></a> +<span class="sourceLineNo">321</span> * fetch all the results and store them in a List and then return the list to you.<a name="line.321"></a> +<span class="sourceLineNo">322</span> * <p><a name="line.322"></a> +<span class="sourceLineNo">323</span> * The scan metrics will be collected background if you enable it but you have no way to get it.<a name="line.323"></a> +<span class="sourceLineNo">324</span> * Usually you can get scan metrics from {@code ResultScanner}, or through<a name="line.324"></a> +<span class="sourceLineNo">325</span> * {@code ScanResultConsumer.onScanMetricsCreated} but this method only returns a list of results.<a name="line.325"></a> +<span class="sourceLineNo">326</span> * So if you really care about scan metrics then you'd better use other scan methods which return<a name="line.326"></a> +<span class="sourceLineNo">327</span> * a {@code ResultScanner} or let you pass in a {@code ScanResultConsumer}. There is no<a name="line.327"></a> +<span class="sourceLineNo">328</span> * performance difference between these scan methods so do not worry.<a name="line.328"></a> +<span class="sourceLineNo">329</span> * @param scan A configured {@link Scan} object. So if you use this method to fetch a really large<a name="line.329"></a> +<span class="sourceLineNo">330</span> * result set, it is likely to cause OOM.<a name="line.330"></a> +<span class="sourceLineNo">331</span> * @return The results of this small scan operation. The return value will be wrapped by a<a name="line.331"></a> +<span class="sourceLineNo">332</span> * {@link CompletableFuture}.<a name="line.332"></a> +<span class="sourceLineNo">333</span> */<a name="line.333"></a> +<span class="sourceLineNo">334</span> CompletableFuture<List<Result>> scanAll(Scan scan);<a name="line.334"></a> +<span class="sourceLineNo">335</span><a name="line.335"></a> +<span class="sourceLineNo">336</span> /**<a name="line.336"></a> +<span class="sourceLineNo">337</span> * Test for the existence of columns in the table, as specified by the Gets.<a name="line.337"></a> +<span class="sourceLineNo">338</span> * <p><a name="line.338"></a> +<span class="sourceLineNo">339</span> * This will return a list of booleans. Each value will be true if the related Get matches one or<a name="line.339"></a> +<span class="sourceLineNo">340</span> * more keys, false if not.<a name="line.340"></a> +<span class="sourceLineNo">341</span> * <p><a name="line.341"></a> +<span class="sourceLineNo">342</span> * This is a server-side call so it prevents any data from being transferred to the client.<a name="line.342"></a> +<span class="sourceLineNo">343</span> * @param gets the Gets<a name="line.343"></a> +<span class="sourceLineNo">344</span> * @return A list of {@link CompletableFuture}s that represent the existence for each get.<a name="line.344"></a> +<span class="sourceLineNo">345</span> */<a name="line.345"></a> +<span class="sourceLineNo">346</span> default List<CompletableFuture<Boolean>> exists(List<Get> gets) {<a name="line.346"></a> +<span class="sourceLineNo">347</span> return get(toCheckExistenceOnly(gets)).stream()<a name="line.347"></a> +<span class="sourceLineNo">348</span> .<CompletableFuture<Boolean>> map(f -> f.thenApply(r -> r.getExists())).collect(toList());<a name="line.348"></a> +<span class="sourceLineNo">349</span> }<a name="line.349"></a> +<span class="sourceLineNo">350</span><a name="line.350"></a> +<span class="sourceLineNo">351</span> /**<a name="line.351"></a> +<span class="sourceLineNo">352</span> * A simple version for batch exists. It will fail if there are any failures and you will get the<a name="line.352"></a> +<span class="sourceLineNo">353</span> * whole result boolean list at once if the operation is succeeded.<a name="line.353"></a> +<span class="sourceLineNo">354</span> * @param gets the Gets<a name="line.354"></a> +<span class="sourceLineNo">355</span> * @return A {@link CompletableFuture} that wrapper the result boolean list.<a name="line.355"></a> +<span class="sourceLineNo">356</span> */<a name="line.356"></a> +<span class="sourceLineNo">357</span> default CompletableFuture<List<Boolean>> existsAll(List<Get> gets) {<a name="line.357"></a> +<span class="sourceLineNo">358</span> return allOf(exists(gets));<a name="line.358"></a> +<span class="sourceLineNo">359</span> }<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> * Extracts certain cells from the given rows, in batch.<a name="line.362"></a> +<span class="sourceLineNo">363</span> * <p><a name="line.363"></a> +<span class="sourceLineNo">364</span> * Notice that you may not get all the results with this function, which means some of the<a name="line.364"></a> +<span class="sourceLineNo">365</span> * returned {@link CompletableFuture}s may succeed while some of the other returned<a name="line.365"></a> +<span class="sourceLineNo">366</span> * {@link CompletableFuture}s may fail.<a name="line.366"></a> +<span class="sourceLineNo">367</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.367"></a> +<span class="sourceLineNo">368</span> * @return A list of {@link CompletableFuture}s that represent the result for each get.<a name="line.368"></a> +<span class="sourceLineNo">369</span> */<a name="line.369"></a> +<span class="sourceLineNo">370</span> List<CompletableFuture<Result>> get(List<Get> gets);<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 simple version for batch get. It will fail if there are any failures and you will get the<a name="line.373"></a> +<span class="sourceLineNo">374</span> * whole result list at once if the operation is succeeded.<a name="line.374"></a> +<span class="sourceLineNo">375</span> * @param gets The objects that specify what data to fetch and from which rows.<a name="line.375"></a> +<span class="sourceLineNo">376</span> * @return A {@link CompletableFuture} that wrapper the result list.<a name="line.376"></a> +<span class="sourceLineNo">377</span> */<a name="line.377"></a> +<span class="sourceLineNo">378</span> default CompletableFuture<List<Result>> getAll(List<Get> gets) {<a name="line.378"></a> +<span class="sourceLineNo">379</span> return allOf(get(gets));<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> * Puts some data in the table, in batch.<a name="line.383"></a> +<span class="sourceLineNo">384</span> * @param puts The list of mutations to apply.<a name="line.384"></a> +<span class="sourceLineNo">385</span> * @return A list of {@link CompletableFuture}s that represent the result for each put.<a name="line.385"></a> +<span class="sourceLineNo">386</span> */<a name="line.386"></a> +<span class="sourceLineNo">387</span> List<CompletableFuture<Void>> put(List<Put> puts);<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 simple version of batch put. It will fail if there are any failures.<a name="line.390"></a> +<span class="sourceLineNo">391</span> * @param puts The list of mutations to apply.<a name="line.391"></a> +<span class="sourceLineNo">392</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.392"></a> +<span class="sourceLineNo">393</span> */<a name="line.393"></a> +<span class="sourceLineNo">394</span> default CompletableFuture<Void> putAll(List<Put> puts) {<a name="line.394"></a> +<span class="sourceLineNo">395</span> return allOf(put(puts)).thenApply(r -> null);<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> * Deletes the specified cells/rows in bulk.<a name="line.399"></a> +<span class="sourceLineNo">400</span> * @param deletes list of things to delete.<a name="line.400"></a> +<span class="sourceLineNo">401</span> * @return A list of {@link CompletableFuture}s that represent the result for each delete.<a name="line.401"></a> +<span class="sourceLineNo">402</span> */<a name="line.402"></a> +<span class="sourceLineNo">403</span> List<CompletableFuture<Void>> delete(List<Delete> deletes);<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 simple version of batch delete. It will fail if there are any failures.<a name="line.406"></a> +<span class="sourceLineNo">407</span> * @param deletes list of things to delete.<a name="line.407"></a> +<span class="sourceLineNo">408</span> * @return A {@link CompletableFuture} that always returns null when complete normally.<a name="line.408"></a> +<span class="sourceLineNo">409</span> */<a name="line.409"></a> +<span class="sourceLineNo">410</span> default CompletableFuture<Void> deleteAll(List<Delete> deletes) {<a name="line.410"></a> +<span class="sourceLineNo">411</span> return allOf(delete(deletes)).thenApply(r -> null);<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> * Method that does a batch call on Deletes, Gets, Puts, Increments and Appends. The ordering of<a name="line.415"></a> +<span class="sourceLineNo">416</span> * execution of the actions is not defined. Meaning if you do a Put and a Get in the same<a name="line.416"></a> +<span class="sourceLineNo">417</span> * {@link #batch} call, you will not necessarily be guaranteed that the Get returns what the Put<a name="line.417"></a> +<span class="sourceLineNo">418</span> * had put.<a name="line.418"></a> +<span class="sourceLineNo">419</span> * @param actions list of Get, Put, Delete, Increment, Append objects<a name="line.419"></a> +<span class="sourceLineNo">420</span> * @return A list of {@link CompletableFuture}s that represent the result for each action.<a name="line.420"></a> +<span class="sourceLineNo">421</span> */<a name="line.421"></a> +<span class="sourceLineNo">422</span> <T> List<CompletableFuture<T>> batch(List<? extends Row> actions);<a name="line.422"></a> +<span class="sourceLineNo">423</span><a name="line.423"></a> +<span class="sourceLineNo">424</span> /**<a name="line.424"></a> +<span class="sourceLineNo">425</span> * A simple version of batch. It will fail if there are any failures and you will get the whole<a name="line.425"></a> +<span class="sourceLineNo">426</span> * result list at once if the operation is succeeded.<a name="line.426"></a> +<span class="sourceLineNo">427</span> * @param actions list of Get, Put, Delete, Increment, Append objects<a name="line.427"></a> +<span class="sourceLineNo">428</span> * @return A list of the result for the actions. Wrapped by a {@link CompletableFuture}.<a name="line.428"></a> +<span class="sourceLineNo">429</span> */<a name="line.429"></a> +<span class="sourceLineNo">430</span> default <T> CompletableFuture<List<T>> batchAll(List<? extends Row> actions) {<a name="line.430"></a> +<span class="sourceLineNo">431</span> return allOf(batch(actions));<a name="line.431"></a> +<span class="sourceLineNo">432</span> }<a name="line.432"></a> +<span class="sourceLineNo">433</span>}<a name="line.433"></a>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/9dfe3cd8/bulk-loads.html ---------------------------------------------------------------------- diff --git a/bulk-loads.html b/bulk-loads.html index d9b53ca..a8c1298 100644 --- a/bulk-loads.html +++ b/bulk-loads.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20170521" /> + <meta name="Date-Revision-yyyymmdd" content="20170522" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Bulk Loads in Apache HBase (TM) @@ -311,7 +311,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2017-05-21</li> + <li id="publishDate" class="pull-right">Last Published: 2017-05-22</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/9dfe3cd8/checkstyle-aggregate.html ---------------------------------------------------------------------- diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html index a095456..0f32982 100644 --- a/checkstyle-aggregate.html +++ b/checkstyle-aggregate.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20170521" /> + <meta name="Date-Revision-yyyymmdd" content="20170522" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Checkstyle Results</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -7178,7 +7178,7 @@ <td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_imports.html#UnusedImports">UnusedImports</a> <ul> <li>processJavadoc: <tt>"true"</tt></li></ul></td> -<td>78</td> +<td>77</td> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr> <tr class="b"> <td>indentation</td> @@ -7189,19 +7189,19 @@ <li>caseIndent: <tt>"2"</tt></li> <li>basicOffset: <tt>"2"</tt></li> <li>lineWrappingIndentation: <tt>"2"</tt></li></ul></td> -<td>5093</td> +<td>5095</td> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr> <tr class="a"> <td>javadoc</td> <td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_javadoc.html#JavadocTagContinuationIndentation">JavadocTagContinuationIndentation</a> <ul> <li>offset: <tt>"2"</tt></li></ul></td> -<td>780</td> +<td>785</td> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr> <tr class="b"> <td></td> <td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_javadoc.html#NonEmptyAtclauseDescription">NonEmptyAtclauseDescription</a></td> -<td>3270</td> +<td>3265</td> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr> <tr class="a"> <td>misc</td> @@ -7219,7 +7219,7 @@ <ul> <li>max: <tt>"100"</tt></li> <li>ignorePattern: <tt>"^package.*|^import.*|a href|href|http://|https://|ftp://|org.apache.thrift.|com.google.protobuf.|hbase.protobuf.generated"</tt></li></ul></td> -<td>801</td> +<td>800</td> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td></tr> <tr class="b"> <td></td> @@ -12210,121 +12210,121 @@ <td>imports</td> <td>ImportOrder</td> <td>Wrong order for 'org.apache.hadoop.hbase.KeyValue.KVComparator' import.</td> -<td>28</td></tr> +<td>29</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>JavadocTagContinuationIndentation</td> <td>Line continuation have incorrect indentation level, expected level should be 2.</td> -<td>120</td></tr> +<td>124</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>JavadocTagContinuationIndentation</td> <td>Line continuation have incorrect indentation level, expected level should be 2.</td> -<td>122</td></tr> +<td>126</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>JavadocTagContinuationIndentation</td> <td>Line continuation have incorrect indentation level, expected level should be 2.</td> -<td>124</td></tr> +<td>128</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>JavadocTagContinuationIndentation</td> <td>Line continuation have incorrect indentation level, expected level should be 2.</td> -<td>127</td></tr> +<td>131</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>JavadocTagContinuationIndentation</td> <td>Line continuation have incorrect indentation level, expected level should be 2.</td> -<td>129</td></tr> +<td>133</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>JavadocTagContinuationIndentation</td> <td>Line continuation have incorrect indentation level, expected level should be 2.</td> -<td>131</td></tr> +<td>135</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>JavadocTagContinuationIndentation</td> <td>Line continuation have incorrect indentation level, expected level should be 2.</td> -<td>132</td></tr> +<td>136</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>JavadocTagContinuationIndentation</td> <td>Line continuation have incorrect indentation level, expected level should be 2.</td> -<td>133</td></tr> +<td>137</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>indentation</td> <td>Indentation</td> <td>'method def' child have incorrect indentation level 6, expected level should be 4.</td> -<td>174</td></tr> +<td>178</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 109).</td> -<td>182</td></tr> +<td>186</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 102).</td> -<td>187</td></tr> +<td>190</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>JavadocTagContinuationIndentation</td> <td>Line continuation have incorrect indentation level, expected level should be 2.</td> -<td>407</td></tr> +<td>428</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>JavadocTagContinuationIndentation</td> <td>Line continuation have incorrect indentation level, expected level should be 2.</td> -<td>408</td></tr> +<td>429</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>JavadocTagContinuationIndentation</td> <td>Line continuation have incorrect indentation level, expected level should be 2.</td> -<td>435</td></tr> +<td>456</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>blocks</td> <td>NeedBraces</td> <td>'if' construct must use '{}'s.</td> -<td>487</td></tr> +<td>509</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>blocks</td> <td>NeedBraces</td> <td>'if' construct must use '{}'s.</td> -<td>488</td></tr> +<td>510</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>blocks</td> <td>NeedBraces</td> <td>'if' construct must use '{}'s.</td> -<td>505</td></tr> +<td>527</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>JavadocTagContinuationIndentation</td> <td>Line continuation have incorrect indentation level, expected level should be 2.</td> -<td>520</td></tr> +<td>542</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>indentation</td> <td>Indentation</td> <td>'if' have incorrect indentation level 5, expected level should be 4.</td> -<td>525</td></tr></table></div> +<td>547</td></tr></table></div> <div class="section"> <h3 id="org.apache.hadoop.hbase.TagType.java">org/apache/hadoop/hbase/TagType.java</h3> <table border="0" class="table table-striped"> @@ -12895,7 +12895,7 @@ <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>NonEmptyAtclauseDescription</td> +<td>JavadocTagContinuationIndentation</td> <td>Javadoc comment at column 43 has parse error. Missed HTML close tag 'TableName'. Sometimes it means that close tag missed for one of previous tags.</td> <td>123</td></tr> <tr class="b"> @@ -14707,32 +14707,32 @@ <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>imports</td> -<td>UnusedImports</td> -<td>Unused import - org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.</td> -<td>93</td></tr> -<tr class="a"> -<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> -<td>imports</td> <td>ImportOrder</td> <td>Wrong order for 'org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.DeleteColumnRequest' import.</td> -<td>114</td></tr> -<tr class="b"> +<td>113</td></tr> +<tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>imports</td> <td>ImportOrder</td> <td>Wrong order for 'org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.CreateTableRequest' import.</td> -<td>130</td></tr> -<tr class="a"> +<td>129</td></tr> +<tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 101).</td> -<td>367</td></tr> -<tr class="b"> +<td>366</td></tr> +<tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>indentation</td> <td>Indentation</td> <td>'if' have incorrect indentation level 10, expected level should be 22.</td> +<td>409</td></tr> +<tr class="b"> +<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> +<td>indentation</td> +<td>Indentation</td> +<td>'if' child have incorrect indentation level 12, expected level should be 24.</td> <td>410</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> @@ -14744,86 +14744,86 @@ <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>indentation</td> <td>Indentation</td> -<td>'if' child have incorrect indentation level 12, expected level should be 24.</td> +<td>'if rcurly' have incorrect indentation level 10, expected level should be 22.</td> <td>412</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>indentation</td> <td>Indentation</td> -<td>'if rcurly' have incorrect indentation level 10, expected level should be 22.</td> +<td>'if' have incorrect indentation level 10, expected level should be 22.</td> <td>413</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>indentation</td> <td>Indentation</td> -<td>'if' have incorrect indentation level 10, expected level should be 22.</td> +<td>'if' child have incorrect indentation level 12, expected level should be 24.</td> <td>414</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>indentation</td> <td>Indentation</td> -<td>'if' child have incorrect indentation level 12, expected level should be 24.</td> +<td>'if rcurly' have incorrect indentation level 10, expected level should be 22.</td> <td>415</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>indentation</td> <td>Indentation</td> -<td>'if rcurly' have incorrect indentation level 10, expected level should be 22.</td> +<td>'else' child have incorrect indentation level 12, expected level should be 24.</td> <td>416</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>indentation</td> <td>Indentation</td> -<td>'else' child have incorrect indentation level 12, expected level should be 24.</td> +<td>'else rcurly' have incorrect indentation level 10, expected level should be 22.</td> <td>417</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>indentation</td> <td>Indentation</td> -<td>'else rcurly' have incorrect indentation level 10, expected level should be 22.</td> +<td>'block rcurly' have incorrect indentation level 8, expected level should be 20.</td> <td>418</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> -<td>indentation</td> -<td>Indentation</td> -<td>'block rcurly' have incorrect indentation level 8, expected level should be 20.</td> -<td>419</td></tr> -<tr class="b"> -<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 104).</td> -<td>642</td></tr> -<tr class="a"> +<td>641</td></tr> +<tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 103).</td> -<td>649</td></tr> -<tr class="b"> +<td>648</td></tr> +<tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 105).</td> -<td>703</td></tr> -<tr class="a"> +<td>702</td></tr> +<tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 111).</td> -<td>715</td></tr> -<tr class="b"> +<td>714</td></tr> +<tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 105).</td> -<td>753</td></tr> +<td>752</td></tr> +<tr class="b"> +<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> +<td>blocks</td> +<td>NeedBraces</td> +<td>'if' construct must use '{}'s.</td> +<td>822</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>blocks</td> <td>NeedBraces</td> <td>'if' construct must use '{}'s.</td> -<td>823</td></tr> +<td>1100</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>blocks</td> @@ -14835,37 +14835,25 @@ <td>blocks</td> <td>NeedBraces</td> <td>'if' construct must use '{}'s.</td> -<td>1102</td></tr> +<td>1243</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>blocks</td> <td>NeedBraces</td> <td>'if' construct must use '{}'s.</td> -<td>1244</td></tr> +<td>1249</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> -<td>blocks</td> -<td>NeedBraces</td> -<td>'if' construct must use '{}'s.</td> -<td>1250</td></tr> -<tr class="b"> -<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>NonEmptyAtclauseDescription</td> <td>At-clause should have a non-empty description.</td> -<td>1357</td></tr> -<tr class="a"> +<td>1356</td></tr> +<tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> <td>NonEmptyAtclauseDescription</td> <td>At-clause should have a non-empty description.</td> -<td>1358</td></tr> -<tr class="b"> -<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> -<td>sizes</td> -<td>LineLength</td> -<td>Line is longer than 100 characters (found 102).</td> -<td>1531</td></tr> +<td>1357</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> @@ -14880,16 +14868,28 @@ <td>1662</td></tr> <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> +<td>indentation</td> +<td>Indentation</td> +<td>'lambda arguments' have incorrect indentation level 20, expected level should be 18.</td> +<td>1927</td></tr> +<tr class="b"> +<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> +<td>indentation</td> +<td>Indentation</td> +<td>'lambda arguments' have incorrect indentation level 20, expected level should be 18.</td> +<td>1928</td></tr> +<tr class="a"> +<td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 107).</td> -<td>1940</td></tr> +<td>1936</td></tr> <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>sizes</td> <td>LineLength</td> <td>Line is longer than 100 characters (found 104).</td> -<td>2406</td></tr></table></div> +<td>2402</td></tr></table></div> <div class="section"> <h3 id="org.apache.hadoop.hbase.client.AsyncMetaRegionLocator.java">org/apache/hadoop/hbase/client/AsyncMetaRegionLocator.java</h3> <table border="0" class="table table-striped"> @@ -15985,7 +15985,7 @@ <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>NonEmptyAtclauseDescription</td> +<td>JavadocTagContinuationIndentation</td> <td>Javadoc comment at column 64 has parse error. Missed HTML close tag 'code'. Sometimes it means that close tag missed for one of previous tags.</td> <td>1957</td></tr> <tr class="b"> @@ -20539,7 +20539,7 @@ <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>NonEmptyAtclauseDescription</td> +<td>JavadocTagContinuationIndentation</td> <td>Javadoc comment at column 37 has parse error. Details: no viable alternative at input '<ColumnFamily,' while parsing HTML_ELEMENT</td> <td>29</td></tr></table></div> <div class="section"> @@ -28623,7 +28623,7 @@ <td>blocks</td> <td>NeedBraces</td> <td>'if' construct must use '{}'s.</td> -<td>208</td></tr></table></div> +<td>209</td></tr></table></div> <div class="section"> <h3 id="org.apache.hadoop.hbase.io.HalfStoreFileReader.java">org/apache/hadoop/hbase/io/HalfStoreFileReader.java</h3> <table border="0" class="table table-striped"> @@ -50899,7 +50899,7 @@ <tr class="b"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>NonEmptyAtclauseDescription</td> +<td>JavadocTagContinuationIndentation</td> <td>Javadoc comment at column 60 has parse error. Missed HTML close tag 'Comparable'. Sometimes it means that close tag missed for one of previous tags.</td> <td>28</td></tr> <tr class="a"> @@ -86719,7 +86719,7 @@ <tr class="a"> <td><img src="images/icon_error_sml.gif" alt="" /> Error</td> <td>javadoc</td> -<td>NonEmptyAtclauseDescription</td> +<td>JavadocTagContinuationIndentation</td> <td>Javadoc comment at column 33 has parse error. It is forbidden to close singleton HTML tags. Tag: br.</td> <td>63</td></tr> <tr class="b"> @@ -105907,7 +105907,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2017-05-21</li> + <li id="publishDate" class="pull-right">Last Published: 2017-05-22</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/9dfe3cd8/coc.html ---------------------------------------------------------------------- diff --git a/coc.html b/coc.html index e7b1b51..88f59ef 100644 --- a/coc.html +++ b/coc.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20170521" /> + <meta name="Date-Revision-yyyymmdd" content="20170522" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Code of Conduct Policy @@ -380,7 +380,7 @@ email to <a class="externalLink" href="mailto:[email protected]">the priv <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2017-05-21</li> + <li id="publishDate" class="pull-right">Last Published: 2017-05-22</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/9dfe3cd8/cygwin.html ---------------------------------------------------------------------- diff --git a/cygwin.html b/cygwin.html index f951641..8c4f390 100644 --- a/cygwin.html +++ b/cygwin.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20170521" /> + <meta name="Date-Revision-yyyymmdd" content="20170522" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Installing Apache HBase (TM) on Windows using Cygwin</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -679,7 +679,7 @@ Now your <b>HBase </b>server is running, <b>start coding</b> and build that next <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2017-05-21</li> + <li id="publishDate" class="pull-right">Last Published: 2017-05-22</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/9dfe3cd8/dependencies.html ---------------------------------------------------------------------- diff --git a/dependencies.html b/dependencies.html index dfcff10..7e721ea 100644 --- a/dependencies.html +++ b/dependencies.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20170521" /> + <meta name="Date-Revision-yyyymmdd" content="20170522" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Dependencies</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -524,7 +524,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2017-05-21</li> + <li id="publishDate" class="pull-right">Last Published: 2017-05-22</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/9dfe3cd8/dependency-convergence.html ---------------------------------------------------------------------- diff --git a/dependency-convergence.html b/dependency-convergence.html index b93bf1d..afedab4 100644 --- a/dependency-convergence.html +++ b/dependency-convergence.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20170521" /> + <meta name="Date-Revision-yyyymmdd" content="20170522" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Reactor Dependency Convergence</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -1849,7 +1849,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2017-05-21</li> + <li id="publishDate" class="pull-right">Last Published: 2017-05-22</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/9dfe3cd8/dependency-info.html ---------------------------------------------------------------------- diff --git a/dependency-info.html b/dependency-info.html index 93bde77..07b3d21 100644 --- a/dependency-info.html +++ b/dependency-info.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20170521" /> + <meta name="Date-Revision-yyyymmdd" content="20170522" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Dependency Information</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -318,7 +318,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2017-05-21</li> + <li id="publishDate" class="pull-right">Last Published: 2017-05-22</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/9dfe3cd8/dependency-management.html ---------------------------------------------------------------------- diff --git a/dependency-management.html b/dependency-management.html index e373e30..b5efc8a 100644 --- a/dependency-management.html +++ b/dependency-management.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20170521" /> + <meta name="Date-Revision-yyyymmdd" content="20170522" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Dependency Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -894,7 +894,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2017-05-21</li> + <li id="publishDate" class="pull-right">Last Published: 2017-05-22</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/9dfe3cd8/devapidocs/constant-values.html ---------------------------------------------------------------------- diff --git a/devapidocs/constant-values.html b/devapidocs/constant-values.html index 959491d..264803c 100644 --- a/devapidocs/constant-values.html +++ b/devapidocs/constant-values.html @@ -3542,46 +3542,53 @@ </tr> <tbody> <tr class="altColor"> +<td class="colFirst"><a name="org.apache.hadoop.hbase.TableName.DISALLOWED_TABLE_NAME"> +<!-- --> +</a><code>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td><code><a href="org/apache/hadoop/hbase/TableName.html#DISALLOWED_TABLE_NAME">DISALLOWED_TABLE_NAME</a></code></td> +<td class="colLast"><code>"zookeeper"</code></td> +</tr> +<tr class="rowColor"> <td class="colFirst"><a name="org.apache.hadoop.hbase.TableName.NAMESPACE_DELIM"> <!-- --> </a><code>public static final char</code></td> <td><code><a href="org/apache/hadoop/hbase/TableName.html#NAMESPACE_DELIM">NAMESPACE_DELIM</a></code></td> <td class="colLast"><code>58</code></td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a name="org.apache.hadoop.hbase.TableName.OLD_META_STR"> <!-- --> </a><code>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td><code><a href="org/apache/hadoop/hbase/TableName.html#OLD_META_STR">OLD_META_STR</a></code></td> <td class="colLast"><code>".META."</code></td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a name="org.apache.hadoop.hbase.TableName.OLD_ROOT_STR"> <!-- --> </a><code>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td><code><a href="org/apache/hadoop/hbase/TableName.html#OLD_ROOT_STR">OLD_ROOT_STR</a></code></td> <td class="colLast"><code>"-ROOT-"</code></td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a name="org.apache.hadoop.hbase.TableName.VALID_NAMESPACE_REGEX"> <!-- --> </a><code>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td><code><a href="org/apache/hadoop/hbase/TableName.html#VALID_NAMESPACE_REGEX">VALID_NAMESPACE_REGEX</a></code></td> -<td class="colLast"><code>"(?:[a-zA-Z_0-9]+)"</code></td> +<td class="colLast"><code>"(?:[_\\p{Digit}\\p{IsAlphabetic}]+)"</code></td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><a name="org.apache.hadoop.hbase.TableName.VALID_TABLE_QUALIFIER_REGEX"> <!-- --> </a><code>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td><code><a href="org/apache/hadoop/hbase/TableName.html#VALID_TABLE_QUALIFIER_REGEX">VALID_TABLE_QUALIFIER_REGEX</a></code></td> -<td class="colLast"><code>"(?:[a-zA-Z_0-9][a-zA-Z_0-9-.]*)"</code></td> +<td class="colLast"><code>"(?:[_\\p{Digit}\\p{IsAlphabetic}][-_.\\p{Digit}\\p{IsAlphabetic}]*)"</code></td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><a name="org.apache.hadoop.hbase.TableName.VALID_USER_TABLE_REGEX"> <!-- --> </a><code>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td><code><a href="org/apache/hadoop/hbase/TableName.html#VALID_USER_TABLE_REGEX">VALID_USER_TABLE_REGEX</a></code></td> -<td class="colLast"><code>"(?:(?:(?:(?:[a-zA-Z_0-9]+)\\:)?)(?:(?:[a-zA-Z_0-9][a-zA-Z_0-9-.]*)))"</code></td> +<td class="colLast"><code>"(?:(?:(?:(?:[_\\p{Digit}\\p{IsAlphabetic}]+)\\:)?)(?:(?:[_\\p{Digit}\\p{IsAlphabetic}][-_.\\p{Digit}\\p{IsAlphabetic}]*)))"</code></td> </tr> </tbody> </table> @@ -3815,21 +3822,21 @@ <!-- --> </a><code>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td><code><a href="org/apache/hadoop/hbase/Version.html#date">date</a></code></td> -<td class="colLast"><code>"Sun May 21 14:39:02 UTC 2017"</code></td> +<td class="colLast"><code>"Mon May 22 17:26:54 UTC 2017"</code></td> </tr> <tr class="rowColor"> <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.revision"> <!-- --> </a><code>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td><code><a href="org/apache/hadoop/hbase/Version.html#revision">revision</a></code></td> -<td class="colLast"><code>"1ceb25cf09f5057bb9ec23eef90373c8febbc6e2"</code></td> +<td class="colLast"><code>"23ea2c36f52283631ce665e04f2af433fc25ae55"</code></td> </tr> <tr class="altColor"> <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.srcChecksum"> <!-- --> </a><code>public static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td><code><a href="org/apache/hadoop/hbase/Version.html#srcChecksum">srcChecksum</a></code></td> -<td class="colLast"><code>"959709dc479cd43cb2c015fa35707b84"</code></td> +<td class="colLast"><code>"be37f05208e627bd537f4c7287c5ea62"</code></td> </tr> <tr class="rowColor"> <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.url">
