* Unmerged path hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AsyncRpcClient.java diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java index 2861794..101b289 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java @@ -36,6 +36,8 @@ import org.apache.hadoop.hbase.util.Bytes; /** * Utility methods helpful slinging {@link Cell} instances. + * Some methods below are for internal use only and are marked InterfaceAudience.Private at the + * method level. */ @InterfaceAudience.Public @InterfaceStability.Evolving @@ -182,6 +184,12 @@ public final class CellUtil { HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); } + /** + * Marked as audience Private as of hbase-1.2.0. + * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail that does not + * make sense to expose publicly. + */ + @InterfaceAudience.Private public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, final long timestamp, final byte type, final byte[] value, final long memstoreTS) { KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, @@ -190,6 +198,12 @@ public final class CellUtil { return keyValue; } + /** + * Marked as audience Private as of hbase-1.2.0. + * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail that does + * not make sense to expose publicly. + */ + @InterfaceAudience.Private public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, final long timestamp, final byte type, final byte[] value, byte[] tags, final long memstoreTS) { KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, @@ -198,6 +212,12 @@ public final class CellUtil { return keyValue; } + /** + * Marked as audience Private as of hbase-1.2.0. + * Creating a Cell with tags is an internal implementation detail that does + * not make sense to expose publicly. + */ + @InterfaceAudience.Private public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, final long timestamp, Type type, final byte[] value, byte[] tags) { KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags);