hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [01/10] hbase-site git commit: Published site at 18c5ecf6ed57e80b32568ca1a1a12c7af36bab46.
Date Fri, 07 Apr 2017 14:02:45 GMT
Repository: hbase-site
Updated Branches:
  refs/heads/asf-site 838af5f2a -> f6e3901b4


http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f6e3901b/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestComparators.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestComparators.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestComparators.html
index cba3c38..4192cc6 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestComparators.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestComparators.html
@@ -29,11 +29,11 @@
 <span class="sourceLineNo">021</span>import static org.junit.Assert.assertTrue;<a
name="line.21"></a>
 <span class="sourceLineNo">022</span><a name="line.22"></a>
 <span class="sourceLineNo">023</span>import java.nio.ByteBuffer;<a name="line.23"></a>
-<span class="sourceLineNo">024</span><a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.Cell;<a
name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.CellComparator;<a
name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.KeyValue;<a
name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.TestCellUtil.ByteBufferCellImpl;<a
name="line.28"></a>
+<span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.ByteBufferKeyValue;<a
name="line.24"></a>
+<span class="sourceLineNo">025</span><a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.Cell;<a
name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.CellComparator;<a
name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.KeyValue;<a
name="line.28"></a>
 <span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.testclassification.MiscTests;<a
name="line.29"></a>
 <span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.testclassification.SmallTests;<a
name="line.30"></a>
 <span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.util.Bytes;<a
name="line.31"></a>
@@ -59,18 +59,18 @@
 <span class="sourceLineNo">051</span>    // Row compare<a name="line.51"></a>
 <span class="sourceLineNo">052</span>    KeyValue kv = new KeyValue(r1, f, q1,
v1);<a name="line.52"></a>
 <span class="sourceLineNo">053</span>    ByteBuffer buffer = ByteBuffer.wrap(kv.getBuffer());<a
name="line.53"></a>
-<span class="sourceLineNo">054</span>    Cell bbCell = new ByteBufferCellImpl(buffer,
0, buffer.remaining());<a name="line.54"></a>
+<span class="sourceLineNo">054</span>    Cell bbCell = new ByteBufferKeyValue(buffer,
0, buffer.remaining());<a name="line.54"></a>
 <span class="sourceLineNo">055</span>    ByteArrayComparable comparable = new
BinaryComparator(r1);<a name="line.55"></a>
 <span class="sourceLineNo">056</span>    assertEquals(0, CellComparator.compareRow(bbCell,
comparable));<a name="line.56"></a>
 <span class="sourceLineNo">057</span>    assertEquals(0, CellComparator.compareRow(kv,
comparable));<a name="line.57"></a>
 <span class="sourceLineNo">058</span>    kv = new KeyValue(r0, f, q1, v1);<a
name="line.58"></a>
 <span class="sourceLineNo">059</span>    buffer = ByteBuffer.wrap(kv.getBuffer());<a
name="line.59"></a>
-<span class="sourceLineNo">060</span>    bbCell = new ByteBufferCellImpl(buffer,
0, buffer.remaining());<a name="line.60"></a>
+<span class="sourceLineNo">060</span>    bbCell = new ByteBufferKeyValue(buffer,
0, buffer.remaining());<a name="line.60"></a>
 <span class="sourceLineNo">061</span>    assertTrue(CellComparator.compareRow(bbCell,
comparable) &gt; 0);<a name="line.61"></a>
 <span class="sourceLineNo">062</span>    assertTrue(CellComparator.compareRow(kv,
comparable) &gt; 0);<a name="line.62"></a>
 <span class="sourceLineNo">063</span>    kv = new KeyValue(r2, f, q1, v1);<a
name="line.63"></a>
 <span class="sourceLineNo">064</span>    buffer = ByteBuffer.wrap(kv.getBuffer());<a
name="line.64"></a>
-<span class="sourceLineNo">065</span>    bbCell = new ByteBufferCellImpl(buffer,
0, buffer.remaining());<a name="line.65"></a>
+<span class="sourceLineNo">065</span>    bbCell = new ByteBufferKeyValue(buffer,
0, buffer.remaining());<a name="line.65"></a>
 <span class="sourceLineNo">066</span>    assertTrue(CellComparator.compareRow(bbCell,
comparable) &lt; 0);<a name="line.66"></a>
 <span class="sourceLineNo">067</span>    assertTrue(CellComparator.compareRow(kv,
comparable) &lt; 0);<a name="line.67"></a>
 <span class="sourceLineNo">068</span>    // Qualifier compare<a name="line.68"></a>
@@ -79,12 +79,12 @@
 <span class="sourceLineNo">071</span>    assertEquals(0, CellComparator.compareQualifier(kv,
comparable));<a name="line.71"></a>
 <span class="sourceLineNo">072</span>    kv = new KeyValue(r2, f, q2, v1);<a
name="line.72"></a>
 <span class="sourceLineNo">073</span>    buffer = ByteBuffer.wrap(kv.getBuffer());<a
name="line.73"></a>
-<span class="sourceLineNo">074</span>    bbCell = new ByteBufferCellImpl(buffer,
0, buffer.remaining());<a name="line.74"></a>
+<span class="sourceLineNo">074</span>    bbCell = new ByteBufferKeyValue(buffer,
0, buffer.remaining());<a name="line.74"></a>
 <span class="sourceLineNo">075</span>    assertEquals(0, CellComparator.compareQualifier(bbCell,
comparable));<a name="line.75"></a>
 <span class="sourceLineNo">076</span>    assertEquals(0, CellComparator.compareQualifier(kv,
comparable));<a name="line.76"></a>
 <span class="sourceLineNo">077</span>    kv = new KeyValue(r2, f, q3, v1);<a
name="line.77"></a>
 <span class="sourceLineNo">078</span>    buffer = ByteBuffer.wrap(kv.getBuffer());<a
name="line.78"></a>
-<span class="sourceLineNo">079</span>    bbCell = new ByteBufferCellImpl(buffer,
0, buffer.remaining());<a name="line.79"></a>
+<span class="sourceLineNo">079</span>    bbCell = new ByteBufferKeyValue(buffer,
0, buffer.remaining());<a name="line.79"></a>
 <span class="sourceLineNo">080</span>    assertTrue(CellComparator.compareQualifier(bbCell,
comparable) &lt; 0);<a name="line.80"></a>
 <span class="sourceLineNo">081</span>    assertTrue(CellComparator.compareQualifier(kv,
comparable) &lt; 0);<a name="line.81"></a>
 <span class="sourceLineNo">082</span>    // Value compare<a name="line.82"></a>
@@ -93,7 +93,7 @@
 <span class="sourceLineNo">085</span>    assertEquals(0, CellComparator.compareValue(kv,
comparable));<a name="line.85"></a>
 <span class="sourceLineNo">086</span>    kv = new KeyValue(r1, f, q1, v2);<a
name="line.86"></a>
 <span class="sourceLineNo">087</span>    buffer = ByteBuffer.wrap(kv.getBuffer());<a
name="line.87"></a>
-<span class="sourceLineNo">088</span>    bbCell = new ByteBufferCellImpl(buffer,
0, buffer.remaining());<a name="line.88"></a>
+<span class="sourceLineNo">088</span>    bbCell = new ByteBufferKeyValue(buffer,
0, buffer.remaining());<a name="line.88"></a>
 <span class="sourceLineNo">089</span>    assertTrue(CellComparator.compareValue(bbCell,
comparable) &lt; 0);<a name="line.89"></a>
 <span class="sourceLineNo">090</span>    assertTrue(CellComparator.compareValue(kv,
comparable) &lt; 0);<a name="line.90"></a>
 <span class="sourceLineNo">091</span>    // Family compare<a name="line.91"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f6e3901b/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestKeyOnlyFilter.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestKeyOnlyFilter.html
b/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestKeyOnlyFilter.html
index 7e329e0..2aaa2ed 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestKeyOnlyFilter.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestKeyOnlyFilter.html
@@ -31,12 +31,12 @@
 <span class="sourceLineNo">023</span>import java.util.ArrayList;<a name="line.23"></a>
 <span class="sourceLineNo">024</span>import java.util.Collection;<a name="line.24"></a>
 <span class="sourceLineNo">025</span>import java.util.List;<a name="line.25"></a>
-<span class="sourceLineNo">026</span><a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.CellUtil;<a
name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.KeyValue;<a
name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.KeyValue.Type;<a
name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.KeyValueUtil;<a
name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.TestCellUtil.ByteBufferCellImpl;<a
name="line.31"></a>
+<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.ByteBufferKeyValue;<a
name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.CellUtil;<a
name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.KeyValue;<a
name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.KeyValue.Type;<a
name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.KeyValueUtil;<a
name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.filter.KeyOnlyFilter.KeyOnlyByteBufferCell;<a
name="line.32"></a>
 <span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.filter.KeyOnlyFilter.KeyOnlyCell;<a
