hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject [17/52] [partial] hbase-site git commit: Published site at e06c3676f1273f033e3e185ee9c1ec52c1c7cb31.
Date Sun, 09 Oct 2016 15:12:55 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c7e84622/apidocs/src-html/org/apache/hadoop/hbase/filter/ValueFilter.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/ValueFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/ValueFilter.html
index bd19cfa..5454754 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/ValueFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/ValueFilter.html
@@ -34,103 +34,102 @@
 <span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.26"></a>
 <span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.classification.InterfaceStability;<a name="line.27"></a>
 <span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.exceptions.DeserializationException;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.protobuf.ProtobufUtil;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.protobuf.generated.FilterProtos;<a name="line.30"></a>
-<span class="sourceLineNo">031</span><a name="line.31"></a>
-<span class="sourceLineNo">032</span>import com.google.protobuf.InvalidProtocolBufferException;<a name="line.32"></a>
-<span class="sourceLineNo">033</span><a name="line.33"></a>
-<span class="sourceLineNo">034</span>/**<a name="line.34"></a>
-<span class="sourceLineNo">035</span> * This filter is used to filter based on column value. It takes an<a name="line.35"></a>
-<span class="sourceLineNo">036</span> * operator (equal, greater, not equal, etc) and a byte [] comparator for the<a name="line.36"></a>
-<span class="sourceLineNo">037</span> * cell value.<a name="line.37"></a>
-<span class="sourceLineNo">038</span> * &lt;p&gt;<a name="line.38"></a>
-<span class="sourceLineNo">039</span> * This filter can be wrapped with {@link WhileMatchFilter} and {@link SkipFilter}<a name="line.39"></a>
-<span class="sourceLineNo">040</span> * to add more control.<a name="line.40"></a>
-<span class="sourceLineNo">041</span> * &lt;p&gt;<a name="line.41"></a>
-<span class="sourceLineNo">042</span> * Multiple filters can be combined using {@link FilterList}.<a name="line.42"></a>
-<span class="sourceLineNo">043</span> * &lt;p&gt;<a name="line.43"></a>
-<span class="sourceLineNo">044</span> * To test the value of a single qualifier when scanning multiple qualifiers,<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * use {@link SingleColumnValueFilter}.<a name="line.45"></a>
-<span class="sourceLineNo">046</span> */<a name="line.46"></a>
-<span class="sourceLineNo">047</span>@InterfaceAudience.Public<a name="line.47"></a>
-<span class="sourceLineNo">048</span>@InterfaceStability.Stable<a name="line.48"></a>
-<span class="sourceLineNo">049</span>public class ValueFilter extends CompareFilter {<a name="line.49"></a>
-<span class="sourceLineNo">050</span><a name="line.50"></a>
-<span class="sourceLineNo">051</span>  /**<a name="line.51"></a>
-<span class="sourceLineNo">052</span>   * Constructor.<a name="line.52"></a>
-<span class="sourceLineNo">053</span>   * @param valueCompareOp the compare op for value matching<a name="line.53"></a>
-<span class="sourceLineNo">054</span>   * @param valueComparator the comparator for value matching<a name="line.54"></a>
-<span class="sourceLineNo">055</span>   */<a name="line.55"></a>
-<span class="sourceLineNo">056</span>  public ValueFilter(final CompareOp valueCompareOp,<a name="line.56"></a>
-<span class="sourceLineNo">057</span>      final ByteArrayComparable valueComparator) {<a name="line.57"></a>
-<span class="sourceLineNo">058</span>    super(valueCompareOp, valueComparator);<a name="line.58"></a>
-<span class="sourceLineNo">059</span>  }<a name="line.59"></a>
-<span class="sourceLineNo">060</span><a name="line.60"></a>
-<span class="sourceLineNo">061</span>  @Override<a name="line.61"></a>
-<span class="sourceLineNo">062</span>  public ReturnCode filterKeyValue(Cell v) {<a name="line.62"></a>
-<span class="sourceLineNo">063</span>    if (compareValue(this.compareOp, this.comparator, v)) {<a name="line.63"></a>
-<span class="sourceLineNo">064</span>      return ReturnCode.SKIP;<a name="line.64"></a>
-<span class="sourceLineNo">065</span>    }<a name="line.65"></a>
-<span class="sourceLineNo">066</span>    return ReturnCode.INCLUDE;<a name="line.66"></a>
-<span class="sourceLineNo">067</span>  }<a name="line.67"></a>
-<span class="sourceLineNo">068</span><a name="line.68"></a>
-<span class="sourceLineNo">069</span>  public static Filter createFilterFromArguments(ArrayList&lt;byte []&gt; filterArguments) {<a name="line.69"></a>
-<span class="sourceLineNo">070</span>    @SuppressWarnings("rawtypes")  // for arguments<a name="line.70"></a>
-<span class="sourceLineNo">071</span>    ArrayList arguments = CompareFilter.extractArguments(filterArguments);<a name="line.71"></a>
-<span class="sourceLineNo">072</span>    CompareOp compareOp = (CompareOp)arguments.get(0);<a name="line.72"></a>
-<span class="sourceLineNo">073</span>    ByteArrayComparable comparator = (ByteArrayComparable)arguments.get(1);<a name="line.73"></a>
-<span class="sourceLineNo">074</span>    return new ValueFilter(compareOp, comparator);<a name="line.74"></a>
-<span class="sourceLineNo">075</span>  }<a name="line.75"></a>
-<span class="sourceLineNo">076</span><a name="line.76"></a>
-<span class="sourceLineNo">077</span>  /**<a name="line.77"></a>
-<span class="sourceLineNo">078</span>   * @return The filter serialized using pb<a name="line.78"></a>
-<span class="sourceLineNo">079</span>   */<a name="line.79"></a>
-<span class="sourceLineNo">080</span>  public byte [] toByteArray() {<a name="line.80"></a>
-<span class="sourceLineNo">081</span>    FilterProtos.ValueFilter.Builder builder =<a name="line.81"></a>
-<span class="sourceLineNo">082</span>      FilterProtos.ValueFilter.newBuilder();<a name="line.82"></a>
-<span class="sourceLineNo">083</span>    builder.setCompareFilter(super.convert());<a name="line.83"></a>
-<span class="sourceLineNo">084</span>    return builder.build().toByteArray();<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>
-<span class="sourceLineNo">087</span>  /**<a name="line.87"></a>
-<span class="sourceLineNo">088</span>   * @param pbBytes A pb serialized {@link ValueFilter} instance<a name="line.88"></a>
-<span class="sourceLineNo">089</span>   * @return An instance of {@link ValueFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.89"></a>
-<span class="sourceLineNo">090</span>   * @throws DeserializationException<a name="line.90"></a>
-<span class="sourceLineNo">091</span>   * @see #toByteArray<a name="line.91"></a>
-<span class="sourceLineNo">092</span>   */<a name="line.92"></a>
-<span class="sourceLineNo">093</span>  public static ValueFilter parseFrom(final byte [] pbBytes)<a name="line.93"></a>
-<span class="sourceLineNo">094</span>  throws DeserializationException {<a name="line.94"></a>
-<span class="sourceLineNo">095</span>    FilterProtos.ValueFilter proto;<a name="line.95"></a>
-<span class="sourceLineNo">096</span>    try {<a name="line.96"></a>
-<span class="sourceLineNo">097</span>      proto = FilterProtos.ValueFilter.parseFrom(pbBytes);<a name="line.97"></a>
-<span class="sourceLineNo">098</span>    } catch (InvalidProtocolBufferException e) {<a name="line.98"></a>
-<span class="sourceLineNo">099</span>      throw new DeserializationException(e);<a name="line.99"></a>
-<span class="sourceLineNo">100</span>    }<a name="line.100"></a>
-<span class="sourceLineNo">101</span>    final CompareOp valueCompareOp =<a name="line.101"></a>
-<span class="sourceLineNo">102</span>      CompareOp.valueOf(proto.getCompareFilter().getCompareOp().name());<a name="line.102"></a>
-<span class="sourceLineNo">103</span>    ByteArrayComparable valueComparator = null;<a name="line.103"></a>
-<span class="sourceLineNo">104</span>    try {<a name="line.104"></a>
-<span class="sourceLineNo">105</span>      if (proto.getCompareFilter().hasComparator()) {<a name="line.105"></a>
-<span class="sourceLineNo">106</span>        valueComparator = ProtobufUtil.toComparator(proto.getCompareFilter().getComparator());<a name="line.106"></a>
-<span class="sourceLineNo">107</span>      }<a name="line.107"></a>
-<span class="sourceLineNo">108</span>    } catch (IOException ioe) {<a name="line.108"></a>
-<span class="sourceLineNo">109</span>      throw new DeserializationException(ioe);<a name="line.109"></a>
-<span class="sourceLineNo">110</span>    }<a name="line.110"></a>
-<span class="sourceLineNo">111</span>    return new ValueFilter(valueCompareOp,valueComparator);<a name="line.111"></a>
-<span class="sourceLineNo">112</span>  }<a name="line.112"></a>
-<span class="sourceLineNo">113</span><a name="line.113"></a>
-<span class="sourceLineNo">114</span>  /**<a name="line.114"></a>
-<span class="sourceLineNo">115</span>   * @param other<a name="line.115"></a>
-<span class="sourceLineNo">116</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.116"></a>
-<span class="sourceLineNo">117</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.117"></a>
-<span class="sourceLineNo">118</span>   */<a name="line.118"></a>
-<span class="sourceLineNo">119</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.119"></a>
-<span class="sourceLineNo">120</span>    if (o == this) return true;<a name="line.120"></a>
-<span class="sourceLineNo">121</span>    if (!(o instanceof ValueFilter)) return false;<a name="line.121"></a>
-<span class="sourceLineNo">122</span><a name="line.122"></a>
-<span class="sourceLineNo">123</span>    return super.areSerializedFieldsEqual(o);<a name="line.123"></a>
-<span class="sourceLineNo">124</span>  }<a name="line.124"></a>
-<span class="sourceLineNo">125</span>}<a name="line.125"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException;<a name="line.31"></a>
+<span class="sourceLineNo">032</span><a name="line.32"></a>
+<span class="sourceLineNo">033</span>/**<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * This filter is used to filter based on column value. It takes an<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * operator (equal, greater, not equal, etc) and a byte [] comparator for the<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * cell value.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * &lt;p&gt;<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * This filter can be wrapped with {@link WhileMatchFilter} and {@link SkipFilter}<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * to add more control.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * &lt;p&gt;<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * Multiple filters can be combined using {@link FilterList}.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * &lt;p&gt;<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * To test the value of a single qualifier when scanning multiple qualifiers,<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * use {@link SingleColumnValueFilter}.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> */<a name="line.45"></a>
+<span class="sourceLineNo">046</span>@InterfaceAudience.Public<a name="line.46"></a>
+<span class="sourceLineNo">047</span>@InterfaceStability.Stable<a name="line.47"></a>
+<span class="sourceLineNo">048</span>public class ValueFilter extends CompareFilter {<a name="line.48"></a>
+<span class="sourceLineNo">049</span><a name="line.49"></a>
+<span class="sourceLineNo">050</span>  /**<a name="line.50"></a>
+<span class="sourceLineNo">051</span>   * Constructor.<a name="line.51"></a>
+<span class="sourceLineNo">052</span>   * @param valueCompareOp the compare op for value matching<a name="line.52"></a>
+<span class="sourceLineNo">053</span>   * @param valueComparator the comparator for value matching<a name="line.53"></a>
+<span class="sourceLineNo">054</span>   */<a name="line.54"></a>
+<span class="sourceLineNo">055</span>  public ValueFilter(final CompareOp valueCompareOp,<a name="line.55"></a>
+<span class="sourceLineNo">056</span>      final ByteArrayComparable valueComparator) {<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    super(valueCompareOp, valueComparator);<a name="line.57"></a>
+<span class="sourceLineNo">058</span>  }<a name="line.58"></a>
+<span class="sourceLineNo">059</span><a name="line.59"></a>
+<span class="sourceLineNo">060</span>  @Override<a name="line.60"></a>
+<span class="sourceLineNo">061</span>  public ReturnCode filterKeyValue(Cell v) {<a name="line.61"></a>
+<span class="sourceLineNo">062</span>    if (compareValue(this.compareOp, this.comparator, v)) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span>      return ReturnCode.SKIP;<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    }<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    return ReturnCode.INCLUDE;<a name="line.65"></a>
+<span class="sourceLineNo">066</span>  }<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span>  public static Filter createFilterFromArguments(ArrayList&lt;byte []&gt; filterArguments) {<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    @SuppressWarnings("rawtypes")  // for arguments<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    ArrayList arguments = CompareFilter.extractArguments(filterArguments);<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    CompareOp compareOp = (CompareOp)arguments.get(0);<a name="line.71"></a>
+<span class="sourceLineNo">072</span>    ByteArrayComparable comparator = (ByteArrayComparable)arguments.get(1);<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    return new ValueFilter(compareOp, comparator);<a name="line.73"></a>
+<span class="sourceLineNo">074</span>  }<a name="line.74"></a>
+<span class="sourceLineNo">075</span><a name="line.75"></a>
+<span class="sourceLineNo">076</span>  /**<a name="line.76"></a>
+<span class="sourceLineNo">077</span>   * @return The filter serialized using pb<a name="line.77"></a>
+<span class="sourceLineNo">078</span>   */<a name="line.78"></a>
+<span class="sourceLineNo">079</span>  public byte [] toByteArray() {<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    FilterProtos.ValueFilter.Builder builder =<a name="line.80"></a>
+<span class="sourceLineNo">081</span>      FilterProtos.ValueFilter.newBuilder();<a name="line.81"></a>
+<span class="sourceLineNo">082</span>    builder.setCompareFilter(super.convert());<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    return builder.build().toByteArray();<a name="line.83"></a>
+<span class="sourceLineNo">084</span>  }<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>
+<span class="sourceLineNo">087</span>   * @param pbBytes A pb serialized {@link ValueFilter} instance<a name="line.87"></a>
+<span class="sourceLineNo">088</span>   * @return An instance of {@link ValueFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.88"></a>
+<span class="sourceLineNo">089</span>   * @throws DeserializationException<a name="line.89"></a>
+<span class="sourceLineNo">090</span>   * @see #toByteArray<a name="line.90"></a>
+<span class="sourceLineNo">091</span>   */<a name="line.91"></a>
+<span class="sourceLineNo">092</span>  public static ValueFilter parseFrom(final byte [] pbBytes)<a name="line.92"></a>
+<span class="sourceLineNo">093</span>  throws DeserializationException {<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    FilterProtos.ValueFilter proto;<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    try {<a name="line.95"></a>
+<span class="sourceLineNo">096</span>      proto = FilterProtos.ValueFilter.parseFrom(pbBytes);<a name="line.96"></a>
+<span class="sourceLineNo">097</span>    } catch (InvalidProtocolBufferException e) {<a name="line.97"></a>
+<span class="sourceLineNo">098</span>      throw new DeserializationException(e);<a name="line.98"></a>
+<span class="sourceLineNo">099</span>    }<a name="line.99"></a>
+<span class="sourceLineNo">100</span>    final CompareOp valueCompareOp =<a name="line.100"></a>
+<span class="sourceLineNo">101</span>      CompareOp.valueOf(proto.getCompareFilter().getCompareOp().name());<a name="line.101"></a>
+<span class="sourceLineNo">102</span>    ByteArrayComparable valueComparator = null;<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    try {<a name="line.103"></a>
+<span class="sourceLineNo">104</span>      if (proto.getCompareFilter().hasComparator()) {<a name="line.104"></a>
+<span class="sourceLineNo">105</span>        valueComparator = ProtobufUtil.toComparator(proto.getCompareFilter().getComparator());<a name="line.105"></a>
+<span class="sourceLineNo">106</span>      }<a name="line.106"></a>
+<span class="sourceLineNo">107</span>    } catch (IOException ioe) {<a name="line.107"></a>
+<span class="sourceLineNo">108</span>      throw new DeserializationException(ioe);<a name="line.108"></a>
+<span class="sourceLineNo">109</span>    }<a name="line.109"></a>
+<span class="sourceLineNo">110</span>    return new ValueFilter(valueCompareOp,valueComparator);<a name="line.110"></a>
+<span class="sourceLineNo">111</span>  }<a name="line.111"></a>
+<span class="sourceLineNo">112</span><a name="line.112"></a>
+<span class="sourceLineNo">113</span>  /**<a name="line.113"></a>
+<span class="sourceLineNo">114</span>   * @param other<a name="line.114"></a>
+<span class="sourceLineNo">115</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.115"></a>
+<span class="sourceLineNo">116</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.116"></a>
+<span class="sourceLineNo">117</span>   */<a name="line.117"></a>
+<span class="sourceLineNo">118</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    if (o == this) return true;<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    if (!(o instanceof ValueFilter)) return false;<a name="line.120"></a>
+<span class="sourceLineNo">121</span><a name="line.121"></a>
+<span class="sourceLineNo">122</span>    return super.areSerializedFieldsEqual(o);<a name="line.122"></a>
+<span class="sourceLineNo">123</span>  }<a name="line.123"></a>
+<span class="sourceLineNo">124</span>}<a name="line.124"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c7e84622/apidocs/src-html/org/apache/hadoop/hbase/filter/WhileMatchFilter.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/WhileMatchFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/WhileMatchFilter.html
index a33a945..58a2735 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/WhileMatchFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/WhileMatchFilter.html
@@ -33,138 +33,137 @@
 <span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.25"></a>
 <span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.classification.InterfaceStability;<a name="line.26"></a>
 <span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.exceptions.DeserializationException;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.protobuf.ProtobufUtil;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.protobuf.generated.FilterProtos;<a name="line.29"></a>
