accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bil...@apache.org
Subject svn commit: r1370470 - /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/ColumnFQ.java
Date Tue, 07 Aug 2012 19:44:54 GMT
Author: billie
Date: Tue Aug  7 19:44:53 2012
New Revision: 1370470

URL: http://svn.apache.org/viewvc?rev=1370470&view=rev
Log:
ACCUMULO-718 deprecated static methods

Modified:
    accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/ColumnFQ.java

Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/ColumnFQ.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/ColumnFQ.java?rev=1370470&r1=1370469&r2=1370470&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/ColumnFQ.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/ColumnFQ.java Tue Aug
 7 19:44:53 2012
@@ -71,6 +71,27 @@ public class ColumnFQ implements Compara
   public void putDelete(Mutation m) {
     m.putDelete(colf, colq);
   }
+  
+  /**
+   * @deprecated since 1.5, use {@link #fetch(ScannerBase)} instead
+   */
+  public static void fetch(ScannerBase sb, ColumnFQ cfq) {
+    sb.fetchColumn(cfq.colf, cfq.colq);
+  }
+  
+  /**
+   * @deprecated since 1.5, use {@link #put(Mutation, Value)} instead
+   */
+  public static void put(Mutation m, ColumnFQ cfq, Value v) {
+    m.put(cfq.colf, cfq.colq, v);
+  }
+  
+  /**
+   * @deprecated since 1.5, use {@link #putDelete(Mutation)} instead
+   */
+  public static void putDelete(Mutation m, ColumnFQ cfq) {
+    m.putDelete(cfq.colf, cfq.colq);
+  }
 
   @Override
   public boolean equals(Object o) {



Mime
View raw message