name="line.33"></a>
 <span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.testclassification.MiscTests;<a
name="line.34"></a>
@@ -79,7 +79,7 @@
 <span class="sourceLineNo">071</span>        v.length, tags);<a name="line.71"></a>
 <span class="sourceLineNo">072</span><a name="line.72"></a>
 <span class="sourceLineNo">073</span>    ByteBuffer buffer = ByteBuffer.wrap(kv.getBuffer());<a
name="line.73"></a>
-<span class="sourceLineNo">074</span>    ByteBufferCellImpl bbCell = new ByteBufferCellImpl(buffer,
0,<a name="line.74"></a>
+<span class="sourceLineNo">074</span>    ByteBufferKeyValue bbCell = new ByteBufferKeyValue(buffer,
0,<a name="line.74"></a>
 <span class="sourceLineNo">075</span>        buffer.remaining());<a name="line.75"></a>
 <span class="sourceLineNo">076</span><a name="line.76"></a>
 <span class="sourceLineNo">077</span>    // KV format: &lt;keylen:4&gt;&lt;valuelen:4&gt;&lt;key:keylen&gt;&lt;value:valuelen&gt;<a
name="line.77"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f6e3901b/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestSingleColumnValueFilter.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestSingleColumnValueFilter.html
b/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestSingleColumnValueFilter.html
index cc4d28d..a5434fe 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestSingleColumnValueFilter.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/filter/TestSingleColumnValueFilter.html
@@ -32,10 +32,10 @@
 <span class="sourceLineNo">024</span>import java.io.IOException;<a name="line.24"></a>
 <span class="sourceLineNo">025</span>import java.nio.ByteBuffer;<a name="line.25"></a>
 <span class="sourceLineNo">026</span>import java.util.regex.Pattern;<a name="line.26"></a>
-<span class="sourceLineNo">027</span><a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.Cell;<a
name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.KeyValue;<a
name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.TestCellUtil.ByteBufferCellImpl;<a
name="line.30"></a>
+<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.ByteBufferKeyValue;<a
name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.Cell;<a
name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.KeyValue;<a
name="line.30"></a>
 <span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.filter.CompareFilter.CompareOp;<a
name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.testclassification.FilterTests;<a
name="line.32"></a>
 <span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.testclassification.SmallTests;<a
name="line.33"></a>
@@ -116,7 +116,7 @@
 <span class="sourceLineNo">108</span>    assertTrue("less than", filter.filterKeyValue(kv)
== Filter.ReturnCode.NEXT_ROW);<a name="line.108"></a>
 <span class="sourceLineNo">109</span>    filter.reset();<a name="line.109"></a>
 <span class="sourceLineNo">110</span>    byte[] buffer = kv.getBuffer();<a
name="line.110"></a>
-<span class="sourceLineNo">111</span>    Cell c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.111"></a>
+<span class="sourceLineNo">111</span>    Cell c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.111"></a>
 <span class="sourceLineNo">112</span>    assertTrue("less than", filter.filterKeyValue(c)
== Filter.ReturnCode.NEXT_ROW);<a name="line.112"></a>
 <span class="sourceLineNo">113</span>    filter.reset();<a name="line.113"></a>
 <span class="sourceLineNo">114</span><a name="line.114"></a>
@@ -125,7 +125,7 @@
 <span class="sourceLineNo">117</span>    assertTrue("Equals 100", filter.filterKeyValue(kv)
== Filter.ReturnCode.NEXT_ROW);<a name="line.117"></a>
 <span class="sourceLineNo">118</span>    filter.reset();<a name="line.118"></a>
 <span class="sourceLineNo">119</span>    buffer = kv.getBuffer();<a name="line.119"></a>
-<span class="sourceLineNo">120</span>    c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.120"></a>
+<span class="sourceLineNo">120</span>    c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.120"></a>
 <span class="sourceLineNo">121</span>    assertTrue("Equals 100", filter.filterKeyValue(c)
== Filter.ReturnCode.NEXT_ROW);<a name="line.121"></a>
 <span class="sourceLineNo">122</span>    filter.reset();<a name="line.122"></a>
 <span class="sourceLineNo">123</span><a name="line.123"></a>
@@ -134,7 +134,7 @@
 <span class="sourceLineNo">126</span>    assertTrue("include 120", filter.filterKeyValue(kv)
== Filter.ReturnCode.INCLUDE);<a name="line.126"></a>
 <span class="sourceLineNo">127</span>    filter.reset();<a name="line.127"></a>
 <span class="sourceLineNo">128</span>    buffer = kv.getBuffer();<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.129"></a>
+<span class="sourceLineNo">129</span>    c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.129"></a>
 <span class="sourceLineNo">130</span>    assertTrue("include 120", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.130"></a>
 <span class="sourceLineNo">131</span>  }<a name="line.131"></a>
 <span class="sourceLineNo">132</span><a name="line.132"></a>
@@ -143,29 +143,29 @@
 <span class="sourceLineNo">135</span>    KeyValue kv = new KeyValue(ROW, COLUMN_FAMILY,
COLUMN_QUALIFIER, VAL_2);<a name="line.135"></a>
 <span class="sourceLineNo">136</span>    assertTrue("basicFilter1", filter.filterKeyValue(kv)
== Filter.ReturnCode.INCLUDE);<a name="line.136"></a>
 <span class="sourceLineNo">137</span>    byte[] buffer = kv.getBuffer();<a
name="line.137"></a>
-<span class="sourceLineNo">138</span>    Cell c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.138"></a>
+<span class="sourceLineNo">138</span>    Cell c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.138"></a>
 <span class="sourceLineNo">139</span>    assertTrue("basicFilter1", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.139"></a>
 <span class="sourceLineNo">140</span>    kv = new KeyValue(ROW, COLUMN_FAMILY,
COLUMN_QUALIFIER, VAL_3);<a name="line.140"></a>
 <span class="sourceLineNo">141</span>    assertTrue("basicFilter2", filter.filterKeyValue(kv)
== Filter.ReturnCode.INCLUDE);<a name="line.141"></a>
 <span class="sourceLineNo">142</span>    buffer = kv.getBuffer();<a name="line.142"></a>
-<span class="sourceLineNo">143</span>    c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.143"></a>
+<span class="sourceLineNo">143</span>    c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.143"></a>
 <span class="sourceLineNo">144</span>    assertTrue("basicFilter2", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.144"></a>
 <span class="sourceLineNo">145</span>    kv = new KeyValue(ROW, COLUMN_FAMILY,
COLUMN_QUALIFIER, VAL_4);<a name="line.145"></a>
 <span class="sourceLineNo">146</span>    assertTrue("basicFilter3", filter.filterKeyValue(kv)
== Filter.ReturnCode.INCLUDE);<a name="line.146"></a>
 <span class="sourceLineNo">147</span>    buffer = kv.getBuffer();<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.148"></a>
+<span class="sourceLineNo">148</span>    c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.148"></a>
 <span class="sourceLineNo">149</span>    assertTrue("basicFilter3", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.149"></a>
 <span class="sourceLineNo">150</span>    assertFalse("basicFilterNotNull", filter.filterRow());<a
name="line.150"></a>
 <span class="sourceLineNo">151</span>    filter.reset();<a name="line.151"></a>
 <span class="sourceLineNo">152</span>    kv = new KeyValue(ROW, COLUMN_FAMILY,
COLUMN_QUALIFIER, VAL_1);<a name="line.152"></a>
 <span class="sourceLineNo">153</span>    assertTrue("basicFilter4", filter.filterKeyValue(kv)
== Filter.ReturnCode.NEXT_ROW);<a name="line.153"></a>
 <span class="sourceLineNo">154</span>    buffer = kv.getBuffer();<a name="line.154"></a>
-<span class="sourceLineNo">155</span>    c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.155"></a>
+<span class="sourceLineNo">155</span>    c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.155"></a>
 <span class="sourceLineNo">156</span>    assertTrue("basicFilter4", filter.filterKeyValue(c)
== Filter.ReturnCode.NEXT_ROW);<a name="line.156"></a>
 <span class="sourceLineNo">157</span>    kv = new KeyValue(ROW, COLUMN_FAMILY,
COLUMN_QUALIFIER, VAL_2);<a name="line.157"></a>
 <span class="sourceLineNo">158</span>    assertTrue("basicFilter4", filter.filterKeyValue(kv)
== Filter.ReturnCode.NEXT_ROW);<a name="line.158"></a>
 <span class="sourceLineNo">159</span>    buffer = kv.getBuffer();<a name="line.159"></a>
-<span class="sourceLineNo">160</span>    c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.160"></a>
+<span class="sourceLineNo">160</span>    c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.160"></a>
 <span class="sourceLineNo">161</span>    assertTrue("basicFilter4", filter.filterKeyValue(c)
== Filter.ReturnCode.NEXT_ROW);<a name="line.161"></a>
 <span class="sourceLineNo">162</span>    assertFalse("basicFilterAllRemaining",
filter.filterAllRemaining());<a name="line.162"></a>
 <span class="sourceLineNo">163</span>    assertTrue("basicFilterNotNull", filter.filterRow());<a
name="line.163"></a>
@@ -174,12 +174,12 @@
 <span class="sourceLineNo">166</span>    kv = new KeyValue(ROW, COLUMN_FAMILY,
COLUMN_QUALIFIER, VAL_1);<a name="line.166"></a>
 <span class="sourceLineNo">167</span>    assertTrue("basicFilter5", filter.filterKeyValue(kv)
== Filter.ReturnCode.INCLUDE);<a name="line.167"></a>
 <span class="sourceLineNo">168</span>    buffer = kv.getBuffer();<a name="line.168"></a>
-<span class="sourceLineNo">169</span>    c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.169"></a>
+<span class="sourceLineNo">169</span>    c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.169"></a>
 <span class="sourceLineNo">170</span>    assertTrue("basicFilter5", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.170"></a>
 <span class="sourceLineNo">171</span>    kv = new KeyValue(ROW, COLUMN_FAMILY,
COLUMN_QUALIFIER, VAL_2);<a name="line.171"></a>
 <span class="sourceLineNo">172</span>    assertTrue("basicFilter5", filter.filterKeyValue(kv)
== Filter.ReturnCode.INCLUDE);<a name="line.172"></a>
 <span class="sourceLineNo">173</span>    buffer = kv.getBuffer();<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.174"></a>
+<span class="sourceLineNo">174</span>    c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.174"></a>
 <span class="sourceLineNo">175</span>    assertTrue("basicFilter5", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.175"></a>
 <span class="sourceLineNo">176</span>    assertFalse("basicFilterNotNull", filter.filterRow());<a
name="line.176"></a>
 <span class="sourceLineNo">177</span>  }<a name="line.177"></a>
@@ -189,14 +189,14 @@
 <span class="sourceLineNo">181</span>    KeyValue kv = new KeyValue(ROW, COLUMN_FAMILY,
COLUMN_QUALIFIER, FULLSTRING_1);<a name="line.181"></a>
 <span class="sourceLineNo">182</span>    assertTrue("null1", filter.filterKeyValue(kv)
== Filter.ReturnCode.INCLUDE);<a name="line.182"></a>
 <span class="sourceLineNo">183</span>    byte[] buffer = kv.getBuffer();<a
name="line.183"></a>
-<span class="sourceLineNo">184</span>    Cell c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.184"></a>
+<span class="sourceLineNo">184</span>    Cell c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.184"></a>
 <span class="sourceLineNo">185</span>    assertTrue("null1", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.185"></a>
 <span class="sourceLineNo">186</span>    assertFalse("null1FilterRow", filter.filterRow());<a
name="line.186"></a>
 <span class="sourceLineNo">187</span>    filter.reset();<a name="line.187"></a>
 <span class="sourceLineNo">188</span>    kv = new KeyValue(ROW, COLUMN_FAMILY,
Bytes.toBytes("qual2"), FULLSTRING_2);<a name="line.188"></a>
 <span class="sourceLineNo">189</span>    assertTrue("null2", filter.filterKeyValue(kv)
== Filter.ReturnCode.INCLUDE);<a name="line.189"></a>
 <span class="sourceLineNo">190</span>    buffer = kv.getBuffer();<a name="line.190"></a>
-<span class="sourceLineNo">191</span>    c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.191"></a>
+<span class="sourceLineNo">191</span>    c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.191"></a>
 <span class="sourceLineNo">192</span>    assertTrue("null2", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.192"></a>
 <span class="sourceLineNo">193</span>    assertTrue("null2FilterRow", filter.filterRow());<a
name="line.193"></a>
 <span class="sourceLineNo">194</span>  }<a name="line.194"></a>
@@ -208,13 +208,13 @@
 <span class="sourceLineNo">200</span>    assertTrue("substrTrue",<a name="line.200"></a>
 <span class="sourceLineNo">201</span>      filter.filterKeyValue(kv) == Filter.ReturnCode.INCLUDE);<a
name="line.201"></a>
 <span class="sourceLineNo">202</span>    byte[] buffer = kv.getBuffer();<a
name="line.202"></a>
-<span class="sourceLineNo">203</span>    Cell c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.203"></a>
+<span class="sourceLineNo">203</span>    Cell c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.203"></a>
 <span class="sourceLineNo">204</span>    assertTrue("substrTrue", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.204"></a>
 <span class="sourceLineNo">205</span>    kv = new KeyValue(ROW, COLUMN_FAMILY,
COLUMN_QUALIFIER,<a name="line.205"></a>
 <span class="sourceLineNo">206</span>      FULLSTRING_2);<a name="line.206"></a>
 <span class="sourceLineNo">207</span>    assertTrue("substrFalse", filter.filterKeyValue(kv)
== Filter.ReturnCode.INCLUDE);<a name="line.207"></a>
 <span class="sourceLineNo">208</span>    buffer = kv.getBuffer();<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.209"></a>
+<span class="sourceLineNo">209</span>    c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.209"></a>
 <span class="sourceLineNo">210</span>    assertTrue("substrFalse", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.210"></a>
 <span class="sourceLineNo">211</span>    assertFalse("substrFilterAllRemaining",
filter.filterAllRemaining());<a name="line.211"></a>
 <span class="sourceLineNo">212</span>    assertFalse("substrFilterNotNull", filter.filterRow());<a
name="line.212"></a>
@@ -227,13 +227,13 @@
 <span class="sourceLineNo">219</span>    assertTrue("regexTrue",<a name="line.219"></a>
 <span class="sourceLineNo">220</span>      filter.filterKeyValue(kv) == Filter.ReturnCode.INCLUDE);<a
name="line.220"></a>
 <span class="sourceLineNo">221</span>    byte[] buffer = kv.getBuffer();<a
name="line.221"></a>
-<span class="sourceLineNo">222</span>    Cell c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.222"></a>
+<span class="sourceLineNo">222</span>    Cell c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.222"></a>
 <span class="sourceLineNo">223</span>    assertTrue("regexTrue", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.223"></a>
 <span class="sourceLineNo">224</span>    kv = new KeyValue(ROW, COLUMN_FAMILY,
COLUMN_QUALIFIER,<a name="line.224"></a>
 <span class="sourceLineNo">225</span>      FULLSTRING_2);<a name="line.225"></a>
 <span class="sourceLineNo">226</span>    assertTrue("regexFalse", filter.filterKeyValue(kv)
== Filter.ReturnCode.INCLUDE);<a name="line.226"></a>
 <span class="sourceLineNo">227</span>    buffer = kv.getBuffer();<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.228"></a>
+<span class="sourceLineNo">228</span>    c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.228"></a>
 <span class="sourceLineNo">229</span>    assertTrue("regexFalse", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.229"></a>
 <span class="sourceLineNo">230</span>    assertFalse("regexFilterAllRemaining",
filter.filterAllRemaining());<a name="line.230"></a>
 <span class="sourceLineNo">231</span>    assertFalse("regexFilterNotNull", filter.filterRow());<a
name="line.231"></a>
@@ -246,7 +246,7 @@
 <span class="sourceLineNo">238</span>    assertTrue("regexTrue",<a name="line.238"></a>
 <span class="sourceLineNo">239</span>      filter.filterKeyValue(kv) == Filter.ReturnCode.INCLUDE);<a
name="line.239"></a>
 <span class="sourceLineNo">240</span>    byte[] buffer = kv.getBuffer();<a
name="line.240"></a>
-<span class="sourceLineNo">241</span>    Cell c = new ByteBufferCellImpl(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.241"></a>
+<span class="sourceLineNo">241</span>    Cell c = new ByteBufferKeyValue(ByteBuffer.wrap(buffer),
0, buffer.length);<a name="line.241"></a>
 <span class="sourceLineNo">242</span>    assertTrue("regexTrue", filter.filterKeyValue(c)
== Filter.ReturnCode.INCLUDE);<a name="line.242"></a>
 <span class="sourceLineNo">243</span>    assertFalse("regexFilterAllRemaining",
filter.filterAllRemaining());<a name="line.243"></a>
 <span class="sourceLineNo">244</span>    assertFalse("regexFilterNotNull", filter.filterRow());<a
name="line.244"></a>


Mime
View raw message