-<span class="sourceLineNo">030</span><a name="line.30"></a>
-<span class="sourceLineNo">031</span>import com.google.protobuf.InvalidProtocolBufferException;<a name="line.31"></a>
-<span class="sourceLineNo">032</span><a name="line.32"></a>
-<span class="sourceLineNo">033</span>/**<a name="line.33"></a>
-<span class="sourceLineNo">034</span> * A wrapper filter that returns true from {@link #filterAllRemaining()} as soon<a name="line.34"></a>
-<span class="sourceLineNo">035</span> * as the wrapped filters {@link Filter#filterRowKey(byte[], int, int)},<a name="line.35"></a>
-<span class="sourceLineNo">036</span> * {@link Filter#filterKeyValue(org.apache.hadoop.hbase.Cell)},<a name="line.36"></a>
-<span class="sourceLineNo">037</span> * {@link org.apache.hadoop.hbase.filter.Filter#filterRow()} or<a name="line.37"></a>
-<span class="sourceLineNo">038</span> * {@link org.apache.hadoop.hbase.filter.Filter#filterAllRemaining()} methods<a name="line.38"></a>
-<span class="sourceLineNo">039</span> * returns true.<a name="line.39"></a>
-<span class="sourceLineNo">040</span> */<a name="line.40"></a>
-<span class="sourceLineNo">041</span>@InterfaceAudience.Public<a name="line.41"></a>
-<span class="sourceLineNo">042</span>@InterfaceStability.Stable<a name="line.42"></a>
-<span class="sourceLineNo">043</span>public class WhileMatchFilter extends FilterBase {<a name="line.43"></a>
-<span class="sourceLineNo">044</span>  private boolean filterAllRemaining = false;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>  private Filter filter;<a name="line.45"></a>
-<span class="sourceLineNo">046</span><a name="line.46"></a>
-<span class="sourceLineNo">047</span>  public WhileMatchFilter(Filter filter) {<a name="line.47"></a>
-<span class="sourceLineNo">048</span>    this.filter = filter;<a name="line.48"></a>
-<span class="sourceLineNo">049</span>  }<a name="line.49"></a>
-<span class="sourceLineNo">050</span><a name="line.50"></a>
-<span class="sourceLineNo">051</span>  public Filter getFilter() {<a name="line.51"></a>
-<span class="sourceLineNo">052</span>    return filter;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>  }<a name="line.53"></a>
-<span class="sourceLineNo">054</span><a name="line.54"></a>
-<span class="sourceLineNo">055</span>  public void reset() throws IOException {<a name="line.55"></a>
-<span class="sourceLineNo">056</span>    this.filter.reset();<a name="line.56"></a>
-<span class="sourceLineNo">057</span>  }<a name="line.57"></a>
-<span class="sourceLineNo">058</span><a name="line.58"></a>
-<span class="sourceLineNo">059</span>  private void changeFAR(boolean value) {<a name="line.59"></a>
-<span class="sourceLineNo">060</span>    filterAllRemaining = filterAllRemaining || value;<a name="line.60"></a>
-<span class="sourceLineNo">061</span>  }<a name="line.61"></a>
-<span class="sourceLineNo">062</span><a name="line.62"></a>
-<span class="sourceLineNo">063</span>  @Override<a name="line.63"></a>
-<span class="sourceLineNo">064</span>  public boolean filterAllRemaining() throws IOException {<a name="line.64"></a>
-<span class="sourceLineNo">065</span>    return this.filterAllRemaining || this.filter.filterAllRemaining();<a name="line.65"></a>
-<span class="sourceLineNo">066</span>  }<a name="line.66"></a>
-<span class="sourceLineNo">067</span><a name="line.67"></a>
-<span class="sourceLineNo">068</span>  @Override<a name="line.68"></a>
-<span class="sourceLineNo">069</span>  public boolean filterRowKey(byte[] buffer, int offset, int length) throws IOException {<a name="line.69"></a>
-<span class="sourceLineNo">070</span>    boolean value = filter.filterRowKey(buffer, offset, length);<a name="line.70"></a>
-<span class="sourceLineNo">071</span>    changeFAR(value);<a name="line.71"></a>
-<span class="sourceLineNo">072</span>    return value;<a name="line.72"></a>
-<span class="sourceLineNo">073</span>  }<a name="line.73"></a>
-<span class="sourceLineNo">074</span><a name="line.74"></a>
-<span class="sourceLineNo">075</span>  @Override<a name="line.75"></a>
-<span class="sourceLineNo">076</span>  public boolean filterRowKey(Cell cell) throws IOException {<a name="line.76"></a>
-<span class="sourceLineNo">077</span>    if (filterAllRemaining()) return true;<a name="line.77"></a>
-<span class="sourceLineNo">078</span>    boolean value = filter.filterRowKey(cell);<a name="line.78"></a>
-<span class="sourceLineNo">079</span>    changeFAR(value);<a name="line.79"></a>
-<span class="sourceLineNo">080</span>    return value;<a name="line.80"></a>
-<span class="sourceLineNo">081</span>  }<a name="line.81"></a>
-<span class="sourceLineNo">082</span><a name="line.82"></a>
-<span class="sourceLineNo">083</span>  @Override<a name="line.83"></a>
-<span class="sourceLineNo">084</span>  public ReturnCode filterKeyValue(Cell v) throws IOException {<a name="line.84"></a>
-<span class="sourceLineNo">085</span>    ReturnCode c = filter.filterKeyValue(v);<a name="line.85"></a>
-<span class="sourceLineNo">086</span>    changeFAR(c != ReturnCode.INCLUDE);<a name="line.86"></a>
-<span class="sourceLineNo">087</span>    return c;<a name="line.87"></a>
-<span class="sourceLineNo">088</span>  }<a name="line.88"></a>
-<span class="sourceLineNo">089</span><a name="line.89"></a>
-<span class="sourceLineNo">090</span>  @Override<a name="line.90"></a>
-<span class="sourceLineNo">091</span>  public Cell transformCell(Cell v) throws IOException {<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    return filter.transformCell(v);<a name="line.92"></a>
-<span class="sourceLineNo">093</span>  }<a name="line.93"></a>
-<span class="sourceLineNo">094</span><a name="line.94"></a>
-<span class="sourceLineNo">095</span>  @Override<a name="line.95"></a>
-<span class="sourceLineNo">096</span>  public boolean filterRow() throws IOException {<a name="line.96"></a>
-<span class="sourceLineNo">097</span>    boolean filterRow = this.filter.filterRow();<a name="line.97"></a>
-<span class="sourceLineNo">098</span>    changeFAR(filterRow);<a name="line.98"></a>
-<span class="sourceLineNo">099</span>    return filterRow;<a name="line.99"></a>
-<span class="sourceLineNo">100</span>  }<a name="line.100"></a>
-<span class="sourceLineNo">101</span>  <a name="line.101"></a>
-<span class="sourceLineNo">102</span>  @Override<a name="line.102"></a>
-<span class="sourceLineNo">103</span>  public boolean hasFilterRow() {<a name="line.103"></a>
-<span class="sourceLineNo">104</span>    return true;<a name="line.104"></a>
-<span class="sourceLineNo">105</span>  }<a name="line.105"></a>
-<span class="sourceLineNo">106</span><a name="line.106"></a>
-<span class="sourceLineNo">107</span>  /**<a name="line.107"></a>
-<span class="sourceLineNo">108</span>   * @return The filter serialized using pb<a name="line.108"></a>
-<span class="sourceLineNo">109</span>   */<a name="line.109"></a>
-<span class="sourceLineNo">110</span>  public byte[] toByteArray() throws IOException {<a name="line.110"></a>
-<span class="sourceLineNo">111</span>    FilterProtos.WhileMatchFilter.Builder builder =<a name="line.111"></a>
-<span class="sourceLineNo">112</span>      FilterProtos.WhileMatchFilter.newBuilder();<a name="line.112"></a>
-<span class="sourceLineNo">113</span>    builder.setFilter(ProtobufUtil.toFilter(this.filter));<a name="line.113"></a>
-<span class="sourceLineNo">114</span>    return builder.build().toByteArray();<a name="line.114"></a>
-<span class="sourceLineNo">115</span>  }<a name="line.115"></a>
-<span class="sourceLineNo">116</span><a name="line.116"></a>
-<span class="sourceLineNo">117</span>  /**<a name="line.117"></a>
-<span class="sourceLineNo">118</span>   * @param pbBytes A pb serialized {@link WhileMatchFilter} instance<a name="line.118"></a>
-<span class="sourceLineNo">119</span>   * @return An instance of {@link WhileMatchFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.119"></a>
-<span class="sourceLineNo">120</span>   * @throws org.apache.hadoop.hbase.exceptions.DeserializationException<a name="line.120"></a>
-<span class="sourceLineNo">121</span>   * @see #toByteArray<a name="line.121"></a>
-<span class="sourceLineNo">122</span>   */<a name="line.122"></a>
-<span class="sourceLineNo">123</span>  public static WhileMatchFilter parseFrom(final byte [] pbBytes)<a name="line.123"></a>
-<span class="sourceLineNo">124</span>  throws DeserializationException {<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    FilterProtos.WhileMatchFilter proto;<a name="line.125"></a>
-<span class="sourceLineNo">126</span>    try {<a name="line.126"></a>
-<span class="sourceLineNo">127</span>      proto = FilterProtos.WhileMatchFilter.parseFrom(pbBytes);<a name="line.127"></a>
-<span class="sourceLineNo">128</span>    } catch (InvalidProtocolBufferException e) {<a name="line.128"></a>
-<span class="sourceLineNo">129</span>      throw new DeserializationException(e);<a name="line.129"></a>
-<span class="sourceLineNo">130</span>    }<a name="line.130"></a>
-<span class="sourceLineNo">131</span>    try {<a name="line.131"></a>
-<span class="sourceLineNo">132</span>      return new WhileMatchFilter(ProtobufUtil.toFilter(proto.getFilter()));<a name="line.132"></a>
-<span class="sourceLineNo">133</span>    } catch (IOException ioe) {<a name="line.133"></a>
-<span class="sourceLineNo">134</span>      throw new DeserializationException(ioe);<a name="line.134"></a>
-<span class="sourceLineNo">135</span>    }<a name="line.135"></a>
-<span class="sourceLineNo">136</span>  }<a name="line.136"></a>
-<span class="sourceLineNo">137</span><a name="line.137"></a>
-<span class="sourceLineNo">138</span>  /**<a name="line.138"></a>
-<span class="sourceLineNo">139</span>   * @param other<a name="line.139"></a>
-<span class="sourceLineNo">140</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.140"></a>
-<span class="sourceLineNo">141</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.141"></a>
-<span class="sourceLineNo">142</span>   */<a name="line.142"></a>
-<span class="sourceLineNo">143</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.143"></a>
-<span class="sourceLineNo">144</span>    if (o == this) return true;<a name="line.144"></a>
-<span class="sourceLineNo">145</span>    if (!(o instanceof WhileMatchFilter)) return false;<a name="line.145"></a>
-<span class="sourceLineNo">146</span><a name="line.146"></a>
-<span class="sourceLineNo">147</span>    WhileMatchFilter other = (WhileMatchFilter)o;<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    return getFilter().areSerializedFieldsEqual(other.getFilter());<a name="line.148"></a>
-<span class="sourceLineNo">149</span>  }<a name="line.149"></a>
-<span class="sourceLineNo">150</span><a name="line.150"></a>
-<span class="sourceLineNo">151</span>  public boolean isFamilyEssential(byte[] name) throws IOException {<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    return filter.isFamilyEssential(name);<a name="line.152"></a>
-<span class="sourceLineNo">153</span>  }<a name="line.153"></a>
-<span class="sourceLineNo">154</span><a name="line.154"></a>
-<span class="sourceLineNo">155</span>  @Override<a name="line.155"></a>
-<span class="sourceLineNo">156</span>  public String toString() {<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    return this.getClass().getSimpleName() + " " + this.filter.toString();<a name="line.157"></a>
-<span class="sourceLineNo">158</span>  }<a name="line.158"></a>
-<span class="sourceLineNo">159</span>}<a name="line.159"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException;<a name="line.30"></a>
+<span class="sourceLineNo">031</span><a name="line.31"></a>
+<span class="sourceLineNo">032</span>/**<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * A wrapper filter that returns true from {@link #filterAllRemaining()} as soon<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * as the wrapped filters {@link Filter#filterRowKey(byte[], int, int)},<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * {@link Filter#filterKeyValue(org.apache.hadoop.hbase.Cell)},<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * {@link org.apache.hadoop.hbase.filter.Filter#filterRow()} or<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * {@link org.apache.hadoop.hbase.filter.Filter#filterAllRemaining()} methods<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * returns true.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> */<a name="line.39"></a>
+<span class="sourceLineNo">040</span>@InterfaceAudience.Public<a name="line.40"></a>
+<span class="sourceLineNo">041</span>@InterfaceStability.Stable<a name="line.41"></a>
+<span class="sourceLineNo">042</span>public class WhileMatchFilter extends FilterBase {<a name="line.42"></a>
+<span class="sourceLineNo">043</span>  private boolean filterAllRemaining = false;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>  private Filter filter;<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span>  public WhileMatchFilter(Filter filter) {<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    this.filter = filter;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>  }<a name="line.48"></a>
+<span class="sourceLineNo">049</span><a name="line.49"></a>
+<span class="sourceLineNo">050</span>  public Filter getFilter() {<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    return filter;<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>  public void reset() throws IOException {<a name="line.54"></a>
+<span class="sourceLineNo">055</span>    this.filter.reset();<a name="line.55"></a>
+<span class="sourceLineNo">056</span>  }<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span>  private void changeFAR(boolean value) {<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    filterAllRemaining = filterAllRemaining || value;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>  }<a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span>  @Override<a name="line.62"></a>
+<span class="sourceLineNo">063</span>  public boolean filterAllRemaining() throws IOException {<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    return this.filterAllRemaining || this.filter.filterAllRemaining();<a name="line.64"></a>
+<span class="sourceLineNo">065</span>  }<a name="line.65"></a>
+<span class="sourceLineNo">066</span><a name="line.66"></a>
+<span class="sourceLineNo">067</span>  @Override<a name="line.67"></a>
+<span class="sourceLineNo">068</span>  public boolean filterRowKey(byte[] buffer, int offset, int length) throws IOException {<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    boolean value = filter.filterRowKey(buffer, offset, length);<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    changeFAR(value);<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    return value;<a name="line.71"></a>
+<span class="sourceLineNo">072</span>  }<a name="line.72"></a>
+<span class="sourceLineNo">073</span><a name="line.73"></a>
+<span class="sourceLineNo">074</span>  @Override<a name="line.74"></a>
+<span class="sourceLineNo">075</span>  public boolean filterRowKey(Cell cell) throws IOException {<a name="line.75"></a>
+<span class="sourceLineNo">076</span>    if (filterAllRemaining()) return true;<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    boolean value = filter.filterRowKey(cell);<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    changeFAR(value);<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    return value;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>  }<a name="line.80"></a>
+<span class="sourceLineNo">081</span><a name="line.81"></a>
+<span class="sourceLineNo">082</span>  @Override<a name="line.82"></a>
+<span class="sourceLineNo">083</span>  public ReturnCode filterKeyValue(Cell v) throws IOException {<a name="line.83"></a>
+<span class="sourceLineNo">084</span>    ReturnCode c = filter.filterKeyValue(v);<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    changeFAR(c != ReturnCode.INCLUDE);<a name="line.85"></a>
+<span class="sourceLineNo">086</span>    return c;<a name="line.86"></a>
+<span class="sourceLineNo">087</span>  }<a name="line.87"></a>
+<span class="sourceLineNo">088</span><a name="line.88"></a>
+<span class="sourceLineNo">089</span>  @Override<a name="line.89"></a>
+<span class="sourceLineNo">090</span>  public Cell transformCell(Cell v) throws IOException {<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    return filter.transformCell(v);<a name="line.91"></a>
+<span class="sourceLineNo">092</span>  }<a name="line.92"></a>
+<span class="sourceLineNo">093</span><a name="line.93"></a>
+<span class="sourceLineNo">094</span>  @Override<a name="line.94"></a>
+<span class="sourceLineNo">095</span>  public boolean filterRow() throws IOException {<a name="line.95"></a>
+<span class="sourceLineNo">096</span>    boolean filterRow = this.filter.filterRow();<a name="line.96"></a>
+<span class="sourceLineNo">097</span>    changeFAR(filterRow);<a name="line.97"></a>
+<span class="sourceLineNo">098</span>    return filterRow;<a name="line.98"></a>
+<span class="sourceLineNo">099</span>  }<a name="line.99"></a>
+<span class="sourceLineNo">100</span>  <a name="line.100"></a>
+<span class="sourceLineNo">101</span>  @Override<a name="line.101"></a>
+<span class="sourceLineNo">102</span>  public boolean hasFilterRow() {<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    return true;<a name="line.103"></a>
+<span class="sourceLineNo">104</span>  }<a name="line.104"></a>
+<span class="sourceLineNo">105</span><a name="line.105"></a>
+<span class="sourceLineNo">106</span>  /**<a name="line.106"></a>
+<span class="sourceLineNo">107</span>   * @return The filter serialized using pb<a name="line.107"></a>
+<span class="sourceLineNo">108</span>   */<a name="line.108"></a>
+<span class="sourceLineNo">109</span>  public byte[] toByteArray() throws IOException {<a name="line.109"></a>
+<span class="sourceLineNo">110</span>    FilterProtos.WhileMatchFilter.Builder builder =<a name="line.110"></a>
+<span class="sourceLineNo">111</span>      FilterProtos.WhileMatchFilter.newBuilder();<a name="line.111"></a>
+<span class="sourceLineNo">112</span>    builder.setFilter(ProtobufUtil.toFilter(this.filter));<a name="line.112"></a>
+<span class="sourceLineNo">113</span>    return builder.build().toByteArray();<a name="line.113"></a>
+<span class="sourceLineNo">114</span>  }<a name="line.114"></a>
+<span class="sourceLineNo">115</span><a name="line.115"></a>
+<span class="sourceLineNo">116</span>  /**<a name="line.116"></a>
+<span class="sourceLineNo">117</span>   * @param pbBytes A pb serialized {@link WhileMatchFilter} instance<a name="line.117"></a>
+<span class="sourceLineNo">118</span>   * @return An instance of {@link WhileMatchFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.118"></a>
+<span class="sourceLineNo">119</span>   * @throws org.apache.hadoop.hbase.exceptions.DeserializationException<a name="line.119"></a>
+<span class="sourceLineNo">120</span>   * @see #toByteArray<a name="line.120"></a>
+<span class="sourceLineNo">121</span>   */<a name="line.121"></a>
+<span class="sourceLineNo">122</span>  public static WhileMatchFilter parseFrom(final byte [] pbBytes)<a name="line.122"></a>
+<span class="sourceLineNo">123</span>  throws DeserializationException {<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    FilterProtos.WhileMatchFilter proto;<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    try {<a name="line.125"></a>
+<span class="sourceLineNo">126</span>      proto = FilterProtos.WhileMatchFilter.parseFrom(pbBytes);<a name="line.126"></a>
+<span class="sourceLineNo">127</span>    } catch (InvalidProtocolBufferException e) {<a name="line.127"></a>
+<span class="sourceLineNo">128</span>      throw new DeserializationException(e);<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    }<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    try {<a name="line.130"></a>
+<span class="sourceLineNo">131</span>      return new WhileMatchFilter(ProtobufUtil.toFilter(proto.getFilter()));<a name="line.131"></a>
+<span class="sourceLineNo">132</span>    } catch (IOException ioe) {<a name="line.132"></a>
+<span class="sourceLineNo">133</span>      throw new DeserializationException(ioe);<a name="line.133"></a>
+<span class="sourceLineNo">134</span>    }<a name="line.134"></a>
+<span class="sourceLineNo">135</span>  }<a name="line.135"></a>
+<span class="sourceLineNo">136</span><a name="line.136"></a>
+<span class="sourceLineNo">137</span>  /**<a name="line.137"></a>
+<span class="sourceLineNo">138</span>   * @param other<a name="line.138"></a>
+<span class="sourceLineNo">139</span>   * @return true if and only if the fields of the filter that are serialized<a name="line.139"></a>
+<span class="sourceLineNo">140</span>   * are equal to the corresponding fields in other.  Used for testing.<a name="line.140"></a>
+<span class="sourceLineNo">141</span>   */<a name="line.141"></a>
+<span class="sourceLineNo">142</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    if (o == this) return true;<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    if (!(o instanceof WhileMatchFilter)) return false;<a name="line.144"></a>
+<span class="sourceLineNo">145</span><a name="line.145"></a>
+<span class="sourceLineNo">146</span>    WhileMatchFilter other = (WhileMatchFilter)o;<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    return getFilter().areSerializedFieldsEqual(other.getFilter());<a name="line.147"></a>
+<span class="sourceLineNo">148</span>  }<a name="line.148"></a>
+<span class="sourceLineNo">149</span><a name="line.149"></a>
+<span class="sourceLineNo">150</span>  public boolean isFamilyEssential(byte[] name) throws IOException {<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    return filter.isFamilyEssential(name);<a name="line.151"></a>
+<span class="sourceLineNo">152</span>  }<a name="line.152"></a>
+<span class="sourceLineNo">153</span><a name="line.153"></a>
+<span class="sourceLineNo">154</span>  @Override<a name="line.154"></a>
+<span class="sourceLineNo">155</span>  public String toString() {<a name="line.155"></a>
+<span class="sourceLineNo">156</span>    return this.getClass().getSimpleName() + " " + this.filter.toString();<a name="line.156"></a>
+<span class="sourceLineNo">157</span>  }<a name="line.157"></a>
+<span class="sourceLineNo">158</span>}<a name="line.158"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c7e84622/apidocs/src-html/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html b/apidocs/src-html/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html
index 428ca4f..3804a1d 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html
@@ -38,8 +38,9 @@
 <span class="sourceLineNo">030</span> */<a name="line.30"></a>
 <span class="sourceLineNo">031</span>@InterfaceAudience.Public<a name="line.31"></a>
 <span class="sourceLineNo">032</span>@InterfaceStability.Evolving<a name="line.32"></a>
