org.apache.hadoop.classification.InterfaceAudience



Project apache/hbase in file ...in.java.org.apache.hadoop.hbase.CellScannable.java (2013-09-12)
@@ -17,12 +17,15 @@
  */
 package org.apache.hadoop.hbase;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+
 /**
  * Implementer can return a CellScanner over its Cell content.
  * Class name is ugly but mimicing java.util.Iterable only we are about the dumber
  * CellScanner rather than say Iterator<Cell>.  See CellScanner class comment for why we go
  * dumber than java.util.Iterator.
  */
+@InterfaceAudience.Private
 public interface CellScannable {
   /**
    * @return A CellScanner over the contained {@link Cell}s
Project apache/hbase in file ....java.org.apache.hadoop.hbase.codec.CellCodec.java (2013-09-12)
@@ -22,6 +22,7 @@ import java.io.InputStream;
 import java.io.OutputStream;
 
 import org.apache.commons.io.IOUtils;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.Cell;
 import org.apache.hadoop.hbase.CellUtil;
 import org.apache.hadoop.hbase.util.Bytes;
@@ -30,6 +31,7 @@ import org.apache.hadoop.hbase.util.Bytes;
  * Basic Cell codec that just writes out all the individual elements of a Cell.  Uses ints
  * delimiting all lengths. Profligate. Needs tune up. 
  */
+@InterfaceAudience.Private
 public class CellCodec implements Codec {
   static class CellEncoder extends BaseEncoder {
     CellEncoder(final OutputStream out) {
Project apache/hbase in file ...main.java.org.apache.hadoop.hbase.codec.Codec.java (2013-09-12)
@@ -20,6 +20,7 @@ package org.apache.hadoop.hbase.codec;
 import java.io.InputStream;
 import java.io.OutputStream;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.CellScanner;
 import org.apache.hadoop.hbase.io.CellOutputStream;
 import org.apache.hadoop.hbase.io.encoding.DataBlockEncoder;
@@ -31,6 +32,7 @@ import org.apache.hadoop.hbase.io.encoding.DataBlockEncoder;
  * and without presuming an hfile context.  Intent is an Interface that will work for hfile and
  * rpc.
  */
+@InterfaceAudience.Private
 public interface Codec {
   // TODO: interfacing with {@link DataBlockEncoder}
   /**
Project apache/hbase in file ....org.apache.hadoop.hbase.codec.CodecException.java (2013-09-12)
@@ -18,12 +18,14 @@
 package org.apache.hadoop.hbase.codec;
 
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.HBaseIOException;
 
 /**
  * Thrown when problems in the codec whether setup or context.
  */
 @SuppressWarnings("serial")
+@InterfaceAudience.Private
 public class CodecException extends HBaseIOException {
   public CodecException() {
     super();
Project apache/hbase in file ...a.org.apache.hadoop.hbase.codec.KeyValueCodec.java (2013-09-12)
@@ -21,6 +21,7 @@ import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.Cell;
 import org.apache.hadoop.hbase.KeyValue;
 import org.apache.hadoop.hbase.KeyValueUtil;
@@ -42,6 +43,7 @@ import org.apache.hadoop.hbase.KeyValueUtil;
  * KeyValue2 backing array
  * </pre>
  */
+@InterfaceAudience.Private
 public class KeyValueCodec implements Codec {
   public static class KeyValueEncoder extends BaseEncoder {
     public KeyValueEncoder(final OutputStream out) {