http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSByteBufferCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSByteBufferCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSByteBufferCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.html index 96b0c12..924a575 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.html @@ -3143,31 +3143,7 @@ <span class="sourceLineNo">3135</span> return Type.DeleteFamily.getCode();<a name="line.3135"></a> <span class="sourceLineNo">3136</span> }<a name="line.3136"></a> <span class="sourceLineNo">3137</span> }<a name="line.3137"></a> -<span class="sourceLineNo">3138</span><a name="line.3138"></a> -<span class="sourceLineNo">3139</span> /**<a name="line.3139"></a> -<span class="sourceLineNo">3140</span> * Clone the passed cell by copying its data into the passed buf.<a name="line.3140"></a> -<span class="sourceLineNo">3141</span> */<a name="line.3141"></a> -<span class="sourceLineNo">3142</span> public static Cell copyCellTo(Cell cell, ByteBuffer buf, int offset, int len) {<a name="line.3142"></a> -<span class="sourceLineNo">3143</span> int tagsLen = cell.getTagsLength();<a name="line.3143"></a> -<span class="sourceLineNo">3144</span> if (cell instanceof ExtendedCell) {<a name="line.3144"></a> -<span class="sourceLineNo">3145</span> ((ExtendedCell) cell).write(buf, offset);<a name="line.3145"></a> -<span class="sourceLineNo">3146</span> } else {<a name="line.3146"></a> -<span class="sourceLineNo">3147</span> // Normally all Cell impls within Server will be of type ExtendedCell. Just considering the<a name="line.3147"></a> -<span class="sourceLineNo">3148</span> // other case also. The data fragments within Cell is copied into buf as in KeyValue<a name="line.3148"></a> -<span class="sourceLineNo">3149</span> // serialization format only.<a name="line.3149"></a> -<span class="sourceLineNo">3150</span> KeyValueUtil.appendTo(cell, buf, offset, true);<a name="line.3150"></a> -<span class="sourceLineNo">3151</span> }<a name="line.3151"></a> -<span class="sourceLineNo">3152</span> if (tagsLen == 0) {<a name="line.3152"></a> -<span class="sourceLineNo">3153</span> // When tagsLen is 0, make a NoTagsByteBufferKeyValue version. This is an optimized class<a name="line.3153"></a> -<span class="sourceLineNo">3154</span> // which directly return tagsLen as 0. So we avoid parsing many length components in<a name="line.3154"></a> -<span class="sourceLineNo">3155</span> // reading the tagLength stored in the backing buffer. The Memstore addition of every Cell<a name="line.3155"></a> -<span class="sourceLineNo">3156</span> // call getTagsLength().<a name="line.3156"></a> -<span class="sourceLineNo">3157</span> return new NoTagsByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3157"></a> -<span class="sourceLineNo">3158</span> } else {<a name="line.3158"></a> -<span class="sourceLineNo">3159</span> return new ByteBufferKeyValue(buf, offset, len, cell.getSequenceId());<a name="line.3159"></a> -<span class="sourceLineNo">3160</span> }<a name="line.3160"></a> -<span class="sourceLineNo">3161</span> }<a name="line.3161"></a> -<span class="sourceLineNo">3162</span>}<a name="line.3162"></a> +<span class="sourceLineNo">3138</span>}<a name="line.3138"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCell.html index 5111fbb..72a4f31 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCell.html @@ -42,46 +42,56 @@ <span class="sourceLineNo">034</span>public interface ExtendedCell extends Cell, SettableSequenceId, SettableTimestamp, HeapSize,<a name="line.34"></a> <span class="sourceLineNo">035</span> Cloneable {<a name="line.35"></a> <span class="sourceLineNo">036</span><a name="line.36"></a> -<span class="sourceLineNo">037</span> /**<a name="line.37"></a> -<span class="sourceLineNo">038</span> * Write this cell to an OutputStream in a {@link KeyValue} format.<a name="line.38"></a> -<span class="sourceLineNo">039</span> * <br> KeyValue format <br><a name="line.39"></a> -<span class="sourceLineNo">040</span> * <code>&lt;4 bytes keylength&gt; &lt;4 bytes valuelength&gt; &lt;2 bytes rowlength&gt;<a name="line.40"></a> -<span class="sourceLineNo">041</span> * &lt;row&gt; &lt;1 byte columnfamilylength&gt; &lt;columnfamily&gt; &lt;columnqualifier&gt;<a name="line.41"></a> -<span class="sourceLineNo">042</span> * &lt;8 bytes timestamp&gt; &lt;1 byte keytype&gt; &lt;value&gt; &lt;2 bytes tagslength&gt;<a name="line.42"></a> -<span class="sourceLineNo">043</span> * &lt;tags&gt;</code><a name="line.43"></a> -<span class="sourceLineNo">044</span> * @param out Stream to which cell has to be written<a name="line.44"></a> -<span class="sourceLineNo">045</span> * @param withTags Whether to write tags.<a name="line.45"></a> -<span class="sourceLineNo">046</span> * @return how many bytes are written.<a name="line.46"></a> -<span class="sourceLineNo">047</span> * @throws IOException<a name="line.47"></a> -<span class="sourceLineNo">048</span> */<a name="line.48"></a> -<span class="sourceLineNo">049</span> // TODO remove the boolean param once HBASE-16706 is done.<a name="line.49"></a> -<span class="sourceLineNo">050</span> int write(OutputStream out, boolean withTags) throws IOException;<a name="line.50"></a> -<span class="sourceLineNo">051</span><a name="line.51"></a> -<span class="sourceLineNo">052</span> /**<a name="line.52"></a> -<span class="sourceLineNo">053</span> * @param withTags Whether to write tags.<a name="line.53"></a> -<span class="sourceLineNo">054</span> * @return Bytes count required to serialize this Cell in a {@link KeyValue} format.<a name="line.54"></a> -<span class="sourceLineNo">055</span> * <br> KeyValue format <br><a name="line.55"></a> -<span class="sourceLineNo">056</span> * <code>&lt;4 bytes keylength&gt; &lt;4 bytes valuelength&gt; &lt;2 bytes rowlength&gt;<a name="line.56"></a> -<span class="sourceLineNo">057</span> * &lt;row&gt; &lt;1 byte columnfamilylength&gt; &lt;columnfamily&gt; &lt;columnqualifier&gt;<a name="line.57"></a> -<span class="sourceLineNo">058</span> * &lt;8 bytes timestamp&gt; &lt;1 byte keytype&gt; &lt;value&gt; &lt;2 bytes tagslength&gt;<a name="line.58"></a> -<span class="sourceLineNo">059</span> * &lt;tags&gt;</code><a name="line.59"></a> -<span class="sourceLineNo">060</span> */<a name="line.60"></a> -<span class="sourceLineNo">061</span> // TODO remove the boolean param once HBASE-16706 is done.<a name="line.61"></a> -<span class="sourceLineNo">062</span> int getSerializedSize(boolean withTags);<a name="line.62"></a> -<span class="sourceLineNo">063</span><a name="line.63"></a> -<span class="sourceLineNo">064</span> /**<a name="line.64"></a> -<span class="sourceLineNo">065</span> * Write this Cell into the given buf's offset in a {@link KeyValue} format.<a name="line.65"></a> -<span class="sourceLineNo">066</span> * @param buf The buffer where to write the Cell.<a name="line.66"></a> -<span class="sourceLineNo">067</span> * @param offset The offset within buffer, to write the Cell.<a name="line.67"></a> -<span class="sourceLineNo">068</span> */<a name="line.68"></a> -<span class="sourceLineNo">069</span> void write(ByteBuffer buf, int offset);<a name="line.69"></a> -<span class="sourceLineNo">070</span><a name="line.70"></a> -<span class="sourceLineNo">071</span> /**<a name="line.71"></a> -<span class="sourceLineNo">072</span> * Does a deep copy of the contents to a new memory area and returns it as a new cell.<a name="line.72"></a> -<span class="sourceLineNo">073</span> * @return The deep cloned cell<a name="line.73"></a> -<span class="sourceLineNo">074</span> */<a name="line.74"></a> -<span class="sourceLineNo">075</span> Cell deepClone();<a name="line.75"></a> -<span class="sourceLineNo">076</span>}<a name="line.76"></a> +<span class="sourceLineNo">037</span> public static int CELL_NOT_BASED_ON_CHUNK = -1;<a name="line.37"></a> +<span class="sourceLineNo">038</span> /**<a name="line.38"></a> +<span class="sourceLineNo">039</span> * Write this cell to an OutputStream in a {@link KeyValue} format.<a name="line.39"></a> +<span class="sourceLineNo">040</span> * <br> KeyValue format <br><a name="line.40"></a> +<span class="sourceLineNo">041</span> * <code>&lt;4 bytes keylength&gt; &lt;4 bytes valuelength&gt; &lt;2 bytes rowlength&gt;<a name="line.41"></a> +<span class="sourceLineNo">042</span> * &lt;row&gt; &lt;1 byte columnfamilylength&gt; &lt;columnfamily&gt; &lt;columnqualifier&gt;<a name="line.42"></a> +<span class="sourceLineNo">043</span> * &lt;8 bytes timestamp&gt; &lt;1 byte keytype&gt; &lt;value&gt; &lt;2 bytes tagslength&gt;<a name="line.43"></a> +<span class="sourceLineNo">044</span> * &lt;tags&gt;</code><a name="line.44"></a> +<span class="sourceLineNo">045</span> * @param out Stream to which cell has to be written<a name="line.45"></a> +<span class="sourceLineNo">046</span> * @param withTags Whether to write tags.<a name="line.46"></a> +<span class="sourceLineNo">047</span> * @return how many bytes are written.<a name="line.47"></a> +<span class="sourceLineNo">048</span> * @throws IOException<a name="line.48"></a> +<span class="sourceLineNo">049</span> */<a name="line.49"></a> +<span class="sourceLineNo">050</span> // TODO remove the boolean param once HBASE-16706 is done.<a name="line.50"></a> +<span class="sourceLineNo">051</span> int write(OutputStream out, boolean withTags) throws IOException;<a name="line.51"></a> +<span class="sourceLineNo">052</span><a name="line.52"></a> +<span class="sourceLineNo">053</span> /**<a name="line.53"></a> +<span class="sourceLineNo">054</span> * @param withTags Whether to write tags.<a name="line.54"></a> +<span class="sourceLineNo">055</span> * @return Bytes count required to serialize this Cell in a {@link KeyValue} format.<a name="line.55"></a> +<span class="sourceLineNo">056</span> * <br> KeyValue format <br><a name="line.56"></a> +<span class="sourceLineNo">057</span> * <code>&lt;4 bytes keylength&gt; &lt;4 bytes valuelength&gt; &lt;2 bytes rowlength&gt;<a name="line.57"></a> +<span class="sourceLineNo">058</span> * &lt;row&gt; &lt;1 byte columnfamilylength&gt; &lt;columnfamily&gt; &lt;columnqualifier&gt;<a name="line.58"></a> +<span class="sourceLineNo">059</span> * &lt;8 bytes timestamp&gt; &lt;1 byte keytype&gt; &lt;value&gt; &lt;2 bytes tagslength&gt;<a name="line.59"></a> +<span class="sourceLineNo">060</span> * &lt;tags&gt;</code><a name="line.60"></a> +<span class="sourceLineNo">061</span> */<a name="line.61"></a> +<span class="sourceLineNo">062</span> // TODO remove the boolean param once HBASE-16706 is done.<a name="line.62"></a> +<span class="sourceLineNo">063</span> int getSerializedSize(boolean withTags);<a name="line.63"></a> +<span class="sourceLineNo">064</span><a name="line.64"></a> +<span class="sourceLineNo">065</span> /**<a name="line.65"></a> +<span class="sourceLineNo">066</span> * Write this Cell into the given buf's offset in a {@link KeyValue} format.<a name="line.66"></a> +<span class="sourceLineNo">067</span> * @param buf The buffer where to write the Cell.<a name="line.67"></a> +<span class="sourceLineNo">068</span> * @param offset The offset within buffer, to write the Cell.<a name="line.68"></a> +<span class="sourceLineNo">069</span> */<a name="line.69"></a> +<span class="sourceLineNo">070</span> void write(ByteBuffer buf, int offset);<a name="line.70"></a> +<span class="sourceLineNo">071</span><a name="line.71"></a> +<span class="sourceLineNo">072</span> /**<a name="line.72"></a> +<span class="sourceLineNo">073</span> * Does a deep copy of the contents to a new memory area and returns it as a new cell.<a name="line.73"></a> +<span class="sourceLineNo">074</span> * @return The deep cloned cell<a name="line.74"></a> +<span class="sourceLineNo">075</span> */<a name="line.75"></a> +<span class="sourceLineNo">076</span> Cell deepClone();<a name="line.76"></a> +<span class="sourceLineNo">077</span><a name="line.77"></a> +<span class="sourceLineNo">078</span> /**<a name="line.78"></a> +<span class="sourceLineNo">079</span> * Extracts the id of the backing bytebuffer of this cell if it was obtained from fixed sized<a name="line.79"></a> +<span class="sourceLineNo">080</span> * chunks as in case of MemstoreLAB<a name="line.80"></a> +<span class="sourceLineNo">081</span> * @return the chunk id if the cell is backed by fixed sized Chunks, else return -1<a name="line.81"></a> +<span class="sourceLineNo">082</span> */<a name="line.82"></a> +<span class="sourceLineNo">083</span> default int getChunkId() {<a name="line.83"></a> +<span class="sourceLineNo">084</span> return CELL_NOT_BASED_ON_CHUNK;<a name="line.84"></a> +<span class="sourceLineNo">085</span> }<a name="line.85"></a> +<span class="sourceLineNo">086</span>}<a name="line.86"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6b4bae59/devapidocs/src-html/org/apache/hadoop/hbase/Version.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html index 858192b..cf9fd6c 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html @@ -16,11 +16,11 @@ <span class="sourceLineNo">008</span>@InterfaceAudience.Private<a name="line.8"></a> <span class="sourceLineNo">009</span>public class Version {<a name="line.9"></a> <span class="sourceLineNo">010</span> public static final String version = "2.0.0-SNAPSHOT";<a name="line.10"></a> -<span class="sourceLineNo">011</span> public static final String revision = "75d1e0361ac0f7e88ebb330f32b0e62cde997d0c";<a name="line.11"></a> +<span class="sourceLineNo">011</span> public static final String revision = "3acd8e4644c111560502ecc06e10d04dd204a06a";<a name="line.11"></a> <span class="sourceLineNo">012</span> public static final String user = "jenkins";<a name="line.12"></a> -<span class="sourceLineNo">013</span> public static final String date = "Tue Apr 18 14:38:52 UTC 2017";<a name="line.13"></a> +<span class="sourceLineNo">013</span> public static final String date = "Wed Apr 19 14:41:52 UTC 2017";<a name="line.13"></a> <span class="sourceLineNo">014</span> public static final String url = "git://asf920.gq1.ygridcore.net/home/jenkins/jenkins-slave/workspace/hbase_generate_website/hbase";<a name="line.14"></a> -<span class="sourceLineNo">015</span> public static final String srcChecksum = "278bd7647c4bd45bb84facf50fb28f5d";<a name="line.15"></a> +<span class="sourceLineNo">015</span> public static final String srcChecksum = "f9e331dc39b490ff4b8f95f772f9ad5b";<a name="line.15"></a> <span class="sourceLineNo">016</span>}<a name="line.16"></a>