-<span class="sourceLineNo">033</span>public interface CoprocessorRpcChannel extends RpcChannel, BlockingRpcChannel {<a name="line.33"></a>
-<span class="sourceLineNo">034</span>}<a name="line.34"></a>
+<span class="sourceLineNo">033</span>public interface CoprocessorRpcChannel extends RpcChannel, BlockingRpcChannel {}<a name="line.33"></a>
+<span class="sourceLineNo">034</span>// This Interface is part of our public, client-facing API!!!<a name="line.34"></a>
+<span class="sourceLineNo">035</span>// This belongs in client package but it is exposed in our public API so we cannot relocate.<a name="line.35"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c7e84622/apidocs/src-html/org/apache/hadoop/hbase/ipc/SyncCoprocessorRpcChannel.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/ipc/SyncCoprocessorRpcChannel.html b/apidocs/src-html/org/apache/hadoop/hbase/ipc/SyncCoprocessorRpcChannel.html
deleted file mode 100644
index d19b294..0000000
--- a/apidocs/src-html/org/apache/hadoop/hbase/ipc/SyncCoprocessorRpcChannel.html
+++ /dev/null
@@ -1,151 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="en">
-<head>
-<title>Source code</title>
-<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
-</head>
-<body>
-<div class="sourceContainer">
-<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a>
-<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
-<span class="sourceLineNo">003</span> * or more contributor license agreements.  See the NOTICE file<a name="line.3"></a>
-<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a>
-<span class="sourceLineNo">005</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.5"></a>
-<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a>
-<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a>
-<span class="sourceLineNo">008</span> * with the License.  You may obtain a copy of the License at<a name="line.8"></a>
-<span class="sourceLineNo">009</span> *<a name="line.9"></a>
-<span class="sourceLineNo">010</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
-<span class="sourceLineNo">011</span> *<a name="line.11"></a>
-<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a>
-<span class="sourceLineNo">013</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a>
-<span class="sourceLineNo">014</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a>
-<span class="sourceLineNo">015</span> * See the License for the specific language governing permissions and<a name="line.15"></a>
-<span class="sourceLineNo">016</span> * limitations under the License.<a name="line.16"></a>
-<span class="sourceLineNo">017</span> */<a name="line.17"></a>
-<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.ipc;<a name="line.18"></a>
-<span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>import com.google.protobuf.Descriptors;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import com.google.protobuf.Message;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import com.google.protobuf.RpcCallback;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import com.google.protobuf.RpcController;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import com.google.protobuf.ServiceException;<a name="line.24"></a>
-<span class="sourceLineNo">025</span><a name="line.25"></a>
-<span class="sourceLineNo">026</span>import java.io.IOException;<a name="line.26"></a>
-<span class="sourceLineNo">027</span><a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.commons.logging.Log;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.commons.logging.LogFactory;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.classification.InterfaceStability;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.protobuf.ResponseConverter;<a name="line.32"></a>
-<span class="sourceLineNo">033</span><a name="line.33"></a>
-<span class="sourceLineNo">034</span>/**<a name="line.34"></a>
-<span class="sourceLineNo">035</span> * Base class which provides clients with an RPC connection to<a name="line.35"></a>
-<span class="sourceLineNo">036</span> * call coprocessor endpoint {@link com.google.protobuf.Service}s.<a name="line.36"></a>
-<span class="sourceLineNo">037</span> * Note that clients should not use this class directly, except through<a name="line.37"></a>
-<span class="sourceLineNo">038</span> * {@link org.apache.hadoop.hbase.client.Table#coprocessorService(byte[])}.<a name="line.38"></a>
-<span class="sourceLineNo">039</span> */<a name="line.39"></a>
-<span class="sourceLineNo">040</span>@InterfaceAudience.Public<a name="line.40"></a>
-<span class="sourceLineNo">041</span>@InterfaceStability.Evolving<a name="line.41"></a>
-<span class="sourceLineNo">042</span>public abstract class SyncCoprocessorRpcChannel implements CoprocessorRpcChannel {<a name="line.42"></a>
-<span class="sourceLineNo">043</span>  private static final Log LOG = LogFactory.getLog(SyncCoprocessorRpcChannel.class);<a name="line.43"></a>
-<span class="sourceLineNo">044</span><a name="line.44"></a>
-<span class="sourceLineNo">045</span>  @Override<a name="line.45"></a>
-<span class="sourceLineNo">046</span>  @InterfaceAudience.Private<a name="line.46"></a>
-<span class="sourceLineNo">047</span>  public void callMethod(Descriptors.MethodDescriptor method,<a name="line.47"></a>
-<span class="sourceLineNo">048</span>                         RpcController controller,<a name="line.48"></a>
-<span class="sourceLineNo">049</span>                         Message request, Message responsePrototype,<a name="line.49"></a>
-<span class="sourceLineNo">050</span>                         RpcCallback&lt;Message&gt; callback) {<a name="line.50"></a>
-<span class="sourceLineNo">051</span>    Message response = null;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>    try {<a name="line.52"></a>
-<span class="sourceLineNo">053</span>      response = callExecService(controller, method, request, responsePrototype);<a name="line.53"></a>
-<span class="sourceLineNo">054</span>    } catch (IOException ioe) {<a name="line.54"></a>
-<span class="sourceLineNo">055</span>      LOG.warn("Call failed on IOException", ioe);<a name="line.55"></a>
-<span class="sourceLineNo">056</span>      ResponseConverter.setControllerException(controller, ioe);<a name="line.56"></a>
-<span class="sourceLineNo">057</span>    }<a name="line.57"></a>
-<span class="sourceLineNo">058</span>    if (callback != null) {<a name="line.58"></a>
-<span class="sourceLineNo">059</span>      callback.run(response);<a name="line.59"></a>
-<span class="sourceLineNo">060</span>    }<a name="line.60"></a>
-<span class="sourceLineNo">061</span>  }<a name="line.61"></a>
-<span class="sourceLineNo">062</span><a name="line.62"></a>
-<span class="sourceLineNo">063</span>  @Override<a name="line.63"></a>
-<span class="sourceLineNo">064</span>  @InterfaceAudience.Private<a name="line.64"></a>
-<span class="sourceLineNo">065</span>  public Message callBlockingMethod(Descriptors.MethodDescriptor method,<a name="line.65"></a>
-<span class="sourceLineNo">066</span>                                    RpcController controller,<a name="line.66"></a>
-<span class="sourceLineNo">067</span>                                    Message request, Message responsePrototype)<a name="line.67"></a>
-<span class="sourceLineNo">068</span>      throws ServiceException {<a name="line.68"></a>
-<span class="sourceLineNo">069</span>    try {<a name="line.69"></a>
-<span class="sourceLineNo">070</span>      return callExecService(controller, method, request, responsePrototype);<a name="line.70"></a>
-<span class="sourceLineNo">071</span>    } catch (IOException ioe) {<a name="line.71"></a>
-<span class="sourceLineNo">072</span>      throw new ServiceException("Error calling method "+method.getFullName(), ioe);<a name="line.72"></a>
-<span class="sourceLineNo">073</span>    }<a name="line.73"></a>
-<span class="sourceLineNo">074</span>  }<a name="line.74"></a>
-<span class="sourceLineNo">075</span><a name="line.75"></a>
-<span class="sourceLineNo">076</span>  protected abstract Message callExecService(RpcController controller,<a name="line.76"></a>
-<span class="sourceLineNo">077</span>      Descriptors.MethodDescriptor method, Message request, Message responsePrototype)<a name="line.77"></a>
-<span class="sourceLineNo">078</span>          throws IOException;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>}<a name="line.79"></a>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-</pre>
-</div>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c7e84622/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html
index 9e44e11..07f6210 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.html
@@ -72,10 +72,10 @@
 <span class="sourceLineNo">064</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.64"></a>
 <span class="sourceLineNo">065</span>import org.apache.hadoop.hbase.classification.InterfaceStability;<a name="line.65"></a>
 <span class="sourceLineNo">066</span>import org.apache.hadoop.hbase.client.Admin;<a name="line.66"></a>
