incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1189806 [17/46] - in /incubator/accumulo: branches/1.3/contrib/ branches/1.3/src/core/src/main/java/org/apache/accumulo/core/client/ branches/1.3/src/core/src/main/java/org/apache/accumulo/core/client/admin/ branches/1.3/src/core/src/main/...
Date Thu, 27 Oct 2011 15:25:17 GMT
Modified: incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/security/thrift/ThriftSecurityException.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/security/thrift/ThriftSecurityException.java?rev=1189806&r1=1189805&r2=1189806&view=diff
==============================================================================
--- incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/security/thrift/ThriftSecurityException.java (original)
+++ incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/security/thrift/ThriftSecurityException.java Thu Oct 27 15:24:51 2011
@@ -5,48 +5,47 @@
  */
 package org.apache.accumulo.core.security.thrift;
 
-
-
 import org.apache.thrift.*;
 import org.apache.thrift.meta_data.*;
 import org.apache.thrift.protocol.*;
 
 @SuppressWarnings("serial")
-public class ThriftSecurityException extends Exception implements TBase<ThriftSecurityException, ThriftSecurityException._Fields>, java.io.Serializable, Cloneable {
+public class ThriftSecurityException extends Exception implements TBase<ThriftSecurityException,ThriftSecurityException._Fields>, java.io.Serializable,
+    Cloneable {
   private static final TStruct STRUCT_DESC = new TStruct("ThriftSecurityException");
-
-  private static final TField USER_FIELD_DESC = new TField("user", TType.STRING, (short)1);
-  private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short)2);
-
+  
+  private static final TField USER_FIELD_DESC = new TField("user", TType.STRING, (short) 1);
+  private static final TField CODE_FIELD_DESC = new TField("code", TType.I32, (short) 2);
+  
   public String user;
   /**
    * 
    * @see SecurityErrorCode
    */
   public SecurityErrorCode code;
-
+  
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements TFieldIdEnum {
-    USER((short)1, "user"),
+    USER((short) 1, "user"),
     /**
      * 
      * @see SecurityErrorCode
      */
-    CODE((short)2, "code");
-
-    private static final java.util.Map<String, _Fields> byName = new java.util.HashMap<String, _Fields>();
-
+    CODE((short) 2, "code");
+    
+    private static final java.util.Map<String,_Fields> byName = new java.util.HashMap<String,_Fields>();
+    
     static {
       for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) {
         byName.put(field.getFieldName(), field);
       }
     }
-
+    
     /**
      * Find the _Fields constant that matches fieldId, or null if its not found.
      */
     public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
+      switch (fieldId) {
         case 1: // USER
           return USER;
         case 2: // CODE
@@ -55,66 +54,60 @@ public class ThriftSecurityException ext
           return null;
       }
     }
-
+    
     /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
+     * Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
      */
     public static _Fields findByThriftIdOrThrow(int fieldId) {
       _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      if (fields == null)
+        throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
       return fields;
     }
-
+    
     /**
      * Find the _Fields constant that matches name, or null if its not found.
      */
     public static _Fields findByName(String name) {
       return byName.get(name);
     }
-
+    
     private final short _thriftId;
     private final String _fieldName;
-
+    
     _Fields(short thriftId, String fieldName) {
       _thriftId = thriftId;
       _fieldName = fieldName;
     }
-
+    
     public short getThriftFieldId() {
       return _thriftId;
     }
-
+    
     public String getFieldName() {
       return _fieldName;
     }
   }
-
+  
   // isset id assignments
-
-  public static final java.util.Map<_Fields, FieldMetaData> metaDataMap;
+  
+  public static final java.util.Map<_Fields,FieldMetaData> metaDataMap;
   static {
-    java.util.Map<_Fields, FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.USER, new FieldMetaData("user", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.STRING)));
-    tmpMap.put(_Fields.CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, 
-        new EnumMetaData(TType.ENUM, SecurityErrorCode.class)));
+    java.util.Map<_Fields,FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.USER, new FieldMetaData("user", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.STRING)));
+    tmpMap.put(_Fields.CODE, new FieldMetaData("code", TFieldRequirementType.DEFAULT, new EnumMetaData(TType.ENUM, SecurityErrorCode.class)));
     metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
     FieldMetaData.addStructMetaDataMap(ThriftSecurityException.class, metaDataMap);
   }
-
-  public ThriftSecurityException() {
-  }
-
-  public ThriftSecurityException(
-    String user,
-    SecurityErrorCode code)
-  {
+  
+  public ThriftSecurityException() {}
+  
+  public ThriftSecurityException(String user, SecurityErrorCode code) {
     this();
     this.user = user;
     this.code = code;
   }
-
+  
   /**
    * Performs a deep copy on <i>other</i>.
    */
@@ -126,40 +119,40 @@ public class ThriftSecurityException ext
       this.code = other.code;
     }
   }
-
+  
   public ThriftSecurityException deepCopy() {
     return new ThriftSecurityException(this);
   }
-
+  
   @Deprecated
   public ThriftSecurityException clone() {
     return new ThriftSecurityException(this);
   }
-
+  
   public String getUser() {
     return this.user;
   }
-
+  
   public ThriftSecurityException setUser(String user) {
     this.user = user;
     return this;
   }
-
+  
   public void unsetUser() {
     this.user = null;
   }
-
+  
   /** Returns true if field user is set (has been asigned a value) and false otherwise */
   public boolean isSetUser() {
     return this.user != null;
   }
-
+  
   public void setUserIsSet(boolean value) {
     if (!value) {
       this.user = null;
     }
   }
-
+  
   /**
    * 
    * @see SecurityErrorCode
@@ -167,7 +160,7 @@ public class ThriftSecurityException ext
   public SecurityErrorCode getCode() {
     return this.code;
   }
-
+  
   /**
    * 
    * @see SecurityErrorCode
@@ -176,91 +169,91 @@ public class ThriftSecurityException ext
     this.code = code;
     return this;
   }
-
+  
   public void unsetCode() {
     this.code = null;
   }
-
+  
   /** Returns true if field code is set (has been asigned a value) and false otherwise */
   public boolean isSetCode() {
     return this.code != null;
   }
-
+  
   public void setCodeIsSet(boolean value) {
     if (!value) {
       this.code = null;
     }
   }
-
+  
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
-    case USER:
-      if (value == null) {
-        unsetUser();
-      } else {
-        setUser((String)value);
-      }
-      break;
-
-    case CODE:
-      if (value == null) {
-        unsetCode();
-      } else {
-        setCode((SecurityErrorCode)value);
-      }
-      break;
-
+      case USER:
+        if (value == null) {
+          unsetUser();
+        } else {
+          setUser((String) value);
+        }
+        break;
+      
+      case CODE:
+        if (value == null) {
+          unsetCode();
+        } else {
+          setCode((SecurityErrorCode) value);
+        }
+        break;
+    
     }
   }
-
+  
   public void setFieldValue(int fieldID, Object value) {
     setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
   }
-
+  
   public Object getFieldValue(_Fields field) {
     switch (field) {
-    case USER:
-      return getUser();
-
-    case CODE:
-      return getCode();
-
+      case USER:
+        return getUser();
+        
+      case CODE:
+        return getCode();
+        
     }
     throw new IllegalStateException();
   }
-
+  
   public Object getFieldValue(int fieldId) {
     return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
   }
-
+  
   /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
   public boolean isSet(_Fields field) {
     switch (field) {
-    case USER:
-      return isSetUser();
-    case CODE:
-      return isSetCode();
+      case USER:
+        return isSetUser();
+      case CODE:
+        return isSetCode();
     }
     throw new IllegalStateException();
   }
-
+  
   public boolean isSet(int fieldID) {
     return isSet(_Fields.findByThriftIdOrThrow(fieldID));
   }
-
+  
   @Override
   public boolean equals(Object that) {
     if (that == null)
       return false;
     if (that instanceof ThriftSecurityException)
-      return this.equals((ThriftSecurityException)that);
+      return this.equals((ThriftSecurityException) that);
     return false;
   }
-
+  
   public boolean equals(ThriftSecurityException that) {
     if (that == null)
       return false;
-
+    
     boolean this_present_user = true && this.isSetUser();
     boolean that_present_user = true && that.isSetUser();
     if (this_present_user || that_present_user) {
@@ -269,7 +262,7 @@ public class ThriftSecurityException ext
       if (!this.user.equals(that.user))
         return false;
     }
-
+    
     boolean this_present_code = true && this.isSetCode();
     boolean that_present_code = true && that.isSetCode();
     if (this_present_code || that_present_code) {
@@ -278,28 +271,29 @@ public class ThriftSecurityException ext
       if (!this.code.equals(that.code))
         return false;
     }
-
+    
     return true;
   }
-
+  
   @Override
   public int hashCode() {
     return 0;
   }