-<span class="sourceLineNo">067</span>import org.apache.hadoop.hbase.client.Connection;<a name="line.67"></a>
-<span class="sourceLineNo">068</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.68"></a>
-<span class="sourceLineNo">069</span>import org.apache.hadoop.hbase.client.RegionLocator;<a name="line.69"></a>
-<span class="sourceLineNo">070</span>import org.apache.hadoop.hbase.client.RegionServerCallable;<a name="line.70"></a>
+<span class="sourceLineNo">067</span>import org.apache.hadoop.hbase.client.ClientServiceCallable;<a name="line.67"></a>
+<span class="sourceLineNo">068</span>import org.apache.hadoop.hbase.client.Connection;<a name="line.68"></a>
+<span class="sourceLineNo">069</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.69"></a>
+<span class="sourceLineNo">070</span>import org.apache.hadoop.hbase.client.RegionLocator;<a name="line.70"></a>
 <span class="sourceLineNo">071</span>import org.apache.hadoop.hbase.client.RpcRetryingCallerFactory;<a name="line.71"></a>
 <span class="sourceLineNo">072</span>import org.apache.hadoop.hbase.client.SecureBulkLoadClient;<a name="line.72"></a>
 <span class="sourceLineNo">073</span>import org.apache.hadoop.hbase.client.Table;<a name="line.73"></a>