-
+  
   public int compareTo(ThriftSecurityException other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
-
+    
     int lastComparison = 0;
-    ThriftSecurityException typedOther = (ThriftSecurityException)other;
-
+    ThriftSecurityException typedOther = (ThriftSecurityException) other;
+    
     lastComparison = Boolean.valueOf(isSetUser()).compareTo(typedOther.isSetUser());
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetUser()) {      lastComparison = TBaseHelper.compareTo(this.user, typedOther.user);
+    if (isSetUser()) {
+      lastComparison = TBaseHelper.compareTo(this.user, typedOther.user);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -308,35 +302,35 @@ public class ThriftSecurityException ext
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetCode()) {      lastComparison = TBaseHelper.compareTo(this.code, typedOther.code);
+    if (isSetCode()) {
+      lastComparison = TBaseHelper.compareTo(this.code, typedOther.code);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
     return 0;
   }
-
+  
   public void read(TProtocol iprot) throws TException {
     TField field;
     iprot.readStructBegin();
-    while (true)
-    {
+    while (true) {
       field = iprot.readFieldBegin();
-      if (field.type == TType.STOP) { 
+      if (field.type == TType.STOP) {
         break;
       }
       switch (field.id) {
         case 1: // USER
           if (field.type == TType.STRING) {
             this.user = iprot.readString();
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
         case 2: // CODE
           if (field.type == TType.I32) {
             this.code = SecurityErrorCode.findByValue(iprot.readI32());
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -346,14 +340,14 @@ public class ThriftSecurityException ext
       iprot.readFieldEnd();
     }
     iprot.readStructEnd();
-
+    
     // check for required fields of primitive type, which can't be checked in the validate method
     validate();
   }
-
+  
   public void write(TProtocol oprot) throws TException {
     validate();
-
+    
     oprot.writeStructBegin(STRUCT_DESC);
     if (this.user != null) {
       oprot.writeFieldBegin(USER_FIELD_DESC);
@@ -368,7 +362,7 @@ public class ThriftSecurityException ext
     oprot.writeFieldStop();
     oprot.writeStructEnd();
   }
-
+  
   @Override
   public String toString() {
     StringBuilder sb = new StringBuilder("ThriftSecurityException(");
@@ -388,10 +382,9 @@ public class ThriftSecurityException ext
     sb.append(")");
     return sb.toString();
   }
-
+  
   public void validate() throws TException {
     // check for required fields
   }
-
+  
 }
-

Modified: incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ActionStats.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ActionStats.java?rev=1189806&r1=1189805&r2=1189806&view=diff
==============================================================================
--- incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ActionStats.java (original)
+++ incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ActionStats.java Thu Oct 27 15:24:51 2011
@@ -5,25 +5,23 @@
  */
 package org.apache.accumulo.core.tabletserver.thrift;
 
-
-
 import org.apache.thrift.*;
 import org.apache.thrift.meta_data.*;
 import org.apache.thrift.protocol.*;
 
 @SuppressWarnings("serial")
-public class ActionStats implements TBase<ActionStats, ActionStats._Fields>, java.io.Serializable, Cloneable {
+public class ActionStats implements TBase<ActionStats,ActionStats._Fields>, java.io.Serializable, Cloneable {
   private static final TStruct STRUCT_DESC = new TStruct("ActionStats");
-
-  private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short)1);
-  private static final TField ELAPSED_FIELD_DESC = new TField("elapsed", TType.DOUBLE, (short)2);
-  private static final TField NUM_FIELD_DESC = new TField("num", TType.I32, (short)3);
-  private static final TField COUNT_FIELD_DESC = new TField("count", TType.I64, (short)4);
-  private static final TField SUM_DEV_FIELD_DESC = new TField("sumDev", TType.DOUBLE, (short)5);
-  private static final TField FAIL_FIELD_DESC = new TField("fail", TType.I32, (short)6);
-  private static final TField QUEUE_TIME_FIELD_DESC = new TField("queueTime", TType.DOUBLE, (short)7);
-  private static final TField QUEUE_SUM_DEV_FIELD_DESC = new TField("queueSumDev", TType.DOUBLE, (short)8);
-
+  
+  private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short) 1);
+  private static final TField ELAPSED_FIELD_DESC = new TField("elapsed", TType.DOUBLE, (short) 2);
+  private static final TField NUM_FIELD_DESC = new TField("num", TType.I32, (short) 3);
+  private static final TField COUNT_FIELD_DESC = new TField("count", TType.I64, (short) 4);
+  private static final TField SUM_DEV_FIELD_DESC = new TField("sumDev", TType.DOUBLE, (short) 5);
+  private static final TField FAIL_FIELD_DESC = new TField("fail", TType.I32, (short) 6);
+  private static final TField QUEUE_TIME_FIELD_DESC = new TField("queueTime", TType.DOUBLE, (short) 7);
+  private static final TField QUEUE_SUM_DEV_FIELD_DESC = new TField("queueSumDev", TType.DOUBLE, (short) 8);
+  
   public int status;
   public double elapsed;
   public int num;
@@ -32,31 +30,25 @@ public class ActionStats implements TBas
   public int fail;
   public double queueTime;
   public double queueSumDev;
-
+  
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements TFieldIdEnum {
-    STATUS((short)1, "status"),
-    ELAPSED((short)2, "elapsed"),
-    NUM((short)3, "num"),
-    COUNT((short)4, "count"),
-    SUM_DEV((short)5, "sumDev"),
-    FAIL((short)6, "fail"),
-    QUEUE_TIME((short)7, "queueTime"),
-    QUEUE_SUM_DEV((short)8, "queueSumDev");
-
-    private static final java.util.Map<String, _Fields> byName = new java.util.HashMap<String, _Fields>();
-
+    STATUS((short) 1, "status"), ELAPSED((short) 2, "elapsed"), NUM((short) 3, "num"), COUNT((short) 4, "count"), SUM_DEV((short) 5, "sumDev"), FAIL((short) 6,
+        "fail"), QUEUE_TIME((short) 7, "queueTime"), QUEUE_SUM_DEV((short) 8, "queueSumDev");
+    
+    private static final java.util.Map<String,_Fields> byName = new java.util.HashMap<String,_Fields>();
+    
     static {
       for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) {
         byName.put(field.getFieldName(), field);
       }
     }
-
+    
     /**
      * Find the _Fields constant that matches fieldId, or null if its not found.
      */
     public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
+      switch (fieldId) {
         case 1: // STATUS
           return STATUS;
         case 2: // ELAPSED
@@ -77,41 +69,41 @@ public class ActionStats implements TBas
           return null;
       }
     }
-
+    
     /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
+     * Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
      */
     public static _Fields findByThriftIdOrThrow(int fieldId) {
       _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      if (fields == null)
+        throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
       return fields;
     }
-
+    
     /**
      * Find the _Fields constant that matches name, or null if its not found.
      */
     public static _Fields findByName(String name) {
       return byName.get(name);
     }
-
+    
     private final short _thriftId;
     private final String _fieldName;
-
+    
     _Fields(short thriftId, String fieldName) {
       _thriftId = thriftId;
       _fieldName = fieldName;
     }
-
+    
     public short getThriftFieldId() {
       return _thriftId;
     }
-
+    
     public String getFieldName() {
       return _fieldName;
     }
   }
-
+  
   // isset id assignments
   private static final int __STATUS_ISSET_ID = 0;
   private static final int __ELAPSED_ISSET_ID = 1;
@@ -122,43 +114,25 @@ public class ActionStats implements TBas
   private static final int __QUEUETIME_ISSET_ID = 6;
   private static final int __QUEUESUMDEV_ISSET_ID = 7;
   private java.util.BitSet __isset_bit_vector = new java.util.BitSet(8);
-
-  public static final java.util.Map<_Fields, FieldMetaData> metaDataMap;
+  
+  public static final java.util.Map<_Fields,FieldMetaData> metaDataMap;
   static {
-    java.util.Map<_Fields, FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.STATUS, new FieldMetaData("status", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.I32)));
-    tmpMap.put(_Fields.ELAPSED, new FieldMetaData("elapsed", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.DOUBLE)));
-    tmpMap.put(_Fields.NUM, new FieldMetaData("num", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.I32)));
-    tmpMap.put(_Fields.COUNT, new FieldMetaData("count", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.I64)));
-    tmpMap.put(_Fields.SUM_DEV, new FieldMetaData("sumDev", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.DOUBLE)));
-    tmpMap.put(_Fields.FAIL, new FieldMetaData("fail", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.I32)));
-    tmpMap.put(_Fields.QUEUE_TIME, new FieldMetaData("queueTime", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.DOUBLE)));
-    tmpMap.put(_Fields.QUEUE_SUM_DEV, new FieldMetaData("queueSumDev", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.DOUBLE)));
+    java.util.Map<_Fields,FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.STATUS, new FieldMetaData("status", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32)));
+    tmpMap.put(_Fields.ELAPSED, new FieldMetaData("elapsed", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.DOUBLE)));
+    tmpMap.put(_Fields.NUM, new FieldMetaData("num", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32)));
+    tmpMap.put(_Fields.COUNT, new FieldMetaData("count", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64)));
+    tmpMap.put(_Fields.SUM_DEV, new FieldMetaData("sumDev", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.DOUBLE)));
+    tmpMap.put(_Fields.FAIL, new FieldMetaData("fail", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32)));
+    tmpMap.put(_Fields.QUEUE_TIME, new FieldMetaData("queueTime", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.DOUBLE)));
+    tmpMap.put(_Fields.QUEUE_SUM_DEV, new FieldMetaData("queueSumDev", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.DOUBLE)));
     metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
     FieldMetaData.addStructMetaDataMap(ActionStats.class, metaDataMap);
   }
-
-  public ActionStats() {
-  }
-
-  public ActionStats(
-    int status,
-    double elapsed,
-    int num,
-    long count,
-    double sumDev,
-    int fail,
-    double queueTime,
-    double queueSumDev)
-  {
+  
+  public ActionStats() {}
+  
+  public ActionStats(int status, double elapsed, int num, long count, double sumDev, int fail, double queueTime, double queueSumDev) {
     this();
     this.status = status;
     setStatusIsSet(true);
@@ -177,7 +151,7 @@ public class ActionStats implements TBas
     this.queueSumDev = queueSumDev;
     setQueueSumDevIsSet(true);
   }
-
+  
   /**
    * Performs a deep copy on <i>other</i>.
    */
@@ -193,347 +167,347 @@ public class ActionStats implements TBas
     this.queueTime = other.queueTime;
     this.queueSumDev = other.queueSumDev;
   }
-
+  
   public ActionStats deepCopy() {
     return new ActionStats(this);
   }
-
+  
   @Deprecated
   public ActionStats clone() {
     return new ActionStats(this);
   }
-
+  
   public int getStatus() {
     return this.status;
   }
-
+  
   public ActionStats setStatus(int status) {
     this.status = status;
     setStatusIsSet(true);
     return this;
   }
-
+  
   public void unsetStatus() {
     __isset_bit_vector.clear(__STATUS_ISSET_ID);
   }
-
+  
   /** Returns true if field status is set (has been asigned a value) and false otherwise */
   public boolean isSetStatus() {
     return __isset_bit_vector.get(__STATUS_ISSET_ID);
   }
-
+  
   public void setStatusIsSet(boolean value) {
     __isset_bit_vector.set(__STATUS_ISSET_ID, value);
   }
-
+  
   public double getElapsed() {
     return this.elapsed;
   }
-
+  
   public ActionStats setElapsed(double elapsed) {
     this.elapsed = elapsed;
     setElapsedIsSet(true);
     return this;
   }
-
+  
   public void unsetElapsed() {
     __isset_bit_vector.clear(__ELAPSED_ISSET_ID);
   }
-
+  
   /** Returns true if field elapsed is set (has been asigned a value) and false otherwise */
   public boolean isSetElapsed() {
     return __isset_bit_vector.get(__ELAPSED_ISSET_ID);
   }
-
+  
   public void setElapsedIsSet(boolean value) {
     __isset_bit_vector.set(__ELAPSED_ISSET_ID, value);
   }
-
+  
   public int getNum() {
     return this.num;
   }
-
+  
   public ActionStats setNum(int num) {
     this.num = num;
     setNumIsSet(true);
     return this;
   }
-
+  
   public void unsetNum() {
     __isset_bit_vector.clear(__NUM_ISSET_ID);
   }
-
+  
   /** Returns true if field num is set (has been asigned a value) and false otherwise */
   public boolean isSetNum() {
     return __isset_bit_vector.get(__NUM_ISSET_ID);
   }
-
+  
   public void setNumIsSet(boolean value) {
     __isset_bit_vector.set(__NUM_ISSET_ID, value);
   }
-
+  
   public long getCount() {
     return this.count;
   }
-
+  
   public ActionStats setCount(long count) {
     this.count = count;
     setCountIsSet(true);
     return this;
   }
-
+  
   public void unsetCount() {
     __isset_bit_vector.clear(__COUNT_ISSET_ID);
   }
-
+  
   /** Returns true if field count is set (has been asigned a value) and false otherwise */
   public boolean isSetCount() {
     return __isset_bit_vector.get(__COUNT_ISSET_ID);
   }
-
+  
   public void setCountIsSet(boolean value) {
     __isset_bit_vector.set(__COUNT_ISSET_ID, value);
   }
-
+  
   public double getSumDev() {
     return this.sumDev;
   }
-
+  
   public ActionStats setSumDev(double sumDev) {
     this.sumDev = sumDev;
     setSumDevIsSet(true);
     return this;
   }
-
+  
   public void unsetSumDev() {
     __isset_bit_vector.clear(__SUMDEV_ISSET_ID);
   }
-
+  
   /** Returns true if field sumDev is set (has been asigned a value) and false otherwise */
   public boolean isSetSumDev() {
     return __isset_bit_vector.get(__SUMDEV_ISSET_ID);
   }
-
+  
   public void setSumDevIsSet(boolean value) {
     __isset_bit_vector.set(__SUMDEV_ISSET_ID, value);
   }
-
+  
   public int getFail() {
     return this.fail;
   }
-
+  
   public ActionStats setFail(int fail) {
     this.fail = fail;
     setFailIsSet(true);
     return this;
   }
-
+  
   public void unsetFail() {
     __isset_bit_vector.clear(__FAIL_ISSET_ID);
   }
-
+  
   /** Returns true if field fail is set (has been asigned a value) and false otherwise */
   public boolean isSetFail() {
     return __isset_bit_vector.get(__FAIL_ISSET_ID);
   }
-
+  
   public void setFailIsSet(boolean value) {
     __isset_bit_vector.set(__FAIL_ISSET_ID, value);
   }
-
+  
   public double getQueueTime() {
     return this.queueTime;
   }
-
+  
   public ActionStats setQueueTime(double queueTime) {
     this.queueTime = queueTime;
     setQueueTimeIsSet(true);
     return this;
   }
-
+  
   public void unsetQueueTime() {
     __isset_bit_vector.clear(__QUEUETIME_ISSET_ID);
   }
-
+  
   /** Returns true if field queueTime is set (has been asigned a value) and false otherwise */
   public boolean isSetQueueTime() {
     return __isset_bit_vector.get(__QUEUETIME_ISSET_ID);
   }
-
+  
   public void setQueueTimeIsSet(boolean value) {
     __isset_bit_vector.set(__QUEUETIME_ISSET_ID, value);
   }
-
+  
   public double getQueueSumDev() {
     return this.queueSumDev;
   }
-
+  
   public ActionStats setQueueSumDev(double queueSumDev) {
     this.queueSumDev = queueSumDev;
     setQueueSumDevIsSet(true);
     return this;
   }
-
+  
   public void unsetQueueSumDev() {
     __isset_bit_vector.clear(__QUEUESUMDEV_ISSET_ID);
   }
-
+  
   /** Returns true if field queueSumDev is set (has been asigned a value) and false otherwise */
   public boolean isSetQueueSumDev() {
     return __isset_bit_vector.get(__QUEUESUMDEV_ISSET_ID);
   }
-
+  
   public void setQueueSumDevIsSet(boolean value) {
     __isset_bit_vector.set(__QUEUESUMDEV_ISSET_ID, value);
   }
-
+  
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
-    case STATUS:
-      if (value == null) {
-        unsetStatus();
-      } else {
-        setStatus((Integer)value);
-      }
-      break;
-
-    case ELAPSED:
-      if (value == null) {
-        unsetElapsed();
-      } else {
-        setElapsed((Double)value);
-      }
-      break;
-
-    case NUM:
-      if (value == null) {
-        unsetNum();
-      } else {
-        setNum((Integer)value);
-      }
-      break;
-
-    case COUNT:
-      if (value == null) {
-        unsetCount();
-      } else {
-        setCount((Long)value);
-      }
-      break;
-
-    case SUM_DEV:
-      if (value == null) {
-        unsetSumDev();
-      } else {
-        setSumDev((Double)value);
-      }
-      break;
-
-    case FAIL:
-      if (value == null) {
-        unsetFail();
-      } else {
-        setFail((Integer)value);
-      }
-      break;
-
-    case QUEUE_TIME:
-      if (value == null) {
-        unsetQueueTime();
-      } else {
-        setQueueTime((Double)value);
-      }
-      break;
-
-    case QUEUE_SUM_DEV:
-      if (value == null) {
-        unsetQueueSumDev();
-      } else {
-        setQueueSumDev((Double)value);
-      }
-      break;
-
+      case STATUS:
+        if (value == null) {
+          unsetStatus();
+        } else {
+          setStatus((Integer) value);
+        }
+        break;
+      
+      case ELAPSED:
+        if (value == null) {
+          unsetElapsed();
+        } else {
+          setElapsed((Double) value);
+        }
+        break;
+      
+      case NUM:
+        if (value == null) {
+          unsetNum();
+        } else {
+          setNum((Integer) value);
+        }
+        break;
+      
+      case COUNT:
+        if (value == null) {
+          unsetCount();
+        } else {
+          setCount((Long) value);
+        }
+        break;
+      
+      case SUM_DEV:
+        if (value == null) {
+          unsetSumDev();
+        } else {
+          setSumDev((Double) value);
+        }
+        break;
+      
+      case FAIL:
+        if (value == null) {
+          unsetFail();
+        } else {
+          setFail((Integer) value);
+        }
+        break;
+      
+      case QUEUE_TIME:
+        if (value == null) {
+          unsetQueueTime();
+        } else {
+          setQueueTime((Double) value);
+        }
+        break;
+      
+      case QUEUE_SUM_DEV:
+        if (value == null) {
+          unsetQueueSumDev();
+        } else {
+          setQueueSumDev((Double) value);
+        }
+        break;
+    
     }
   }
-
+  
   public void setFieldValue(int fieldID, Object value) {
     setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
   }
-
+  
   public Object getFieldValue(_Fields field) {
     switch (field) {
-    case STATUS:
-      return new Integer(getStatus());
-
-    case ELAPSED:
-      return new Double(getElapsed());
-
-    case NUM:
-      return new Integer(getNum());
-
-    case COUNT:
-      return new Long(getCount());
-
-    case SUM_DEV:
-      return new Double(getSumDev());
-
-    case FAIL:
-      return new Integer(getFail());
-
-    case QUEUE_TIME:
-      return new Double(getQueueTime());
-
-    case QUEUE_SUM_DEV:
-      return new Double(getQueueSumDev());
-
+      case STATUS:
+        return new Integer(getStatus());
+        
+      case ELAPSED:
+        return new Double(getElapsed());
+        
+      case NUM:
+        return new Integer(getNum());
+        
+      case COUNT:
+        return new Long(getCount());
+        
+      case SUM_DEV:
+        return new Double(getSumDev());
+        
+      case FAIL:
+        return new Integer(getFail());
+        
+      case QUEUE_TIME:
+        return new Double(getQueueTime());
+        
+      case QUEUE_SUM_DEV:
+        return new Double(getQueueSumDev());
+        
     }
     throw new IllegalStateException();
   }
-
+  
   public Object getFieldValue(int fieldId) {
     return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
   }
-
+  
   /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
   public boolean isSet(_Fields field) {
     switch (field) {
-    case STATUS:
-      return isSetStatus();
-    case ELAPSED:
-      return isSetElapsed();
-    case NUM:
-      return isSetNum();
-    case COUNT:
-      return isSetCount();
-    case SUM_DEV:
-      return isSetSumDev();
-    case FAIL:
-      return isSetFail();
-    case QUEUE_TIME:
-      return isSetQueueTime();
-    case QUEUE_SUM_DEV:
-      return isSetQueueSumDev();
+      case STATUS:
+        return isSetStatus();
+      case ELAPSED:
+        return isSetElapsed();
+      case NUM:
+        return isSetNum();
+      case COUNT:
+        return isSetCount();
+      case SUM_DEV:
+        return isSetSumDev();
+      case FAIL:
+        return isSetFail();
+      case QUEUE_TIME:
+        return isSetQueueTime();
+      case QUEUE_SUM_DEV:
+        return isSetQueueSumDev();
     }
     throw new IllegalStateException();
   }