@@ -928,8 +928,8 @@
 <span class="sourceLineNo">920</span>        famPaths.add(Pair.newPair(lqi.family, lqi.hfilePath.toString()));<a name="line.920"></a>
 <span class="sourceLineNo">921</span>      }<a name="line.921"></a>
 <span class="sourceLineNo">922</span>    }<a name="line.922"></a>
-<span class="sourceLineNo">923</span>    final RegionServerCallable&lt;Boolean&gt; svrCallable = new RegionServerCallable&lt;Boolean&gt;(conn,<a name="line.923"></a>
-<span class="sourceLineNo">924</span>        rpcControllerFactory, tableName, first) {<a name="line.924"></a>
+<span class="sourceLineNo">923</span>    final ClientServiceCallable&lt;Boolean&gt; svrCallable = new ClientServiceCallable&lt;Boolean&gt;(conn,<a name="line.923"></a>
+<span class="sourceLineNo">924</span>        tableName, first, rpcControllerFactory.newController()) {<a name="line.924"></a>
 <span class="sourceLineNo">925</span>      @Override<a name="line.925"></a>
 <span class="sourceLineNo">926</span>      protected Boolean rpcCall() throws Exception {<a name="line.926"></a>
 <span class="sourceLineNo">927</span>        SecureBulkLoadClient secureClient = null;<a name="line.927"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c7e84622/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/MutationSerialization.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/MutationSerialization.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/MutationSerialization.html
index d9b7c63..db62c11 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/MutationSerialization.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/MutationSerialization.html
@@ -34,9 +34,9 @@
 <span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.client.Delete;<a name="line.26"></a>
 <span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.client.Mutation;<a name="line.27"></a>
 <span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.client.Put;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.protobuf.ProtobufUtil;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType;<a name="line.31"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto.MutationType;<a name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.hadoop.io.serializer.Deserializer;<a name="line.32"></a>
 <span class="sourceLineNo">033</span>import org.apache.hadoop.io.serializer.Serialization;<a name="line.33"></a>
 <span class="sourceLineNo">034</span>import org.apache.hadoop.io.serializer.Serializer;<a name="line.34"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c7e84622/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/ResultSerialization.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/ResultSerialization.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/ResultSerialization.html
index ea614d5..2a0b51a 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/ResultSerialization.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/ResultSerialization.html
@@ -42,8 +42,8 @@
 <span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.34"></a>
 <span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.classification.InterfaceStability;<a name="line.35"></a>
 <span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.client.Result;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.protobuf.ProtobufUtil;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.protobuf.generated.ClientProtos;<a name="line.38"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos;<a name="line.38"></a>
 <span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.39"></a>
 <span class="sourceLineNo">040</span>import org.apache.hadoop.io.serializer.Deserializer;<a name="line.40"></a>
 <span class="sourceLineNo">041</span>import org.apache.hadoop.io.serializer.Serialization;<a name="line.41"></a>


Mime
View raw message