-
+  
   public boolean isSet(int fieldID) {
     return isSet(_Fields.findByThriftIdOrThrow(fieldID));
   }
-
+  
   @Override
   public boolean equals(Object that) {
     if (that == null)
       return false;
     if (that instanceof ActionStats)
-      return this.equals((ActionStats)that);
+      return this.equals((ActionStats) that);
     return false;
   }
-
+  
   public boolean equals(ActionStats that) {
     if (that == null)
       return false;
-
+    
     boolean this_present_status = true;
     boolean that_present_status = true;
     if (this_present_status || that_present_status) {
@@ -542,7 +516,7 @@ public class ActionStats implements TBas
       if (this.status != that.status)
         return false;
     }
-
+    
     boolean this_present_elapsed = true;
     boolean that_present_elapsed = true;
     if (this_present_elapsed || that_present_elapsed) {
@@ -551,7 +525,7 @@ public class ActionStats implements TBas
       if (this.elapsed != that.elapsed)
         return false;
     }
-
+    
     boolean this_present_num = true;
     boolean that_present_num = true;
     if (this_present_num || that_present_num) {
@@ -560,7 +534,7 @@ public class ActionStats implements TBas
       if (this.num != that.num)
         return false;
     }
-
+    
     boolean this_present_count = true;
     boolean that_present_count = true;
     if (this_present_count || that_present_count) {
@@ -569,7 +543,7 @@ public class ActionStats implements TBas
       if (this.count != that.count)
         return false;
     }
-
+    
     boolean this_present_sumDev = true;
     boolean that_present_sumDev = true;
     if (this_present_sumDev || that_present_sumDev) {
@@ -578,7 +552,7 @@ public class ActionStats implements TBas
       if (this.sumDev != that.sumDev)
         return false;
     }
-
+    
     boolean this_present_fail = true;
     boolean that_present_fail = true;
     if (this_present_fail || that_present_fail) {
@@ -587,7 +561,7 @@ public class ActionStats implements TBas
       if (this.fail != that.fail)
         return false;
     }
-
+    
     boolean this_present_queueTime = true;
     boolean that_present_queueTime = true;
     if (this_present_queueTime || that_present_queueTime) {
@@ -596,7 +570,7 @@ public class ActionStats implements TBas
       if (this.queueTime != that.queueTime)
         return false;
     }
-
+    
     boolean this_present_queueSumDev = true;
     boolean that_present_queueSumDev = true;
     if (this_present_queueSumDev || that_present_queueSumDev) {
@@ -605,28 +579,29 @@ public class ActionStats implements TBas
       if (this.queueSumDev != that.queueSumDev)
         return false;
     }
-
+    
     return true;
   }
-
+  
   @Override
   public int hashCode() {
     return 0;
   }
-
+  
   public int compareTo(ActionStats other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
-
+    
     int lastComparison = 0;
-    ActionStats typedOther = (ActionStats)other;
-
+    ActionStats typedOther = (ActionStats) other;
+    
     lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetStatus()) {      lastComparison = TBaseHelper.compareTo(this.status, typedOther.status);
+    if (isSetStatus()) {
+      lastComparison = TBaseHelper.compareTo(this.status, typedOther.status);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -635,7 +610,8 @@ public class ActionStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetElapsed()) {      lastComparison = TBaseHelper.compareTo(this.elapsed, typedOther.elapsed);
+    if (isSetElapsed()) {
+      lastComparison = TBaseHelper.compareTo(this.elapsed, typedOther.elapsed);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -644,7 +620,8 @@ public class ActionStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetNum()) {      lastComparison = TBaseHelper.compareTo(this.num, typedOther.num);
+    if (isSetNum()) {
+      lastComparison = TBaseHelper.compareTo(this.num, typedOther.num);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -653,7 +630,8 @@ public class ActionStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetCount()) {      lastComparison = TBaseHelper.compareTo(this.count, typedOther.count);
+    if (isSetCount()) {
+      lastComparison = TBaseHelper.compareTo(this.count, typedOther.count);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -662,7 +640,8 @@ public class ActionStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetSumDev()) {      lastComparison = TBaseHelper.compareTo(this.sumDev, typedOther.sumDev);
+    if (isSetSumDev()) {
+      lastComparison = TBaseHelper.compareTo(this.sumDev, typedOther.sumDev);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -671,7 +650,8 @@ public class ActionStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetFail()) {      lastComparison = TBaseHelper.compareTo(this.fail, typedOther.fail);
+    if (isSetFail()) {
+      lastComparison = TBaseHelper.compareTo(this.fail, typedOther.fail);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -680,7 +660,8 @@ public class ActionStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetQueueTime()) {      lastComparison = TBaseHelper.compareTo(this.queueTime, typedOther.queueTime);
+    if (isSetQueueTime()) {
+      lastComparison = TBaseHelper.compareTo(this.queueTime, typedOther.queueTime);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -689,21 +670,21 @@ public class ActionStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetQueueSumDev()) {      lastComparison = TBaseHelper.compareTo(this.queueSumDev, typedOther.queueSumDev);
+    if (isSetQueueSumDev()) {
+      lastComparison = TBaseHelper.compareTo(this.queueSumDev, typedOther.queueSumDev);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
     return 0;
   }
-
+  
   public void read(TProtocol iprot) throws TException {
     TField field;
     iprot.readStructBegin();
-    while (true)
-    {
+    while (true) {
       field = iprot.readFieldBegin();
-      if (field.type == TType.STOP) { 
+      if (field.type == TType.STOP) {
         break;
       }
       switch (field.id) {
@@ -711,7 +692,7 @@ public class ActionStats implements TBas
           if (field.type == TType.I32) {
             this.status = iprot.readI32();
             setStatusIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -719,7 +700,7 @@ public class ActionStats implements TBas
           if (field.type == TType.DOUBLE) {
             this.elapsed = iprot.readDouble();
             setElapsedIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -727,7 +708,7 @@ public class ActionStats implements TBas
           if (field.type == TType.I32) {
             this.num = iprot.readI32();
             setNumIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -735,7 +716,7 @@ public class ActionStats implements TBas
           if (field.type == TType.I64) {
             this.count = iprot.readI64();
             setCountIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -743,7 +724,7 @@ public class ActionStats implements TBas
           if (field.type == TType.DOUBLE) {
             this.sumDev = iprot.readDouble();
             setSumDevIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -751,7 +732,7 @@ public class ActionStats implements TBas
           if (field.type == TType.I32) {
             this.fail = iprot.readI32();
             setFailIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -759,7 +740,7 @@ public class ActionStats implements TBas
           if (field.type == TType.DOUBLE) {
             this.queueTime = iprot.readDouble();
             setQueueTimeIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -767,7 +748,7 @@ public class ActionStats implements TBas
           if (field.type == TType.DOUBLE) {
             this.queueSumDev = iprot.readDouble();
             setQueueSumDevIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -777,14 +758,14 @@ public class ActionStats implements TBas
       iprot.readFieldEnd();
     }
     iprot.readStructEnd();
-
+    
     // check for required fields of primitive type, which can't be checked in the validate method
     validate();
   }
-
+  
   public void write(TProtocol oprot) throws TException {
     validate();
-
+    
     oprot.writeStructBegin(STRUCT_DESC);
     oprot.writeFieldBegin(STATUS_FIELD_DESC);
     oprot.writeI32(this.status);
@@ -813,7 +794,7 @@ public class ActionStats implements TBas
     oprot.writeFieldStop();
     oprot.writeStructEnd();
   }
-
+  
   @Override
   public String toString() {
     StringBuilder sb = new StringBuilder("ActionStats(");
@@ -843,10 +824,9 @@ public class ActionStats implements TBas
     sb.append(")");
     return sb.toString();
   }
-
+  
   public void validate() throws TException {
     // check for required fields
   }
-
+  
 }
-

Modified: incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java?rev=1189806&r1=1189805&r2=1189806&view=diff
==============================================================================
--- incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java (original)
+++ incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java Thu Oct 27 15:24:51 2011
@@ -5,28 +5,26 @@
  */
 package org.apache.accumulo.core.tabletserver.thrift;
 
-
-
 import org.apache.thrift.*;
 import org.apache.thrift.meta_data.*;
 import org.apache.thrift.protocol.*;
 
 @SuppressWarnings("serial")
-public class ActiveScan implements TBase<ActiveScan, ActiveScan._Fields>, java.io.Serializable, Cloneable {
+public class ActiveScan implements TBase<ActiveScan,ActiveScan._Fields>, java.io.Serializable, Cloneable {
   private static final TStruct STRUCT_DESC = new TStruct("ActiveScan");
-
-  private static final TField CLIENT_FIELD_DESC = new TField("client", TType.STRING, (short)2);
-  private static final TField USER_FIELD_DESC = new TField("user", TType.STRING, (short)3);
-  private static final TField TABLE_ID_FIELD_DESC = new TField("tableId", TType.STRING, (short)4);
-  private static final TField AGE_FIELD_DESC = new TField("age", TType.I64, (short)5);
-  private static final TField IDLE_TIME_FIELD_DESC = new TField("idleTime", TType.I64, (short)6);
-  private static final TField TYPE_FIELD_DESC = new TField("type", TType.I32, (short)7);
-  private static final TField STATE_FIELD_DESC = new TField("state", TType.I32, (short)8);
-  private static final TField EXTENT_FIELD_DESC = new TField("extent", TType.STRUCT, (short)9);
-  private static final TField COLUMNS_FIELD_DESC = new TField("columns", TType.LIST, (short)10);
-  private static final TField SSI_LIST_FIELD_DESC = new TField("ssiList", TType.LIST, (short)11);
-  private static final TField SSIO_FIELD_DESC = new TField("ssio", TType.MAP, (short)12);
-
+  
+  private static final TField CLIENT_FIELD_DESC = new TField("client", TType.STRING, (short) 2);
+  private static final TField USER_FIELD_DESC = new TField("user", TType.STRING, (short) 3);
+  private static final TField TABLE_ID_FIELD_DESC = new TField("tableId", TType.STRING, (short) 4);
+  private static final TField AGE_FIELD_DESC = new TField("age", TType.I64, (short) 5);
+  private static final TField IDLE_TIME_FIELD_DESC = new TField("idleTime", TType.I64, (short) 6);
+  private static final TField TYPE_FIELD_DESC = new TField("type", TType.I32, (short) 7);
+  private static final TField STATE_FIELD_DESC = new TField("state", TType.I32, (short) 8);
+  private static final TField EXTENT_FIELD_DESC = new TField("extent", TType.STRUCT, (short) 9);
+  private static final TField COLUMNS_FIELD_DESC = new TField("columns", TType.LIST, (short) 10);
+  private static final TField SSI_LIST_FIELD_DESC = new TField("ssiList", TType.LIST, (short) 11);
+  private static final TField SSIO_FIELD_DESC = new TField("ssio", TType.MAP, (short) 12);
+  
   public String client;
   public String user;
   public String tableId;
@@ -46,42 +44,34 @@ public class ActiveScan implements TBase
   public java.util.List<org.apache.accumulo.core.data.thrift.TColumn> columns;
   public java.util.List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList;
   public java.util.Map<String,java.util.Map<String,String>> ssio;
-
+  
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements TFieldIdEnum {
-    CLIENT((short)2, "client"),
-    USER((short)3, "user"),
-    TABLE_ID((short)4, "tableId"),
-    AGE((short)5, "age"),
-    IDLE_TIME((short)6, "idleTime"),
+    CLIENT((short) 2, "client"), USER((short) 3, "user"), TABLE_ID((short) 4, "tableId"), AGE((short) 5, "age"), IDLE_TIME((short) 6, "idleTime"),
     /**
      * 
      * @see ScanType
      */
-    TYPE((short)7, "type"),
+    TYPE((short) 7, "type"),
     /**
      * 
      * @see ScanState
      */
-    STATE((short)8, "state"),
-    EXTENT((short)9, "extent"),
-    COLUMNS((short)10, "columns"),
-    SSI_LIST((short)11, "ssiList"),
-    SSIO((short)12, "ssio");
-
-    private static final java.util.Map<String, _Fields> byName = new java.util.HashMap<String, _Fields>();
-
+    STATE((short) 8, "state"), EXTENT((short) 9, "extent"), COLUMNS((short) 10, "columns"), SSI_LIST((short) 11, "ssiList"), SSIO((short) 12, "ssio");
+    
+    private static final java.util.Map<String,_Fields> byName = new java.util.HashMap<String,_Fields>();
+    
     static {
       for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) {
         byName.put(field.getFieldName(), field);
       }
     }
-
+    
     /**
      * Find the _Fields constant that matches fieldId, or null if its not found.
      */
     public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
+      switch (fieldId) {
         case 2: // CLIENT
           return CLIENT;
         case 3: // USER
@@ -108,97 +98,73 @@ public class ActiveScan implements TBase
           return null;
       }
     }
-
+    
     /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
+     * Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
      */
     public static _Fields findByThriftIdOrThrow(int fieldId) {
       _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      if (fields == null)
+        throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
       return fields;
     }
-
+    
     /**
      * Find the _Fields constant that matches name, or null if its not found.
      */
     public static _Fields findByName(String name) {
       return byName.get(name);
     }
-
+    
     private final short _thriftId;
     private final String _fieldName;
-
+    
     _Fields(short thriftId, String fieldName) {
       _thriftId = thriftId;
       _fieldName = fieldName;
     }
-
+    
     public short getThriftFieldId() {
       return _thriftId;
     }
-
+    
     public String getFieldName() {
       return _fieldName;
     }
   }
-
+  
   // isset id assignments
   private static final int __AGE_ISSET_ID = 0;
   private static final int __IDLETIME_ISSET_ID = 1;
   private java.util.BitSet __isset_bit_vector = new java.util.BitSet(2);
-
-  public static final java.util.Map<_Fields, FieldMetaData> metaDataMap;
+  
+  public static final java.util.Map<_Fields,FieldMetaData> metaDataMap;
   static {
-    java.util.Map<_Fields, FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.CLIENT, new FieldMetaData("client", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.STRING)));
-    tmpMap.put(_Fields.USER, new FieldMetaData("user", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.STRING)));
-    tmpMap.put(_Fields.TABLE_ID, new FieldMetaData("tableId", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.STRING)));
-    tmpMap.put(_Fields.AGE, new FieldMetaData("age", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.I64)));
-    tmpMap.put(_Fields.IDLE_TIME, new FieldMetaData("idleTime", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.I64)));
-    tmpMap.put(_Fields.TYPE, new FieldMetaData("type", TFieldRequirementType.DEFAULT, 
-        new EnumMetaData(TType.ENUM, ScanType.class)));
-    tmpMap.put(_Fields.STATE, new FieldMetaData("state", TFieldRequirementType.DEFAULT, 
-        new EnumMetaData(TType.ENUM, ScanState.class)));
-    tmpMap.put(_Fields.EXTENT, new FieldMetaData("extent", TFieldRequirementType.DEFAULT, 
-        new StructMetaData(TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
-    tmpMap.put(_Fields.COLUMNS, new FieldMetaData("columns", TFieldRequirementType.DEFAULT, 
-        new ListMetaData(TType.LIST, 
-            new StructMetaData(TType.STRUCT, org.apache.accumulo.core.data.thrift.TColumn.class))));
-    tmpMap.put(_Fields.SSI_LIST, new FieldMetaData("ssiList", TFieldRequirementType.DEFAULT, 
-        new ListMetaData(TType.LIST, 
-            new StructMetaData(TType.STRUCT, org.apache.accumulo.core.data.thrift.IterInfo.class))));
-    tmpMap.put(_Fields.SSIO, new FieldMetaData("ssio", TFieldRequirementType.DEFAULT, 
-        new MapMetaData(TType.MAP, 
-            new FieldValueMetaData(TType.STRING), 
-            new MapMetaData(TType.MAP, 
-                new FieldValueMetaData(TType.STRING), 
-                new FieldValueMetaData(TType.STRING)))));
+    java.util.Map<_Fields,FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.CLIENT, new FieldMetaData("client", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.STRING)));
+    tmpMap.put(_Fields.USER, new FieldMetaData("user", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.STRING)));
+    tmpMap.put(_Fields.TABLE_ID, new FieldMetaData("tableId", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.STRING)));
+    tmpMap.put(_Fields.AGE, new FieldMetaData("age", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64)));
+    tmpMap.put(_Fields.IDLE_TIME, new FieldMetaData("idleTime", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64)));
+    tmpMap.put(_Fields.TYPE, new FieldMetaData("type", TFieldRequirementType.DEFAULT, new EnumMetaData(TType.ENUM, ScanType.class)));
+    tmpMap.put(_Fields.STATE, new FieldMetaData("state", TFieldRequirementType.DEFAULT, new EnumMetaData(TType.ENUM, ScanState.class)));
+    tmpMap.put(_Fields.EXTENT, new FieldMetaData("extent", TFieldRequirementType.DEFAULT, new StructMetaData(TType.STRUCT,
+        org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
+    tmpMap.put(_Fields.COLUMNS, new FieldMetaData("columns", TFieldRequirementType.DEFAULT, new ListMetaData(TType.LIST, new StructMetaData(TType.STRUCT,
+        org.apache.accumulo.core.data.thrift.TColumn.class))));
+    tmpMap.put(_Fields.SSI_LIST, new FieldMetaData("ssiList", TFieldRequirementType.DEFAULT, new ListMetaData(TType.LIST, new StructMetaData(TType.STRUCT,
+        org.apache.accumulo.core.data.thrift.IterInfo.class))));
+    tmpMap.put(_Fields.SSIO, new FieldMetaData("ssio", TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new FieldValueMetaData(TType.STRING),
+        new MapMetaData(TType.MAP, new FieldValueMetaData(TType.STRING), new FieldValueMetaData(TType.STRING)))));
     metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
     FieldMetaData.addStructMetaDataMap(ActiveScan.class, metaDataMap);
   }
-
-  public ActiveScan() {
-  }
-
-  public ActiveScan(
-    String client,
-    String user,
-    String tableId,
-    long age,
-    long idleTime,
-    ScanType type,
-    ScanState state,
-    org.apache.accumulo.core.data.thrift.TKeyExtent extent,
-    java.util.List<org.apache.accumulo.core.data.thrift.TColumn> columns,
-    java.util.List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList,
-    java.util.Map<String,java.util.Map<String,String>> ssio)
-  {
+  
+  public ActiveScan() {}
+  
+  public ActiveScan(String client, String user, String tableId, long age, long idleTime, ScanType type, ScanState state,
+      org.apache.accumulo.core.data.thrift.TKeyExtent extent, java.util.List<org.apache.accumulo.core.data.thrift.TColumn> columns,
+      java.util.List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, java.util.Map<String,java.util.Map<String,String>> ssio) {
     this();
     this.client = client;
     this.user = user;
@@ -214,7 +180,7 @@ public class ActiveScan implements TBase
     this.ssiList = ssiList;
     this.ssio = ssio;
   }
-
+  
   /**
    * Performs a deep copy on <i>other</i>.
    */
@@ -257,159 +223,159 @@ public class ActiveScan implements TBase
     }
     if (other.isSetSsio()) {
       java.util.Map<String,java.util.Map<String,String>> __this__ssio = new java.util.HashMap<String,java.util.Map<String,String>>();
-      for (java.util.Map.Entry<String, java.util.Map<String,String>> other_element : other.ssio.entrySet()) {
-
+      for (java.util.Map.Entry<String,java.util.Map<String,String>> other_element : other.ssio.entrySet()) {
+        
         String other_element_key = other_element.getKey();
         java.util.Map<String,String> other_element_value = other_element.getValue();
-
+        
         String __this__ssio_copy_key = other_element_key;
-
+        
         java.util.Map<String,String> __this__ssio_copy_value = new java.util.HashMap<String,String>();
-        for (java.util.Map.Entry<String, String> other_element_value_element : other_element_value.entrySet()) {
-
+        for (java.util.Map.Entry<String,String> other_element_value_element : other_element_value.entrySet()) {
+          
           String other_element_value_element_key = other_element_value_element.getKey();
           String other_element_value_element_value = other_element_value_element.getValue();
-
+          
           String __this__ssio_copy_value_copy_key = other_element_value_element_key;
-
+          
           String __this__ssio_copy_value_copy_value = other_element_value_element_value;
-
+          
           __this__ssio_copy_value.put(__this__ssio_copy_value_copy_key, __this__ssio_copy_value_copy_value);
         }
-
+        
         __this__ssio.put(__this__ssio_copy_key, __this__ssio_copy_value);
       }
       this.ssio = __this__ssio;
     }
   }
-
+  
   public ActiveScan deepCopy() {
     return new ActiveScan(this);
   }
-
+  
   @Deprecated
   public ActiveScan clone() {
     return new ActiveScan(this);
   }
-
+  
   public String getClient() {
     return this.client;
   }
-
+  
   public ActiveScan setClient(String client) {
     this.client = client;
     return this;
   }
-
+  
   public void unsetClient() {
     this.client = null;
   }
-
+  
   /** Returns true if field client is set (has been asigned a value) and false otherwise */
   public boolean isSetClient() {
     return this.client != null;
   }
-
+  
   public void setClientIsSet(boolean value) {
     if (!value) {
       this.client = null;
     }
   }
-
+  
   public String getUser() {
     return this.user;
   }
-
+  
   public ActiveScan setUser(String user) {
     this.user = user;
     return this;
   }
-
+  
   public void unsetUser() {
     this.user = null;
   }
-
+  
   /** Returns true if field user is set (has been asigned a value) and false otherwise */
   public boolean isSetUser() {
     return this.user != null;
   }
-
+  
   public void setUserIsSet(boolean value) {
     if (!value) {
       this.user = null;
     }
   }
-
+  
   public String getTableId() {
     return this.tableId;
   }
-
+  
   public ActiveScan setTableId(String tableId) {
     this.tableId = tableId;
     return this;
   }
-
+  
   public void unsetTableId() {
     this.tableId = null;
   }
-
+  
   /** Returns true if field tableId is set (has been asigned a value) and false otherwise */
   public boolean isSetTableId() {
     return this.tableId != null;
   }
-
+  
   public void setTableIdIsSet(boolean value) {
     if (!value) {
       this.tableId = null;
     }
   }
-
+  
   public long getAge() {
     return this.age;
   }
-
+  
   public ActiveScan setAge(long age) {
     this.age = age;
     setAgeIsSet(true);
     return this;
   }
-
+  
   public void unsetAge() {
     __isset_bit_vector.clear(__AGE_ISSET_ID);
   }
-
+  
   /** Returns true if field age is set (has been asigned a value) and false otherwise */
   public boolean isSetAge() {
     return __isset_bit_vector.get(__AGE_ISSET_ID);
   }
-
+  
   public void setAgeIsSet(boolean value) {
     __isset_bit_vector.set(__AGE_ISSET_ID, value);
   }
-
+  
   public long getIdleTime() {
     return this.idleTime;
   }
-
+  
   public ActiveScan setIdleTime(long idleTime) {
     this.idleTime = idleTime;
     setIdleTimeIsSet(true);
     return this;
   }
-
+  
   public void unsetIdleTime() {
     __isset_bit_vector.clear(__IDLETIME_ISSET_ID);
   }
-
+  
   /** Returns true if field idleTime is set (has been asigned a value) and false otherwise */
   public boolean isSetIdleTime() {
     return __isset_bit_vector.get(__IDLETIME_ISSET_ID);
   }
-
+  
   public void setIdleTimeIsSet(boolean value) {
     __isset_bit_vector.set(__IDLETIME_ISSET_ID, value);
   }
-
+  
   /**
    * 
    * @see ScanType
@@ -417,7 +383,7 @@ public class ActiveScan implements TBase
   public ScanType getType() {
     return this.type;
   }
-
+  
   /**
    * 
    * @see ScanType
@@ -426,22 +392,22 @@ public class ActiveScan implements TBase
     this.type = type;
     return this;
   }
-
+  
   public void unsetType() {
     this.type = null;
   }
-
+  
   /** Returns true if field type is set (has been asigned a value) and false otherwise */
   public boolean isSetType() {
     return this.type != null;
   }
-
+  
   public void setTypeIsSet(boolean value) {
     if (!value) {
       this.type = null;
     }
   }
-
+  
   /**
    * 
    * @see ScanState
@@ -449,7 +415,7 @@ public class ActiveScan implements TBase
   public ScanState getState() {
     return this.state;
   }
-
+  
   /**
    * 
    * @see ScanState
@@ -458,346 +424,346 @@ public class ActiveScan implements TBase
     this.state = state;
     return this;
   }
-
+  
   public void unsetState() {
     this.state = null;
   }
-
+  
   /** Returns true if field state is set (has been asigned a value) and false otherwise */
   public boolean isSetState() {
     return this.state != null;
   }
-
+  
   public void setStateIsSet(boolean value) {
     if (!value) {
       this.state = null;
     }
   }
-
+  
   public org.apache.accumulo.core.data.thrift.TKeyExtent getExtent() {
     return this.extent;
   }
-
+  
   public ActiveScan setExtent(org.apache.accumulo.core.data.thrift.TKeyExtent extent) {
     this.extent = extent;
     return this;
   }
-
+  
   public void unsetExtent() {
     this.extent = null;
   }
-
+  
   /** Returns true if field extent is set (has been asigned a value) and false otherwise */
   public boolean isSetExtent() {
     return this.extent != null;
   }
-
+  
   public void setExtentIsSet(boolean value) {
     if (!value) {
       this.extent = null;
     }
   }
-
+  
   public int getColumnsSize() {
     return (this.columns == null) ? 0 : this.columns.size();
   }
-
+  
   public java.util.Iterator<org.apache.accumulo.core.data.thrift.TColumn> getColumnsIterator() {
     return (this.columns == null) ? null : this.columns.iterator();
   }
-
+  
   public void addToColumns(org.apache.accumulo.core.data.thrift.TColumn elem) {
     if (this.columns == null) {
       this.columns = new java.util.ArrayList<org.apache.accumulo.core.data.thrift.TColumn>();
     }
     this.columns.add(elem);
   }
-
+  
   public java.util.List<org.apache.accumulo.core.data.thrift.TColumn> getColumns() {
     return this.columns;
   }
-
+  
   public ActiveScan setColumns(java.util.List<org.apache.accumulo.core.data.thrift.TColumn> columns) {
     this.columns = columns;
     return this;
   }
-
+  
   public void unsetColumns() {
     this.columns = null;
   }
-
+  
   /** Returns true if field columns is set (has been asigned a value) and false otherwise */
   public boolean isSetColumns() {
     return this.columns != null;
   }
-
+  
   public void setColumnsIsSet(boolean value) {
     if (!value) {
       this.columns = null;
     }
   }
-
+  
   public int getSsiListSize() {
     return (this.ssiList == null) ? 0 : this.ssiList.size();
   }
-
+  
   public java.util.Iterator<org.apache.accumulo.core.data.thrift.IterInfo> getSsiListIterator() {
     return (this.ssiList == null) ? null : this.ssiList.iterator();
   }
-
+  
   public void addToSsiList(org.apache.accumulo.core.data.thrift.IterInfo elem) {
     if (this.ssiList == null) {
       this.ssiList = new java.util.ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>();
     }
     this.ssiList.add(elem);
   }
-
+  
   public java.util.List<org.apache.accumulo.core.data.thrift.IterInfo> getSsiList() {
     return this.ssiList;
   }
-
+  
   public ActiveScan setSsiList(java.util.List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList) {
     this.ssiList = ssiList;
     return this;
   }
-
+  
   public void unsetSsiList() {
     this.ssiList = null;
   }
-
+  
   /** Returns true if field ssiList is set (has been asigned a value) and false otherwise */
   public boolean isSetSsiList() {
     return this.ssiList != null;
   }
-
+  
   public void setSsiListIsSet(boolean value) {
     if (!value) {
       this.ssiList = null;
     }
   }
-
+  
   public int getSsioSize() {
     return (this.ssio == null) ? 0 : this.ssio.size();
   }
-
+  
   public void putToSsio(String key, java.util.Map<String,String> val) {
     if (this.ssio == null) {
       this.ssio = new java.util.HashMap<String,java.util.Map<String,String>>();
     }
     this.ssio.put(key, val);
   }
-
+  
   public java.util.Map<String,java.util.Map<String,String>> getSsio() {
     return this.ssio;
   }
-
+  
   public ActiveScan setSsio(java.util.Map<String,java.util.Map<String,String>> ssio) {
     this.ssio = ssio;
     return this;
   }
-
+  
   public void unsetSsio() {
     this.ssio = null;
   }
-
+  
   /** Returns true if field ssio is set (has been asigned a value) and false otherwise */
   public boolean isSetSsio() {
     return this.ssio != null;
   }
-
+  
   public void setSsioIsSet(boolean value) {
     if (!value) {
       this.ssio = null;
     }
   }
-
+  
   @SuppressWarnings("unchecked")
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
-    case CLIENT:
-      if (value == null) {
-        unsetClient();
-      } else {
-        setClient((String)value);
-      }
-      break;
-
-    case USER:
-      if (value == null) {
-        unsetUser();
-      } else {
-        setUser((String)value);
-      }
-      break;
-
-    case TABLE_ID:
-      if (value == null) {
-        unsetTableId();
-      } else {
-        setTableId((String)value);
-      }
-      break;
-
-    case AGE:
-      if (value == null) {
-        unsetAge();
-      } else {
-        setAge((Long)value);
-      }
-      break;
-
-    case IDLE_TIME:
-      if (value == null) {
-        unsetIdleTime();
-      } else {
-        setIdleTime((Long)value);
-      }
-      break;
-
-    case TYPE:
-      if (value == null) {
-        unsetType();
-      } else {
-        setType((ScanType)value);
-      }
-      break;
-
-    case STATE:
-      if (value == null) {
-        unsetState();
-      } else {
-        setState((ScanState)value);
-      }
-      break;
-
-    case EXTENT:
-      if (value == null) {
-        unsetExtent();
-      } else {
-        setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value);
-      }
-      break;
-
-    case COLUMNS:
-      if (value == null) {
-        unsetColumns();
-      } else {
-        setColumns((java.util.List<org.apache.accumulo.core.data.thrift.TColumn>)value);
-      }
-      break;
-
-    case SSI_LIST:
-      if (value == null) {
-        unsetSsiList();
-      } else {
-        setSsiList((java.util.List<org.apache.accumulo.core.data.thrift.IterInfo>)value);
-      }
-      break;
-
-    case SSIO:
-      if (value == null) {
-        unsetSsio();
-      } else {
-        setSsio((java.util.Map<String,java.util.Map<String,String>>)value);
-      }
-      break;
-
+      case CLIENT:
+        if (value == null) {
+          unsetClient();
+        } else {
+          setClient((String) value);
+        }
+        break;
+      
+      case USER:
+        if (value == null) {
+          unsetUser();
+        } else {
+          setUser((String) value);
+        }
+        break;
+      
+      case TABLE_ID:
+        if (value == null) {
+          unsetTableId();
+        } else {
+          setTableId((String) value);
+        }
+        break;
+      
+      case AGE:
+        if (value == null) {
+          unsetAge();
+        } else {
+          setAge((Long) value);
+        }
+        break;
+      
+      case IDLE_TIME:
+        if (value == null) {
+          unsetIdleTime();
+        } else {
+          setIdleTime((Long) value);
+        }
+        break;
+      
+      case TYPE:
+        if (value == null) {
+          unsetType();
+        } else {
+          setType((ScanType) value);
+        }
+        break;
+      
+      case STATE:
+        if (value == null) {
+          unsetState();
+        } else {
+          setState((ScanState) value);
+        }
+        break;
+      
+      case EXTENT:
+        if (value == null) {
+          unsetExtent();
+        } else {
+          setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent) value);
+        }
+        break;
+      
+      case COLUMNS:
+        if (value == null) {
+          unsetColumns();
+        } else {
+          setColumns((java.util.List<org.apache.accumulo.core.data.thrift.TColumn>) value);
+        }
+        break;
+      
+      case SSI_LIST:
+        if (value == null) {
+          unsetSsiList();
+        } else {
+          setSsiList((java.util.List<org.apache.accumulo.core.data.thrift.IterInfo>) value);
+        }
+        break;
+      
+      case SSIO:
+        if (value == null) {
+          unsetSsio();
+        } else {
+          setSsio((java.util.Map<String,java.util.Map<String,String>>) value);
+        }
+        break;
+    
     }
   }
-
+  
   public void setFieldValue(int fieldID, Object value) {
     setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
   }
-
+  
   public Object getFieldValue(_Fields field) {
     switch (field) {
-    case CLIENT:
-      return getClient();
-
-    case USER:
-      return getUser();
-
-    case TABLE_ID:
-      return getTableId();
-
-    case AGE:
-      return new Long(getAge());
-
-    case IDLE_TIME:
-      return new Long(getIdleTime());
-
-    case TYPE:
-      return getType();
-
-    case STATE:
-      return getState();
-
-    case EXTENT:
-      return getExtent();
-
-    case COLUMNS:
-      return getColumns();
-
-    case SSI_LIST:
-      return getSsiList();
-
-    case SSIO:
-      return getSsio();
-
+      case CLIENT:
+        return getClient();
+        
+      case USER:
+        return getUser();
+        
+      case TABLE_ID:
+        return getTableId();
+        
+      case AGE:
+        return new Long(getAge());
+        
+      case IDLE_TIME:
+        return new Long(getIdleTime());
+        
+      case TYPE:
+        return getType();
+        
+      case STATE:
+        return getState();
+        
+      case EXTENT:
+        return getExtent();
+        
+      case COLUMNS:
+        return getColumns();
+        
+      case SSI_LIST:
+        return getSsiList();
+        
+      case SSIO:
+        return getSsio();
+        
     }
     throw new IllegalStateException();
   }
-
+  
   public Object getFieldValue(int fieldId) {
     return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
   }
-
+  
   /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
   public boolean isSet(_Fields field) {
     switch (field) {
-    case CLIENT:
-      return isSetClient();
-    case USER:
-      return isSetUser();
-    case TABLE_ID:
-      return isSetTableId();
-    case AGE:
-      return isSetAge();
-    case IDLE_TIME:
-      return isSetIdleTime();
-    case TYPE:
-      return isSetType();
-    case STATE:
-      return isSetState();
-    case EXTENT:
-      return isSetExtent();
-    case COLUMNS:
-      return isSetColumns();
-    case SSI_LIST:
-      return isSetSsiList();
-    case SSIO:
-      return isSetSsio();
+      case CLIENT:
+        return isSetClient();
+      case USER:
+        return isSetUser();
+      case TABLE_ID:
+        return isSetTableId();
+      case AGE:
+        return isSetAge();
+      case IDLE_TIME:
+        return isSetIdleTime();
+      case TYPE:
+        return isSetType();
+      case STATE:
+        return isSetState();
+      case EXTENT:
+        return isSetExtent();
+      case COLUMNS:
+        return isSetColumns();
+      case SSI_LIST:
+        return isSetSsiList();
+      case SSIO:
+        return isSetSsio();
     }
     throw new IllegalStateException();
   }
-
+  
   public boolean isSet(int fieldID) {
     return isSet(_Fields.findByThriftIdOrThrow(fieldID));
   }
-
+  
   @Override
   public boolean equals(Object that) {
     if (that == null)
       return false;
     if (that instanceof ActiveScan)
-      return this.equals((ActiveScan)that);
+      return this.equals((ActiveScan) that);
     return false;
   }
-
+  
   public boolean equals(ActiveScan that) {
     if (that == null)
       return false;
-
+    
     boolean this_present_client = true && this.isSetClient();
     boolean that_present_client = true && that.isSetClient();
     if (this_present_client || that_present_client) {
@@ -806,7 +772,7 @@ public class ActiveScan implements TBase
       if (!this.client.equals(that.client))
         return false;
     }
-
+    
     boolean this_present_user = true && this.isSetUser();
     boolean that_present_user = true && that.isSetUser();
     if (this_present_user || that_present_user) {
@@ -815,7 +781,7 @@ public class ActiveScan implements TBase
       if (!this.user.equals(that.user))
         return false;
     }
-
+    
     boolean this_present_tableId = true && this.isSetTableId();
     boolean that_present_tableId = true && that.isSetTableId();
     if (this_present_tableId || that_present_tableId) {
@@ -824,7 +790,7 @@ public class ActiveScan implements TBase
       if (!this.tableId.equals(that.tableId))
         return false;
     }
-
+    
     boolean this_present_age = true;
     boolean that_present_age = true;
     if (this_present_age || that_present_age) {
@@ -833,7 +799,7 @@ public class ActiveScan implements TBase
       if (this.age != that.age)
         return false;
     }
-
+    
     boolean this_present_idleTime = true;
     boolean that_present_idleTime = true;
     if (this_present_idleTime || that_present_idleTime) {
@@ -842,7 +808,7 @@ public class ActiveScan implements TBase
       if (this.idleTime != that.idleTime)
         return false;
     }
-
+    
     boolean this_present_type = true && this.isSetType();
     boolean that_present_type = true && that.isSetType();
     if (this_present_type || that_present_type) {
@@ -851,7 +817,7 @@ public class ActiveScan implements TBase
       if (!this.type.equals(that.type))
         return false;
     }
-
+    
     boolean this_present_state = true && this.isSetState();
     boolean that_present_state = true && that.isSetState();
     if (this_present_state || that_present_state) {
@@ -860,7 +826,7 @@ public class ActiveScan implements TBase
       if (!this.state.equals(that.state))
         return false;
     }
-
+    
     boolean this_present_extent = true && this.isSetExtent();
     boolean that_present_extent = true && that.isSetExtent();
     if (this_present_extent || that_present_extent) {
@@ -869,7 +835,7 @@ public class ActiveScan implements TBase
       if (!this.extent.equals(that.extent))
         return false;
     }
-
+    
     boolean this_present_columns = true && this.isSetColumns();
     boolean that_present_columns = true && that.isSetColumns();
     if (this_present_columns || that_present_columns) {
@@ -878,7 +844,7 @@ public class ActiveScan implements TBase
       if (!this.columns.equals(that.columns))
         return false;
     }
-
+    
     boolean this_present_ssiList = true && this.isSetSsiList();
     boolean that_present_ssiList = true && that.isSetSsiList();
     if (this_present_ssiList || that_present_ssiList) {
@@ -887,7 +853,7 @@ public class ActiveScan implements TBase
       if (!this.ssiList.equals(that.ssiList))
         return false;
     }
-
+    
     boolean this_present_ssio = true && this.isSetSsio();
     boolean that_present_ssio = true && that.isSetSsio();
     if (this_present_ssio || that_present_ssio) {
@@ -896,28 +862,29 @@ public class ActiveScan implements TBase
       if (!this.ssio.equals(that.ssio))
         return false;
     }
-
+    
     return true;
   }
-
+  
   @Override
   public int hashCode() {
     return 0;
   }
-
+  
   public int compareTo(ActiveScan other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
-
+    
     int lastComparison = 0;
-    ActiveScan typedOther = (ActiveScan)other;
-
+    ActiveScan typedOther = (ActiveScan) other;
+    
     lastComparison = Boolean.valueOf(isSetClient()).compareTo(typedOther.isSetClient());
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetClient()) {      lastComparison = TBaseHelper.compareTo(this.client, typedOther.client);
+    if (isSetClient()) {
+      lastComparison = TBaseHelper.compareTo(this.client, typedOther.client);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -926,7 +893,8 @@ public class ActiveScan implements TBase
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetUser()) {      lastComparison = TBaseHelper.compareTo(this.user, typedOther.user);
+    if (isSetUser()) {
+      lastComparison = TBaseHelper.compareTo(this.user, typedOther.user);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -935,7 +903,8 @@ public class ActiveScan implements TBase
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetTableId()) {      lastComparison = TBaseHelper.compareTo(this.tableId, typedOther.tableId);
+    if (isSetTableId()) {
+      lastComparison = TBaseHelper.compareTo(this.tableId, typedOther.tableId);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -944,7 +913,8 @@ public class ActiveScan implements TBase
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetAge()) {      lastComparison = TBaseHelper.compareTo(this.age, typedOther.age);
+    if (isSetAge()) {
+      lastComparison = TBaseHelper.compareTo(this.age, typedOther.age);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -953,7 +923,8 @@ public class ActiveScan implements TBase
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetIdleTime()) {      lastComparison = TBaseHelper.compareTo(this.idleTime, typedOther.idleTime);
+    if (isSetIdleTime()) {
+      lastComparison = TBaseHelper.compareTo(this.idleTime, typedOther.idleTime);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -962,7 +933,8 @@ public class ActiveScan implements TBase
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetType()) {      lastComparison = TBaseHelper.compareTo(this.type, typedOther.type);
+    if (isSetType()) {
+      lastComparison = TBaseHelper.compareTo(this.type, typedOther.type);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -971,7 +943,8 @@ public class ActiveScan implements TBase
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetState()) {      lastComparison = TBaseHelper.compareTo(this.state, typedOther.state);
+    if (isSetState()) {
+      lastComparison = TBaseHelper.compareTo(this.state, typedOther.state);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -980,7 +953,8 @@ public class ActiveScan implements TBase
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetExtent()) {      lastComparison = TBaseHelper.compareTo(this.extent, typedOther.extent);
+    if (isSetExtent()) {
+      lastComparison = TBaseHelper.compareTo(this.extent, typedOther.extent);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -989,7 +963,8 @@ public class ActiveScan implements TBase
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetColumns()) {      lastComparison = TBaseHelper.compareTo(this.columns, typedOther.columns);
+    if (isSetColumns()) {
+      lastComparison = TBaseHelper.compareTo(this.columns, typedOther.columns);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -998,7 +973,8 @@ public class ActiveScan implements TBase
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetSsiList()) {      lastComparison = TBaseHelper.compareTo(this.ssiList, typedOther.ssiList);
+    if (isSetSsiList()) {
+      lastComparison = TBaseHelper.compareTo(this.ssiList, typedOther.ssiList);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -1007,42 +983,42 @@ public class ActiveScan implements TBase
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetSsio()) {      lastComparison = TBaseHelper.compareTo(this.ssio, typedOther.ssio);
+    if (isSetSsio()) {
+      lastComparison = TBaseHelper.compareTo(this.ssio, typedOther.ssio);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
     return 0;
   }
-
+  
   public void read(TProtocol iprot) throws TException {
     TField field;
     iprot.readStructBegin();
-    while (true)
-    {
+    while (true) {
       field = iprot.readFieldBegin();
-      if (field.type == TType.STOP) { 
+      if (field.type == TType.STOP) {
         break;
       }
       switch (field.id) {
         case 2: // CLIENT
           if (field.type == TType.STRING) {
             this.client = iprot.readString();
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
         case 3: // USER
           if (field.type == TType.STRING) {
             this.user = iprot.readString();
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
         case 4: // TABLE_ID
           if (field.type == TType.STRING) {
             this.tableId = iprot.readString();
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -1050,7 +1026,7 @@ public class ActiveScan implements TBase
           if (field.type == TType.I64) {
             this.age = iprot.readI64();
             setAgeIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -1058,21 +1034,21 @@ public class ActiveScan implements TBase
           if (field.type == TType.I64) {
             this.idleTime = iprot.readI64();
             setIdleTimeIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
         case 7: // TYPE
           if (field.type == TType.I32) {
             this.type = ScanType.findByValue(iprot.readI32());
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
         case 8: // STATE
           if (field.type == TType.I32) {
             this.state = ScanState.findByValue(iprot.readI32());
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -1080,7 +1056,7 @@ public class ActiveScan implements TBase
           if (field.type == TType.STRUCT) {
             this.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent();
             this.extent.read(iprot);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -1089,8 +1065,7 @@ public class ActiveScan implements TBase
             {
               TList _list4 = iprot.readListBegin();
               this.columns = new java.util.ArrayList<org.apache.accumulo.core.data.thrift.TColumn>(_list4.size);
-              for (int _i5 = 0; _i5 < _list4.size; ++_i5)
-              {
+              for (int _i5 = 0; _i5 < _list4.size; ++_i5) {
                 org.apache.accumulo.core.data.thrift.TColumn _elem6;
                 _elem6 = new org.apache.accumulo.core.data.thrift.TColumn();
                 _elem6.read(iprot);
@@ -1098,7 +1073,7 @@ public class ActiveScan implements TBase
               }
               iprot.readListEnd();
             }
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -1107,8 +1082,7 @@ public class ActiveScan implements TBase
             {
               TList _list7 = iprot.readListBegin();
               this.ssiList = new java.util.ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>(_list7.size);
-              for (int _i8 = 0; _i8 < _list7.size; ++_i8)
-              {
+              for (int _i8 = 0; _i8 < _list7.size; ++_i8) {
                 org.apache.accumulo.core.data.thrift.IterInfo _elem9;
                 _elem9 = new org.apache.accumulo.core.data.thrift.IterInfo();
                 _elem9.read(iprot);
@@ -1116,7 +1090,7 @@ public class ActiveScan implements TBase
               }
               iprot.readListEnd();
             }
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -1124,17 +1098,15 @@ public class ActiveScan implements TBase
           if (field.type == TType.MAP) {
             {
               TMap _map10 = iprot.readMapBegin();
-              this.ssio = new java.util.HashMap<String,java.util.Map<String,String>>(2*_map10.size);
-              for (int _i11 = 0; _i11 < _map10.size; ++_i11)
-              {
+              this.ssio = new java.util.HashMap<String,java.util.Map<String,String>>(2 * _map10.size);
+              for (int _i11 = 0; _i11 < _map10.size; ++_i11) {
                 String _key12;
                 java.util.Map<String,String> _val13;
                 _key12 = iprot.readString();
                 {
                   TMap _map14 = iprot.readMapBegin();
-                  _val13 = new java.util.HashMap<String,String>(2*_map14.size);
-                  for (int _i15 = 0; _i15 < _map14.size; ++_i15)
-                  {
+                  _val13 = new java.util.HashMap<String,String>(2 * _map14.size);
+                  for (int _i15 = 0; _i15 < _map14.size; ++_i15) {
                     String _key16;
                     String _val17;
                     _key16 = iprot.readString();
@@ -1147,7 +1119,7 @@ public class ActiveScan implements TBase
               }
               iprot.readMapEnd();
             }
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -1157,14 +1129,14 @@ public class ActiveScan implements TBase
       iprot.readFieldEnd();
     }
     iprot.readStructEnd();
-
+    
     // check for required fields of primitive type, which can't be checked in the validate method
     validate();
   }
-
+  
   public void write(TProtocol oprot) throws TException {
     validate();
-
+    
     oprot.writeStructBegin(STRUCT_DESC);
     if (this.client != null) {
       oprot.writeFieldBegin(CLIENT_FIELD_DESC);
@@ -1206,8 +1178,7 @@ public class ActiveScan implements TBase
       oprot.writeFieldBegin(COLUMNS_FIELD_DESC);
       {
         oprot.writeListBegin(new TList(TType.STRUCT, this.columns.size()));
-        for (org.apache.accumulo.core.data.thrift.TColumn _iter18 : this.columns)
-        {
+        for (org.apache.accumulo.core.data.thrift.TColumn _iter18 : this.columns) {
           _iter18.write(oprot);
         }
         oprot.writeListEnd();
@@ -1218,8 +1189,7 @@ public class ActiveScan implements TBase
       oprot.writeFieldBegin(SSI_LIST_FIELD_DESC);
       {
         oprot.writeListBegin(new TList(TType.STRUCT, this.ssiList.size()));
-        for (org.apache.accumulo.core.data.thrift.IterInfo _iter19 : this.ssiList)
-        {
+        for (org.apache.accumulo.core.data.thrift.IterInfo _iter19 : this.ssiList) {
           _iter19.write(oprot);
         }
         oprot.writeListEnd();
@@ -1230,13 +1200,11 @@ public class ActiveScan implements TBase
       oprot.writeFieldBegin(SSIO_FIELD_DESC);
       {
         oprot.writeMapBegin(new TMap(TType.STRING, TType.MAP, this.ssio.size()));
-        for (java.util.Map.Entry<String, java.util.Map<String,String>> _iter20 : this.ssio.entrySet())
-        {
+        for (java.util.Map.Entry<String,java.util.Map<String,String>> _iter20 : this.ssio.entrySet()) {
           oprot.writeString(_iter20.getKey());
           {
             oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, _iter20.getValue().size()));
-            for (java.util.Map.Entry<String, String> _iter21 : _iter20.getValue().entrySet())
-            {
+            for (java.util.Map.Entry<String,String> _iter21 : _iter20.getValue().entrySet()) {
               oprot.writeString(_iter21.getKey());
               oprot.writeString(_iter21.getValue());
             }
@@ -1250,7 +1218,7 @@ public class ActiveScan implements TBase
     oprot.writeFieldStop();
     oprot.writeStructEnd();
   }
-
+  
   @Override
   public String toString() {
     StringBuilder sb = new StringBuilder("ActiveScan(");
@@ -1325,10 +1293,9 @@ public class ActiveScan implements TBase
     sb.append(")");
     return sb.toString();
   }
-
+  
   public void validate() throws TException {
     // check for required fields
   }
-
+  
 }
-



Mime
View raw message