accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1189806 [22/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/tabletserver/thrift/TabletMutations.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TabletMutations.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/TabletMutations.java (original)
+++ incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TabletMutations.java Thu Oct 27 15:24:51 2011
@@ -5,43 +5,39 @@
  */
 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 TabletMutations implements TBase<TabletMutations, TabletMutations._Fields>, java.io.Serializable, Cloneable {
+public class TabletMutations implements TBase<TabletMutations,TabletMutations._Fields>, java.io.Serializable, Cloneable {
   private static final TStruct STRUCT_DESC = new TStruct("TabletMutations");
-
-  private static final TField TABLET_ID_FIELD_DESC = new TField("tabletID", TType.I32, (short)1);
-  private static final TField SEQ_FIELD_DESC = new TField("seq", TType.I64, (short)2);
-  private static final TField MUTATIONS_FIELD_DESC = new TField("mutations", TType.LIST, (short)3);
-
+  
+  private static final TField TABLET_ID_FIELD_DESC = new TField("tabletID", TType.I32, (short) 1);
+  private static final TField SEQ_FIELD_DESC = new TField("seq", TType.I64, (short) 2);
+  private static final TField MUTATIONS_FIELD_DESC = new TField("mutations", TType.LIST, (short) 3);
+  
   public int tabletID;
   public long seq;
   public java.util.List<org.apache.accumulo.core.data.thrift.TMutation> mutations;
-
+  
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements TFieldIdEnum {
-    TABLET_ID((short)1, "tabletID"),
-    SEQ((short)2, "seq"),
-    MUTATIONS((short)3, "mutations");
-
-    private static final java.util.Map<String, _Fields> byName = new java.util.HashMap<String, _Fields>();
-
+    TABLET_ID((short) 1, "tabletID"), SEQ((short) 2, "seq"), MUTATIONS((short) 3, "mutations");
+    
+    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: // TABLET_ID
           return TABLET_ID;
         case 2: // SEQ
@@ -52,68 +48,60 @@ public class TabletMutations implements 
           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 __TABLETID_ISSET_ID = 0;
   private static final int __SEQ_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.TABLET_ID, new FieldMetaData("tabletID", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.I32        , "TabletID")));
-    tmpMap.put(_Fields.SEQ, new FieldMetaData("seq", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.I64)));
-    tmpMap.put(_Fields.MUTATIONS, new FieldMetaData("mutations", TFieldRequirementType.DEFAULT, 
-        new ListMetaData(TType.LIST, 
-            new StructMetaData(TType.STRUCT, org.apache.accumulo.core.data.thrift.TMutation.class))));
+    java.util.Map<_Fields,FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.TABLET_ID, new FieldMetaData("tabletID", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I32, "TabletID")));
+    tmpMap.put(_Fields.SEQ, new FieldMetaData("seq", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64)));
+    tmpMap.put(_Fields.MUTATIONS, new FieldMetaData("mutations", TFieldRequirementType.DEFAULT, new ListMetaData(TType.LIST, new StructMetaData(TType.STRUCT,
+        org.apache.accumulo.core.data.thrift.TMutation.class))));
     metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
     FieldMetaData.addStructMetaDataMap(TabletMutations.class, metaDataMap);
   }
-
-  public TabletMutations() {
-  }
-
-  public TabletMutations(
-    int tabletID,
-    long seq,
-    java.util.List<org.apache.accumulo.core.data.thrift.TMutation> mutations)
-  {
+  
+  public TabletMutations() {}
+  
+  public TabletMutations(int tabletID, long seq, java.util.List<org.apache.accumulo.core.data.thrift.TMutation> mutations) {
     this();
     this.tabletID = tabletID;
     setTabletIDIsSet(true);
@@ -121,7 +109,7 @@ public class TabletMutations implements 
     setSeqIsSet(true);
     this.mutations = mutations;
   }
-
+  
   /**
    * Performs a deep copy on <i>other</i>.
    */
@@ -138,184 +126,184 @@ public class TabletMutations implements 
       this.mutations = __this__mutations;
     }
   }
-
+  
   public TabletMutations deepCopy() {
     return new TabletMutations(this);
   }
-
+  
   @Deprecated
   public TabletMutations clone() {
     return new TabletMutations(this);
   }
-
+  
   public int getTabletID() {
     return this.tabletID;
   }
-
+  
   public TabletMutations setTabletID(int tabletID) {
     this.tabletID = tabletID;
     setTabletIDIsSet(true);
     return this;
   }
-
+  
   public void unsetTabletID() {
     __isset_bit_vector.clear(__TABLETID_ISSET_ID);
   }
-
+  
   /** Returns true if field tabletID is set (has been asigned a value) and false otherwise */
   public boolean isSetTabletID() {
     return __isset_bit_vector.get(__TABLETID_ISSET_ID);
   }
-
+  
   public void setTabletIDIsSet(boolean value) {
     __isset_bit_vector.set(__TABLETID_ISSET_ID, value);
   }
-
+  
   public long getSeq() {
     return this.seq;
   }
-
+  
   public TabletMutations setSeq(long seq) {
     this.seq = seq;
     setSeqIsSet(true);
     return this;
   }
-
+  
   public void unsetSeq() {
     __isset_bit_vector.clear(__SEQ_ISSET_ID);
   }
-
+  
   /** Returns true if field seq is set (has been asigned a value) and false otherwise */
   public boolean isSetSeq() {
     return __isset_bit_vector.get(__SEQ_ISSET_ID);
   }
-
+  
   public void setSeqIsSet(boolean value) {
     __isset_bit_vector.set(__SEQ_ISSET_ID, value);
   }
-
+  
   public int getMutationsSize() {
     return (this.mutations == null) ? 0 : this.mutations.size();
   }
-
+  
   public java.util.Iterator<org.apache.accumulo.core.data.thrift.TMutation> getMutationsIterator() {
     return (this.mutations == null) ? null : this.mutations.iterator();
   }
-
+  
   public void addToMutations(org.apache.accumulo.core.data.thrift.TMutation elem) {
     if (this.mutations == null) {
       this.mutations = new java.util.ArrayList<org.apache.accumulo.core.data.thrift.TMutation>();
     }
     this.mutations.add(elem);
   }
-
+  
   public java.util.List<org.apache.accumulo.core.data.thrift.TMutation> getMutations() {
     return this.mutations;
   }
-
+  
   public TabletMutations setMutations(java.util.List<org.apache.accumulo.core.data.thrift.TMutation> mutations) {
     this.mutations = mutations;
     return this;
   }
-
+  
   public void unsetMutations() {
     this.mutations = null;
   }
-
+  
   /** Returns true if field mutations is set (has been asigned a value) and false otherwise */
   public boolean isSetMutations() {
     return this.mutations != null;
   }
-
+  
   public void setMutationsIsSet(boolean value) {
     if (!value) {
       this.mutations = null;
     }
   }
-
+  
   @SuppressWarnings("unchecked")
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
-    case TABLET_ID:
-      if (value == null) {
-        unsetTabletID();
-      } else {
-        setTabletID((Integer)value);
-      }
-      break;
-
-    case SEQ:
-      if (value == null) {
-        unsetSeq();
-      } else {
-        setSeq((Long)value);
-      }
-      break;
-
-    case MUTATIONS:
-      if (value == null) {
-        unsetMutations();
-      } else {
-        setMutations((java.util.List<org.apache.accumulo.core.data.thrift.TMutation>)value);
-      }
-      break;
-
+      case TABLET_ID:
+        if (value == null) {
+          unsetTabletID();
+        } else {
+          setTabletID((Integer) value);
+        }
+        break;
+      
+      case SEQ:
+        if (value == null) {
+          unsetSeq();
+        } else {
+          setSeq((Long) value);
+        }
+        break;
+      
+      case MUTATIONS:
+        if (value == null) {
+          unsetMutations();
+        } else {
+          setMutations((java.util.List<org.apache.accumulo.core.data.thrift.TMutation>) value);
+        }
+        break;
+    
     }
   }
-
+  
   public void setFieldValue(int fieldID, Object value) {
     setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
   }
-
+  
   public Object getFieldValue(_Fields field) {
     switch (field) {
-    case TABLET_ID:
-      return new Integer(getTabletID());
-
-    case SEQ:
-      return new Long(getSeq());
-
-    case MUTATIONS:
-      return getMutations();
-
+      case TABLET_ID:
+        return new Integer(getTabletID());
+        
+      case SEQ:
+        return new Long(getSeq());
+        
+      case MUTATIONS:
+        return getMutations();
+        
     }
     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 TABLET_ID:
-      return isSetTabletID();
-    case SEQ:
-      return isSetSeq();
-    case MUTATIONS:
-      return isSetMutations();
+      case TABLET_ID:
+        return isSetTabletID();
+      case SEQ:
+        return isSetSeq();
+      case MUTATIONS:
+        return isSetMutations();
     }
     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 TabletMutations)
-      return this.equals((TabletMutations)that);
+      return this.equals((TabletMutations) that);
     return false;
   }
-
+  
   public boolean equals(TabletMutations that) {
     if (that == null)
       return false;
-
+    
     boolean this_present_tabletID = true;
     boolean that_present_tabletID = true;
     if (this_present_tabletID || that_present_tabletID) {
@@ -324,7 +312,7 @@ public class TabletMutations implements 
       if (this.tabletID != that.tabletID)
         return false;
     }
-
+    
     boolean this_present_seq = true;
     boolean that_present_seq = true;
     if (this_present_seq || that_present_seq) {
@@ -333,7 +321,7 @@ public class TabletMutations implements 
       if (this.seq != that.seq)
         return false;
     }
-
+    
     boolean this_present_mutations = true && this.isSetMutations();
     boolean that_present_mutations = true && that.isSetMutations();
     if (this_present_mutations || that_present_mutations) {
@@ -342,28 +330,29 @@ public class TabletMutations implements 
       if (!this.mutations.equals(that.mutations))
         return false;
     }
-
+    
     return true;
   }
-
+  
   @Override
   public int hashCode() {
     return 0;
   }
-
+  
   public int compareTo(TabletMutations other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
-
+    
     int lastComparison = 0;
-    TabletMutations typedOther = (TabletMutations)other;
-
+    TabletMutations typedOther = (TabletMutations) other;
+    
     lastComparison = Boolean.valueOf(isSetTabletID()).compareTo(typedOther.isSetTabletID());
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetTabletID()) {      lastComparison = TBaseHelper.compareTo(this.tabletID, typedOther.tabletID);
+    if (isSetTabletID()) {
+      lastComparison = TBaseHelper.compareTo(this.tabletID, typedOther.tabletID);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -372,7 +361,8 @@ public class TabletMutations implements 
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetSeq()) {      lastComparison = TBaseHelper.compareTo(this.seq, typedOther.seq);
+    if (isSetSeq()) {
+      lastComparison = TBaseHelper.compareTo(this.seq, typedOther.seq);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -381,21 +371,21 @@ public class TabletMutations implements 
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetMutations()) {      lastComparison = TBaseHelper.compareTo(this.mutations, typedOther.mutations);
+    if (isSetMutations()) {
+      lastComparison = TBaseHelper.compareTo(this.mutations, typedOther.mutations);
       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) {
@@ -403,7 +393,7 @@ public class TabletMutations implements 
           if (field.type == TType.I32) {
             this.tabletID = iprot.readI32();
             setTabletIDIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -411,7 +401,7 @@ public class TabletMutations implements 
           if (field.type == TType.I64) {
             this.seq = iprot.readI64();
             setSeqIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -420,8 +410,7 @@ public class TabletMutations implements 
             {
               TList _list22 = iprot.readListBegin();
               this.mutations = new java.util.ArrayList<org.apache.accumulo.core.data.thrift.TMutation>(_list22.size);
-              for (int _i23 = 0; _i23 < _list22.size; ++_i23)
-              {
+              for (int _i23 = 0; _i23 < _list22.size; ++_i23) {
                 org.apache.accumulo.core.data.thrift.TMutation _elem24;
                 _elem24 = new org.apache.accumulo.core.data.thrift.TMutation();
                 _elem24.read(iprot);
@@ -429,7 +418,7 @@ public class TabletMutations implements 
               }
               iprot.readListEnd();
             }
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -439,14 +428,14 @@ public class TabletMutations implements 
       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(TABLET_ID_FIELD_DESC);
     oprot.writeI32(this.tabletID);
@@ -458,8 +447,7 @@ public class TabletMutations implements 
       oprot.writeFieldBegin(MUTATIONS_FIELD_DESC);
       {
         oprot.writeListBegin(new TList(TType.STRUCT, this.mutations.size()));
-        for (org.apache.accumulo.core.data.thrift.TMutation _iter25 : this.mutations)
-        {
+        for (org.apache.accumulo.core.data.thrift.TMutation _iter25 : this.mutations) {
           _iter25.write(oprot);
         }
         oprot.writeListEnd();
@@ -469,7 +457,7 @@ public class TabletMutations implements 
     oprot.writeFieldStop();
     oprot.writeStructEnd();
   }
-
+  
   @Override
   public String toString() {
     StringBuilder sb = new StringBuilder("TabletMutations(");
@@ -488,10 +476,9 @@ public class TabletMutations implements 
     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/TabletStats.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TabletStats.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/TabletStats.java (original)
+++ incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TabletStats.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 TabletStats implements TBase<TabletStats, TabletStats._Fields>, java.io.Serializable, Cloneable {
+public class TabletStats implements TBase<TabletStats,TabletStats._Fields>, java.io.Serializable, Cloneable {
   private static final TStruct STRUCT_DESC = new TStruct("TabletStats");
-
-  private static final TField EXTENT_FIELD_DESC = new TField("extent", TType.STRUCT, (short)1);
-  private static final TField MAJOR_FIELD_DESC = new TField("major", TType.STRUCT, (short)2);
-  private static final TField MINOR_FIELD_DESC = new TField("minor", TType.STRUCT, (short)3);
-  private static final TField SPLIT_FIELD_DESC = new TField("split", TType.STRUCT, (short)4);
-  private static final TField NUM_ENTRIES_FIELD_DESC = new TField("numEntries", TType.I64, (short)5);
-  private static final TField INGEST_RATE_FIELD_DESC = new TField("ingestRate", TType.DOUBLE, (short)6);
-  private static final TField QUERY_RATE_FIELD_DESC = new TField("queryRate", TType.DOUBLE, (short)7);
-  private static final TField SPLIT_CREATION_TIME_FIELD_DESC = new TField("splitCreationTime", TType.I64, (short)8);
-
+  
+  private static final TField EXTENT_FIELD_DESC = new TField("extent", TType.STRUCT, (short) 1);
+  private static final TField MAJOR_FIELD_DESC = new TField("major", TType.STRUCT, (short) 2);
+  private static final TField MINOR_FIELD_DESC = new TField("minor", TType.STRUCT, (short) 3);
+  private static final TField SPLIT_FIELD_DESC = new TField("split", TType.STRUCT, (short) 4);
+  private static final TField NUM_ENTRIES_FIELD_DESC = new TField("numEntries", TType.I64, (short) 5);
+  private static final TField INGEST_RATE_FIELD_DESC = new TField("ingestRate", TType.DOUBLE, (short) 6);
+  private static final TField QUERY_RATE_FIELD_DESC = new TField("queryRate", TType.DOUBLE, (short) 7);
+  private static final TField SPLIT_CREATION_TIME_FIELD_DESC = new TField("splitCreationTime", TType.I64, (short) 8);
+  
   public org.apache.accumulo.core.data.thrift.TKeyExtent extent;
   public ActionStats major;
   public ActionStats minor;
@@ -32,31 +30,31 @@ public class TabletStats implements TBas
   public double ingestRate;
   public double queryRate;
   public long splitCreationTime;
-
+  
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements TFieldIdEnum {
-    EXTENT((short)1, "extent"),
-    MAJOR((short)2, "major"),
-    MINOR((short)3, "minor"),
-    SPLIT((short)4, "split"),
-    NUM_ENTRIES((short)5, "numEntries"),
-    INGEST_RATE((short)6, "ingestRate"),
-    QUERY_RATE((short)7, "queryRate"),
-    SPLIT_CREATION_TIME((short)8, "splitCreationTime");
-
-    private static final java.util.Map<String, _Fields> byName = new java.util.HashMap<String, _Fields>();
-
+    EXTENT((short) 1, "extent"),
+    MAJOR((short) 2, "major"),
+    MINOR((short) 3, "minor"),
+    SPLIT((short) 4, "split"),
+    NUM_ENTRIES((short) 5, "numEntries"),
+    INGEST_RATE((short) 6, "ingestRate"),
+    QUERY_RATE((short) 7, "queryRate"),
+    SPLIT_CREATION_TIME((short) 8, "splitCreationTime");
+    
+    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: // EXTENT
           return EXTENT;
         case 2: // MAJOR
@@ -77,84 +75,68 @@ public class TabletStats 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 __NUMENTRIES_ISSET_ID = 0;
   private static final int __INGESTRATE_ISSET_ID = 1;
   private static final int __QUERYRATE_ISSET_ID = 2;
   private static final int __SPLITCREATIONTIME_ISSET_ID = 3;
   private java.util.BitSet __isset_bit_vector = new java.util.BitSet(4);
-
-  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.EXTENT, new FieldMetaData("extent", TFieldRequirementType.DEFAULT, 
-        new StructMetaData(TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)));
-    tmpMap.put(_Fields.MAJOR, new FieldMetaData("major", TFieldRequirementType.DEFAULT, 
-        new StructMetaData(TType.STRUCT, ActionStats.class)));
-    tmpMap.put(_Fields.MINOR, new FieldMetaData("minor", TFieldRequirementType.DEFAULT, 
-        new StructMetaData(TType.STRUCT, ActionStats.class)));
-    tmpMap.put(_Fields.SPLIT, new FieldMetaData("split", TFieldRequirementType.DEFAULT, 
-        new StructMetaData(TType.STRUCT, ActionStats.class)));
-    tmpMap.put(_Fields.NUM_ENTRIES, new FieldMetaData("numEntries", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.I64)));
-    tmpMap.put(_Fields.INGEST_RATE, new FieldMetaData("ingestRate", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.DOUBLE)));
-    tmpMap.put(_Fields.QUERY_RATE, new FieldMetaData("queryRate", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.DOUBLE)));
-    tmpMap.put(_Fields.SPLIT_CREATION_TIME, new FieldMetaData("splitCreationTime", TFieldRequirementType.DEFAULT, 
-        new FieldValueMetaData(TType.I64)));
+    java.util.Map<_Fields,FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,FieldMetaData>(_Fields.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.MAJOR, new FieldMetaData("major", TFieldRequirementType.DEFAULT, new StructMetaData(TType.STRUCT, ActionStats.class)));
+    tmpMap.put(_Fields.MINOR, new FieldMetaData("minor", TFieldRequirementType.DEFAULT, new StructMetaData(TType.STRUCT, ActionStats.class)));
+    tmpMap.put(_Fields.SPLIT, new FieldMetaData("split", TFieldRequirementType.DEFAULT, new StructMetaData(TType.STRUCT, ActionStats.class)));
+    tmpMap.put(_Fields.NUM_ENTRIES, new FieldMetaData("numEntries", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64)));
+    tmpMap.put(_Fields.INGEST_RATE, new FieldMetaData("ingestRate", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.DOUBLE)));
+    tmpMap.put(_Fields.QUERY_RATE, new FieldMetaData("queryRate", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.DOUBLE)));
+    tmpMap.put(_Fields.SPLIT_CREATION_TIME, new FieldMetaData("splitCreationTime", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64)));
     metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
     FieldMetaData.addStructMetaDataMap(TabletStats.class, metaDataMap);
   }
-
-  public TabletStats() {
-  }
-
-  public TabletStats(
-    org.apache.accumulo.core.data.thrift.TKeyExtent extent,
-    ActionStats major,
-    ActionStats minor,
-    ActionStats split,
-    long numEntries,
-    double ingestRate,
-    double queryRate,
-    long splitCreationTime)
-  {
+  
+  public TabletStats() {}
+  
+  public TabletStats(org.apache.accumulo.core.data.thrift.TKeyExtent extent, ActionStats major, ActionStats minor, ActionStats split, long numEntries,
+      double ingestRate, double queryRate, long splitCreationTime) {
     this();
     this.extent = extent;
     this.major = major;
@@ -169,7 +151,7 @@ public class TabletStats implements TBas
     this.splitCreationTime = splitCreationTime;
     setSplitCreationTimeIsSet(true);
   }
-
+  
   /**
    * Performs a deep copy on <i>other</i>.
    */
@@ -193,351 +175,351 @@ public class TabletStats implements TBas
     this.queryRate = other.queryRate;
     this.splitCreationTime = other.splitCreationTime;
   }
-
+  
   public TabletStats deepCopy() {
     return new TabletStats(this);
   }
-
+  
   @Deprecated
   public TabletStats clone() {
     return new TabletStats(this);
   }
-
+  
   public org.apache.accumulo.core.data.thrift.TKeyExtent getExtent() {
     return this.extent;
   }
-
+  
   public TabletStats 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 ActionStats getMajor() {
     return this.major;
   }
-
+  
   public TabletStats setMajor(ActionStats major) {
     this.major = major;
     return this;
   }
-
+  
   public void unsetMajor() {
     this.major = null;
   }
-
+  
   /** Returns true if field major is set (has been asigned a value) and false otherwise */
   public boolean isSetMajor() {
     return this.major != null;
   }
-
+  
   public void setMajorIsSet(boolean value) {
     if (!value) {
       this.major = null;
     }
   }
-
+  
   public ActionStats getMinor() {
     return this.minor;
   }
-
+  
   public TabletStats setMinor(ActionStats minor) {
     this.minor = minor;
     return this;
   }
-
+  
   public void unsetMinor() {
     this.minor = null;
   }
-
+  
   /** Returns true if field minor is set (has been asigned a value) and false otherwise */
   public boolean isSetMinor() {
     return this.minor != null;
   }
-
+  
   public void setMinorIsSet(boolean value) {
     if (!value) {
       this.minor = null;
     }
   }
-
+  
   public ActionStats getSplit() {
     return this.split;
   }
-
+  
   public TabletStats setSplit(ActionStats split) {
     this.split = split;
     return this;
   }
-
+  
   public void unsetSplit() {
     this.split = null;
   }
-
+  
   /** Returns true if field split is set (has been asigned a value) and false otherwise */
   public boolean isSetSplit() {
     return this.split != null;
   }
-
+  
   public void setSplitIsSet(boolean value) {
     if (!value) {
       this.split = null;
     }
   }
-
+  
   public long getNumEntries() {
     return this.numEntries;
   }
-
+  
   public TabletStats setNumEntries(long numEntries) {
     this.numEntries = numEntries;
     setNumEntriesIsSet(true);
     return this;
   }
-
+  
   public void unsetNumEntries() {
     __isset_bit_vector.clear(__NUMENTRIES_ISSET_ID);
   }
-
+  
   /** Returns true if field numEntries is set (has been asigned a value) and false otherwise */
   public boolean isSetNumEntries() {
     return __isset_bit_vector.get(__NUMENTRIES_ISSET_ID);
   }
-
+  
   public void setNumEntriesIsSet(boolean value) {
     __isset_bit_vector.set(__NUMENTRIES_ISSET_ID, value);
   }
-
+  
   public double getIngestRate() {
     return this.ingestRate;
   }
-
+  
   public TabletStats setIngestRate(double ingestRate) {
     this.ingestRate = ingestRate;
     setIngestRateIsSet(true);
     return this;
   }
-
+  
   public void unsetIngestRate() {
     __isset_bit_vector.clear(__INGESTRATE_ISSET_ID);
   }
-
+  
   /** Returns true if field ingestRate is set (has been asigned a value) and false otherwise */
   public boolean isSetIngestRate() {
     return __isset_bit_vector.get(__INGESTRATE_ISSET_ID);
   }
-
+  
   public void setIngestRateIsSet(boolean value) {
     __isset_bit_vector.set(__INGESTRATE_ISSET_ID, value);
   }
-
+  
   public double getQueryRate() {
     return this.queryRate;
   }
-
+  
   public TabletStats setQueryRate(double queryRate) {
     this.queryRate = queryRate;
     setQueryRateIsSet(true);
     return this;
   }
-
+  
   public void unsetQueryRate() {
     __isset_bit_vector.clear(__QUERYRATE_ISSET_ID);
   }
-
+  
   /** Returns true if field queryRate is set (has been asigned a value) and false otherwise */
   public boolean isSetQueryRate() {
     return __isset_bit_vector.get(__QUERYRATE_ISSET_ID);
   }
-
+  
   public void setQueryRateIsSet(boolean value) {
     __isset_bit_vector.set(__QUERYRATE_ISSET_ID, value);
   }
-
+  
   public long getSplitCreationTime() {
     return this.splitCreationTime;
   }
-
+  
   public TabletStats setSplitCreationTime(long splitCreationTime) {
     this.splitCreationTime = splitCreationTime;
     setSplitCreationTimeIsSet(true);
     return this;
   }
-
+  
   public void unsetSplitCreationTime() {
     __isset_bit_vector.clear(__SPLITCREATIONTIME_ISSET_ID);
   }
-
+  
   /** Returns true if field splitCreationTime is set (has been asigned a value) and false otherwise */
   public boolean isSetSplitCreationTime() {
     return __isset_bit_vector.get(__SPLITCREATIONTIME_ISSET_ID);
   }
-
+  
   public void setSplitCreationTimeIsSet(boolean value) {
     __isset_bit_vector.set(__SPLITCREATIONTIME_ISSET_ID, value);
   }
-
+  
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
-    case EXTENT:
-      if (value == null) {
-        unsetExtent();
-      } else {
-        setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value);
-      }
-      break;
-
-    case MAJOR:
-      if (value == null) {
-        unsetMajor();
-      } else {
-        setMajor((ActionStats)value);
-      }
-      break;
-
-    case MINOR:
-      if (value == null) {
-        unsetMinor();
-      } else {
-        setMinor((ActionStats)value);
-      }
-      break;
-
-    case SPLIT:
-      if (value == null) {
-        unsetSplit();
-      } else {
-        setSplit((ActionStats)value);
-      }
-      break;
-
-    case NUM_ENTRIES:
-      if (value == null) {
-        unsetNumEntries();
-      } else {
-        setNumEntries((Long)value);
-      }
-      break;
-
-    case INGEST_RATE:
-      if (value == null) {
-        unsetIngestRate();
-      } else {
-        setIngestRate((Double)value);
-      }
-      break;
-
-    case QUERY_RATE:
-      if (value == null) {
-        unsetQueryRate();
-      } else {
-        setQueryRate((Double)value);
-      }
-      break;
-
-    case SPLIT_CREATION_TIME:
-      if (value == null) {
-        unsetSplitCreationTime();
-      } else {
-        setSplitCreationTime((Long)value);
-      }
-      break;
-
+      case EXTENT:
+        if (value == null) {
+          unsetExtent();
+        } else {
+          setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent) value);
+        }
+        break;
+      
+      case MAJOR:
+        if (value == null) {
+          unsetMajor();
+        } else {
+          setMajor((ActionStats) value);
+        }
+        break;
+      
+      case MINOR:
+        if (value == null) {
+          unsetMinor();
+        } else {
+          setMinor((ActionStats) value);
+        }
+        break;
+      
+      case SPLIT:
+        if (value == null) {
+          unsetSplit();
+        } else {
+          setSplit((ActionStats) value);
+        }
+        break;
+      
+      case NUM_ENTRIES:
+        if (value == null) {
+          unsetNumEntries();
+        } else {
+          setNumEntries((Long) value);
+        }
+        break;
+      
+      case INGEST_RATE:
+        if (value == null) {
+          unsetIngestRate();
+        } else {
+          setIngestRate((Double) value);
+        }
+        break;
+      
+      case QUERY_RATE:
+        if (value == null) {
+          unsetQueryRate();
+        } else {
+          setQueryRate((Double) value);
+        }
+        break;
+      
+      case SPLIT_CREATION_TIME:
+        if (value == null) {
+          unsetSplitCreationTime();
+        } else {
+          setSplitCreationTime((Long) value);
+        }
+        break;
+    
     }
   }
-
+  
   public void setFieldValue(int fieldID, Object value) {
     setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
   }
-
+  
   public Object getFieldValue(_Fields field) {
     switch (field) {
-    case EXTENT:
-      return getExtent();
-
-    case MAJOR:
-      return getMajor();
-
-    case MINOR:
-      return getMinor();
-
-    case SPLIT:
-      return getSplit();
-
-    case NUM_ENTRIES:
-      return new Long(getNumEntries());
-
-    case INGEST_RATE:
-      return new Double(getIngestRate());
-
-    case QUERY_RATE:
-      return new Double(getQueryRate());
-
-    case SPLIT_CREATION_TIME:
-      return new Long(getSplitCreationTime());
-
+      case EXTENT:
+        return getExtent();
+        
+      case MAJOR:
+        return getMajor();
+        
+      case MINOR:
+        return getMinor();
+        
+      case SPLIT:
+        return getSplit();
+        
+      case NUM_ENTRIES:
+        return new Long(getNumEntries());
+        
+      case INGEST_RATE:
+        return new Double(getIngestRate());
+        
+      case QUERY_RATE:
+        return new Double(getQueryRate());
+        
+      case SPLIT_CREATION_TIME:
+        return new Long(getSplitCreationTime());
+        
     }
     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 EXTENT:
-      return isSetExtent();
-    case MAJOR:
-      return isSetMajor();
-    case MINOR:
-      return isSetMinor();
-    case SPLIT:
-      return isSetSplit();
-    case NUM_ENTRIES:
-      return isSetNumEntries();
-    case INGEST_RATE:
-      return isSetIngestRate();
-    case QUERY_RATE:
-      return isSetQueryRate();
-    case SPLIT_CREATION_TIME:
-      return isSetSplitCreationTime();
+      case EXTENT:
+        return isSetExtent();
+      case MAJOR:
+        return isSetMajor();
+      case MINOR:
+        return isSetMinor();
+      case SPLIT:
+        return isSetSplit();
+      case NUM_ENTRIES:
+        return isSetNumEntries();
+      case INGEST_RATE:
+        return isSetIngestRate();
+      case QUERY_RATE:
+        return isSetQueryRate();
+      case SPLIT_CREATION_TIME:
+        return isSetSplitCreationTime();
     }
     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 TabletStats)
-      return this.equals((TabletStats)that);
+      return this.equals((TabletStats) that);
     return false;
   }
-
+  
   public boolean equals(TabletStats that) {
     if (that == null)
       return false;
-
+    
     boolean this_present_extent = true && this.isSetExtent();
     boolean that_present_extent = true && that.isSetExtent();
     if (this_present_extent || that_present_extent) {
@@ -546,7 +528,7 @@ public class TabletStats implements TBas
       if (!this.extent.equals(that.extent))
         return false;
     }
-
+    
     boolean this_present_major = true && this.isSetMajor();
     boolean that_present_major = true && that.isSetMajor();
     if (this_present_major || that_present_major) {
@@ -555,7 +537,7 @@ public class TabletStats implements TBas
       if (!this.major.equals(that.major))
         return false;
     }
-
+    
     boolean this_present_minor = true && this.isSetMinor();
     boolean that_present_minor = true && that.isSetMinor();
     if (this_present_minor || that_present_minor) {
@@ -564,7 +546,7 @@ public class TabletStats implements TBas
       if (!this.minor.equals(that.minor))
         return false;
     }
-
+    
     boolean this_present_split = true && this.isSetSplit();
     boolean that_present_split = true && that.isSetSplit();
     if (this_present_split || that_present_split) {
@@ -573,7 +555,7 @@ public class TabletStats implements TBas
       if (!this.split.equals(that.split))
         return false;
     }
-
+    
     boolean this_present_numEntries = true;
     boolean that_present_numEntries = true;
     if (this_present_numEntries || that_present_numEntries) {
@@ -582,7 +564,7 @@ public class TabletStats implements TBas
       if (this.numEntries != that.numEntries)
         return false;
     }
-
+    
     boolean this_present_ingestRate = true;
     boolean that_present_ingestRate = true;
     if (this_present_ingestRate || that_present_ingestRate) {
@@ -591,7 +573,7 @@ public class TabletStats implements TBas
       if (this.ingestRate != that.ingestRate)
         return false;
     }
-
+    
     boolean this_present_queryRate = true;
     boolean that_present_queryRate = true;
     if (this_present_queryRate || that_present_queryRate) {
@@ -600,7 +582,7 @@ public class TabletStats implements TBas
       if (this.queryRate != that.queryRate)
         return false;
     }
-
+    
     boolean this_present_splitCreationTime = true;
     boolean that_present_splitCreationTime = true;
     if (this_present_splitCreationTime || that_present_splitCreationTime) {
@@ -609,28 +591,29 @@ public class TabletStats implements TBas
       if (this.splitCreationTime != that.splitCreationTime)
         return false;
     }
-
+    
     return true;
   }
-
+  
   @Override
   public int hashCode() {
     return 0;
   }
-
+  
   public int compareTo(TabletStats other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
-
+    
     int lastComparison = 0;
-    TabletStats typedOther = (TabletStats)other;
-
+    TabletStats typedOther = (TabletStats) other;
+    
     lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent());
     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;
       }
@@ -639,7 +622,8 @@ public class TabletStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetMajor()) {      lastComparison = TBaseHelper.compareTo(this.major, typedOther.major);
+    if (isSetMajor()) {
+      lastComparison = TBaseHelper.compareTo(this.major, typedOther.major);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -648,7 +632,8 @@ public class TabletStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetMinor()) {      lastComparison = TBaseHelper.compareTo(this.minor, typedOther.minor);
+    if (isSetMinor()) {
+      lastComparison = TBaseHelper.compareTo(this.minor, typedOther.minor);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -657,7 +642,8 @@ public class TabletStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetSplit()) {      lastComparison = TBaseHelper.compareTo(this.split, typedOther.split);
+    if (isSetSplit()) {
+      lastComparison = TBaseHelper.compareTo(this.split, typedOther.split);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -666,7 +652,8 @@ public class TabletStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetNumEntries()) {      lastComparison = TBaseHelper.compareTo(this.numEntries, typedOther.numEntries);
+    if (isSetNumEntries()) {
+      lastComparison = TBaseHelper.compareTo(this.numEntries, typedOther.numEntries);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -675,7 +662,8 @@ public class TabletStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetIngestRate()) {      lastComparison = TBaseHelper.compareTo(this.ingestRate, typedOther.ingestRate);
+    if (isSetIngestRate()) {
+      lastComparison = TBaseHelper.compareTo(this.ingestRate, typedOther.ingestRate);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -684,7 +672,8 @@ public class TabletStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetQueryRate()) {      lastComparison = TBaseHelper.compareTo(this.queryRate, typedOther.queryRate);
+    if (isSetQueryRate()) {
+      lastComparison = TBaseHelper.compareTo(this.queryRate, typedOther.queryRate);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -693,21 +682,21 @@ public class TabletStats implements TBas
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetSplitCreationTime()) {      lastComparison = TBaseHelper.compareTo(this.splitCreationTime, typedOther.splitCreationTime);
+    if (isSetSplitCreationTime()) {
+      lastComparison = TBaseHelper.compareTo(this.splitCreationTime, typedOther.splitCreationTime);
       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) {
@@ -715,7 +704,7 @@ public class TabletStats implements TBas
           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;
@@ -723,7 +712,7 @@ public class TabletStats implements TBas
           if (field.type == TType.STRUCT) {
             this.major = new ActionStats();
             this.major.read(iprot);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -731,7 +720,7 @@ public class TabletStats implements TBas
           if (field.type == TType.STRUCT) {
             this.minor = new ActionStats();
             this.minor.read(iprot);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -739,7 +728,7 @@ public class TabletStats implements TBas
           if (field.type == TType.STRUCT) {
             this.split = new ActionStats();
             this.split.read(iprot);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -747,7 +736,7 @@ public class TabletStats implements TBas
           if (field.type == TType.I64) {
             this.numEntries = iprot.readI64();
             setNumEntriesIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -755,7 +744,7 @@ public class TabletStats implements TBas
           if (field.type == TType.DOUBLE) {
             this.ingestRate = iprot.readDouble();
             setIngestRateIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -763,7 +752,7 @@ public class TabletStats implements TBas
           if (field.type == TType.DOUBLE) {
             this.queryRate = iprot.readDouble();
             setQueryRateIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -771,7 +760,7 @@ public class TabletStats implements TBas
           if (field.type == TType.I64) {
             this.splitCreationTime = iprot.readI64();
             setSplitCreationTimeIsSet(true);
-          } else { 
+          } else {
             TProtocolUtil.skip(iprot, field.type);
           }
           break;
@@ -781,14 +770,14 @@ public class TabletStats 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);
     if (this.extent != null) {
       oprot.writeFieldBegin(EXTENT_FIELD_DESC);
@@ -825,7 +814,7 @@ public class TabletStats implements TBas
     oprot.writeFieldStop();
     oprot.writeStructEnd();
   }
-
+  
   @Override
   public String toString() {
     StringBuilder sb = new StringBuilder("TabletStats(");
@@ -871,10 +860,9 @@ public class TabletStats 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/TestService.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TestService.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/TestService.java (original)
+++ incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TestService.java Thu Oct 27 15:24:51 2011
@@ -5,65 +5,61 @@
  */
 package org.apache.accumulo.core.tabletserver.thrift;
 
-
-
 import org.apache.thrift.*;
 import org.apache.thrift.meta_data.*;
 import org.apache.thrift.protocol.*;
 
 public class TestService {
-
+  
   public interface Iface {
-
-    public void setTimeOffset(org.apache.accumulo.core.security.thrift.AuthInfo credentials, long millis) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, TException;
-
+    
+    public void setTimeOffset(org.apache.accumulo.core.security.thrift.AuthInfo credentials, long millis)
+        throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, TException;
+    
   }
-
+  
   public static class Client implements TServiceClient, Iface {
     public static class Factory implements TServiceClientFactory<Client> {
       public Factory() {}
+      
       public Client getClient(TProtocol prot) {
         return new Client(prot);
       }
+      
       public Client getClient(TProtocol iprot, TProtocol oprot) {
         return new Client(iprot, oprot);
       }
     }
-
-    public Client(TProtocol prot)
-    {
+    
+    public Client(TProtocol prot) {
       this(prot, prot);
     }
-
-    public Client(TProtocol iprot, TProtocol oprot)
-    {
+    
+    public Client(TProtocol iprot, TProtocol oprot) {
       iprot_ = iprot;
       oprot_ = oprot;
     }
-
+    
     protected TProtocol iprot_;
     protected TProtocol oprot_;
-
+    
     protected int seqid_;
-
-    public TProtocol getInputProtocol()
-    {
+    
+    public TProtocol getInputProtocol() {
       return this.iprot_;
     }
-
-    public TProtocol getOutputProtocol()
-    {
+    
+    public TProtocol getOutputProtocol() {
       return this.oprot_;
     }
-
-    public void setTimeOffset(org.apache.accumulo.core.security.thrift.AuthInfo credentials, long millis) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, TException
-    {
+    
+    public void setTimeOffset(org.apache.accumulo.core.security.thrift.AuthInfo credentials, long millis)
+        throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, TException {
       send_setTimeOffset(credentials, millis);
       recv_setTimeOffset();
     }
-
-    public void send_setTimeOffset(org.apache.accumulo.core.security.thrift.AuthInfo credentials, long millis) throws TException
-    {
+    
+    public void send_setTimeOffset(org.apache.accumulo.core.security.thrift.AuthInfo credentials, long millis) throws TException {
       oprot_.writeMessageBegin(new TMessage("setTimeOffset", TMessageType.CALL, ++seqid_));
       setTimeOffset_args args = new setTimeOffset_args();
       args.setCredentials(credentials);
@@ -72,9 +68,8 @@ public class TestService {
       oprot_.writeMessageEnd();
       oprot_.getTransport().flush();
     }
-
-    public void recv_setTimeOffset() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, TException
-    {
+    
+    public void recv_setTimeOffset() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, TException {
       TMessage msg = iprot_.readMessageBegin();
       if (msg.type == TMessageType.EXCEPTION) {
         TApplicationException x = TApplicationException.read(iprot_);
@@ -92,31 +87,31 @@ public class TestService {
       }
       return;
     }
-
+    
   }
+  
   public static class Processor implements TProcessor {
     private static final org.slf4j.Logger LOGGER = org.slf4j.LoggerFactory.getLogger(Processor.class.getName());
-    public Processor(Iface iface)
-    {
+    
+    public Processor(Iface iface) {
       iface_ = iface;
       processMap_.put("setTimeOffset", new setTimeOffset());
     }
-
+    
     protected static interface ProcessFunction {
       public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException;
     }
-
+    
     private Iface iface_;
     protected final java.util.HashMap<String,ProcessFunction> processMap_ = new java.util.HashMap<String,ProcessFunction>();
-
-    public boolean process(TProtocol iprot, TProtocol oprot) throws TException
-    {
+    
+    public boolean process(TProtocol iprot, TProtocol oprot) throws TException {
       TMessage msg = iprot.readMessageBegin();
       ProcessFunction fn = processMap_.get(msg.name);
       if (fn == null) {
         TProtocolUtil.skip(iprot, TType.STRUCT);
         iprot.readMessageEnd();
-        TApplicationException x = new TApplicationException(TApplicationException.UNKNOWN_METHOD, "Invalid method name: '"+msg.name+"'");
+        TApplicationException x = new TApplicationException(TApplicationException.UNKNOWN_METHOD, "Invalid method name: '" + msg.name + "'");
         oprot.writeMessageBegin(new TMessage(msg.name, TMessageType.EXCEPTION, msg.seqid));
         x.write(oprot);
         oprot.writeMessageEnd();
@@ -126,10 +121,9 @@ public class TestService {
       fn.process(msg.seqid, iprot, oprot);
       return true;
     }
-
+    
     private class setTimeOffset implements ProcessFunction {
-      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
-      {
+      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
         setTimeOffset_args args = new setTimeOffset_args();
         try {
           args.read(iprot);
@@ -162,39 +156,38 @@ public class TestService {
         oprot.writeMessageEnd();
         oprot.getTransport().flush();
       }
-
+      
     }
-
+    
   }
-
+  
   @SuppressWarnings("serial")
-  public static class setTimeOffset_args implements TBase<setTimeOffset_args, setTimeOffset_args._Fields>, java.io.Serializable, Cloneable   {
+  public static class setTimeOffset_args implements TBase<setTimeOffset_args,setTimeOffset_args._Fields>, java.io.Serializable, Cloneable {
     private static final TStruct STRUCT_DESC = new TStruct("setTimeOffset_args");
-
-    private static final TField CREDENTIALS_FIELD_DESC = new TField("credentials", TType.STRUCT, (short)1);
-    private static final TField MILLIS_FIELD_DESC = new TField("millis", TType.I64, (short)2);
-
+    
+    private static final TField CREDENTIALS_FIELD_DESC = new TField("credentials", TType.STRUCT, (short) 1);
+    private static final TField MILLIS_FIELD_DESC = new TField("millis", TType.I64, (short) 2);
+    
     public org.apache.accumulo.core.security.thrift.AuthInfo credentials;
     public long millis;
-
+    
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements TFieldIdEnum {
-      CREDENTIALS((short)1, "credentials"),
-      MILLIS((short)2, "millis");
-
-      private static final java.util.Map<String, _Fields> byName = new java.util.HashMap<String, _Fields>();
-
+      CREDENTIALS((short) 1, "credentials"), MILLIS((short) 2, "millis");
+      
+      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: // CREDENTIALS
             return CREDENTIALS;
           case 2: // MILLIS
@@ -203,69 +196,64 @@ public class TestService {
             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 __MILLIS_ISSET_ID = 0;
     private java.util.BitSet __isset_bit_vector = new java.util.BitSet(1);
-
-    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.CREDENTIALS, new FieldMetaData("credentials", TFieldRequirementType.DEFAULT, 
-          new StructMetaData(TType.STRUCT, org.apache.accumulo.core.security.thrift.AuthInfo.class)));
-      tmpMap.put(_Fields.MILLIS, new FieldMetaData("millis", TFieldRequirementType.DEFAULT, 
-          new FieldValueMetaData(TType.I64)));
+      java.util.Map<_Fields,FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,FieldMetaData>(_Fields.class);
+      tmpMap.put(_Fields.CREDENTIALS, new FieldMetaData("credentials", TFieldRequirementType.DEFAULT, new StructMetaData(TType.STRUCT,
+          org.apache.accumulo.core.security.thrift.AuthInfo.class)));
+      tmpMap.put(_Fields.MILLIS, new FieldMetaData("millis", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.I64)));
       metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
       FieldMetaData.addStructMetaDataMap(setTimeOffset_args.class, metaDataMap);
     }
-
-    public setTimeOffset_args() {
-    }
-
-    public setTimeOffset_args(
-      org.apache.accumulo.core.security.thrift.AuthInfo credentials,
-      long millis)
-    {
+    
+    public setTimeOffset_args() {}
+    
+    public setTimeOffset_args(org.apache.accumulo.core.security.thrift.AuthInfo credentials, long millis) {
       this();
       this.credentials = credentials;
       this.millis = millis;
       setMillisIsSet(true);
     }
-
+    
     /**
      * Performs a deep copy on <i>other</i>.
      */
@@ -277,132 +265,132 @@ public class TestService {
       }
       this.millis = other.millis;
     }
-
+    
     public setTimeOffset_args deepCopy() {
       return new setTimeOffset_args(this);
     }
-
+    
     @Deprecated
     public setTimeOffset_args clone() {
       return new setTimeOffset_args(this);
     }
-
+    
     public org.apache.accumulo.core.security.thrift.AuthInfo getCredentials() {
       return this.credentials;
     }
-
+    
     public setTimeOffset_args setCredentials(org.apache.accumulo.core.security.thrift.AuthInfo credentials) {
       this.credentials = credentials;
       return this;
     }
-
+    
     public void unsetCredentials() {
       this.credentials = null;
     }
-
+    
     /** Returns true if field credentials is set (has been asigned a value) and false otherwise */
     public boolean isSetCredentials() {
       return this.credentials != null;
     }
-
+    
     public void setCredentialsIsSet(boolean value) {
       if (!value) {
         this.credentials = null;
       }
     }
-
+    
     public long getMillis() {
       return this.millis;
     }
-
+    
     public setTimeOffset_args setMillis(long millis) {
       this.millis = millis;
       setMillisIsSet(true);
       return this;
     }
-
+    
     public void unsetMillis() {
       __isset_bit_vector.clear(__MILLIS_ISSET_ID);
     }
-
+    
     /** Returns true if field millis is set (has been asigned a value) and false otherwise */
     public boolean isSetMillis() {
       return __isset_bit_vector.get(__MILLIS_ISSET_ID);
     }
-
+    
     public void setMillisIsSet(boolean value) {
       __isset_bit_vector.set(__MILLIS_ISSET_ID, value);
     }
-
+    
     public void setFieldValue(_Fields field, Object value) {
       switch (field) {
-      case CREDENTIALS:
-        if (value == null) {
-          unsetCredentials();
-        } else {
-          setCredentials((org.apache.accumulo.core.security.thrift.AuthInfo)value);
-        }
-        break;
-
-      case MILLIS:
-        if (value == null) {
-          unsetMillis();
-        } else {
-          setMillis((Long)value);
-        }
-        break;
-
+        case CREDENTIALS:
+          if (value == null) {
+            unsetCredentials();
+          } else {
+            setCredentials((org.apache.accumulo.core.security.thrift.AuthInfo) value);
+          }
+          break;
+        
+        case MILLIS:
+          if (value == null) {
+            unsetMillis();
+          } else {
+            setMillis((Long) value);
+          }
+          break;
+      
       }
     }
-
+    
     public void setFieldValue(int fieldID, Object value) {
       setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
     }
-
+    
     public Object getFieldValue(_Fields field) {
       switch (field) {
-      case CREDENTIALS:
-        return getCredentials();
-
-      case MILLIS:
-        return new Long(getMillis());
-
+        case CREDENTIALS:
+          return getCredentials();
+          
+        case MILLIS:
+          return new Long(getMillis());
+          
       }
       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 CREDENTIALS:
-        return isSetCredentials();
-      case MILLIS:
-        return isSetMillis();
+        case CREDENTIALS:
+          return isSetCredentials();
+        case MILLIS:
+          return isSetMillis();
       }
       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 setTimeOffset_args)
-        return this.equals((setTimeOffset_args)that);
+        return this.equals((setTimeOffset_args) that);
       return false;
     }
-
+    
     public boolean equals(setTimeOffset_args that) {
       if (that == null)
         return false;
-
+      
       boolean this_present_credentials = true && this.isSetCredentials();
       boolean that_present_credentials = true && that.isSetCredentials();
       if (this_present_credentials || that_present_credentials) {
@@ -411,7 +399,7 @@ public class TestService {
         if (!this.credentials.equals(that.credentials))
           return false;
       }
-
+      
       boolean this_present_millis = true;
       boolean that_present_millis = true;
       if (this_present_millis || that_present_millis) {
@@ -420,28 +408,29 @@ public class TestService {
         if (this.millis != that.millis)
           return false;
       }
-
+      
       return true;
     }
-
+    
     @Override
     public int hashCode() {
       return 0;
     }
-
+    
     public int compareTo(setTimeOffset_args other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
-
+      
       int lastComparison = 0;
-      setTimeOffset_args typedOther = (setTimeOffset_args)other;
-
+      setTimeOffset_args typedOther = (setTimeOffset_args) other;
+      
       lastComparison = Boolean.valueOf(isSetCredentials()).compareTo(typedOther.isSetCredentials());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetCredentials()) {        lastComparison = TBaseHelper.compareTo(this.credentials, typedOther.credentials);
+      if (isSetCredentials()) {
+        lastComparison = TBaseHelper.compareTo(this.credentials, typedOther.credentials);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -450,21 +439,21 @@ public class TestService {
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetMillis()) {        lastComparison = TBaseHelper.compareTo(this.millis, typedOther.millis);
+      if (isSetMillis()) {
+        lastComparison = TBaseHelper.compareTo(this.millis, typedOther.millis);
         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) {
@@ -472,7 +461,7 @@ public class TestService {
             if (field.type == TType.STRUCT) {
               this.credentials = new org.apache.accumulo.core.security.thrift.AuthInfo();
               this.credentials.read(iprot);
-            } else { 
+            } else {
               TProtocolUtil.skip(iprot, field.type);
             }
             break;
@@ -480,7 +469,7 @@ public class TestService {
             if (field.type == TType.I64) {
               this.millis = iprot.readI64();
               setMillisIsSet(true);
-            } else { 
+            } else {
               TProtocolUtil.skip(iprot, field.type);
             }
             break;
@@ -490,14 +479,14 @@ public class TestService {
         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.credentials != null) {
         oprot.writeFieldBegin(CREDENTIALS_FIELD_DESC);
@@ -510,7 +499,7 @@ public class TestService {
       oprot.writeFieldStop();
       oprot.writeStructEnd();
     }
-
+    
     @Override
     public String toString() {
       StringBuilder sb = new StringBuilder("setTimeOffset_args(");
@@ -526,100 +515,96 @@ public class TestService {
       sb.append(")");
       return sb.toString();
     }
-
+    
     public void validate() throws TException {
       // check for required fields
     }
-
+    
   }
-
+  
   @SuppressWarnings("serial")
-  public static class setTimeOffset_result implements TBase<setTimeOffset_result, setTimeOffset_result._Fields>, java.io.Serializable, Cloneable   {
+  public static class setTimeOffset_result implements TBase<setTimeOffset_result,setTimeOffset_result._Fields>, java.io.Serializable, Cloneable {
     private static final TStruct STRUCT_DESC = new TStruct("setTimeOffset_result");
-
-    private static final TField SEC_FIELD_DESC = new TField("sec", TType.STRUCT, (short)1);
-
+    
+    private static final TField SEC_FIELD_DESC = new TField("sec", TType.STRUCT, (short) 1);
+    
     public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec;
-
+    
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements TFieldIdEnum {
-      SEC((short)1, "sec");
-
-      private static final java.util.Map<String, _Fields> byName = new java.util.HashMap<String, _Fields>();
-
+      SEC((short) 1, "sec");
+      
+      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: // SEC
             return SEC;
           default:
             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.SEC, new FieldMetaData("sec", TFieldRequirementType.DEFAULT, 
-          new FieldValueMetaData(TType.STRUCT)));
+      java.util.Map<_Fields,FieldMetaData> tmpMap = new java.util.EnumMap<_Fields,FieldMetaData>(_Fields.class);
+      tmpMap.put(_Fields.SEC, new FieldMetaData("sec", TFieldRequirementType.DEFAULT, new FieldValueMetaData(TType.STRUCT)));
       metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
       FieldMetaData.addStructMetaDataMap(setTimeOffset_result.class, metaDataMap);
     }
-
-    public setTimeOffset_result() {
-    }
-
-    public setTimeOffset_result(
-      org.apache.accumulo.core.security.thrift.ThriftSecurityException sec)
-    {
+    
+    public setTimeOffset_result() {}
+    
+    public setTimeOffset_result(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
       this();
       this.sec = sec;
     }
-
+    
     /**
      * Performs a deep copy on <i>other</i>.
      */
@@ -628,96 +613,96 @@ public class TestService {
         this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(other.sec);
       }
     }
-
+    
     public setTimeOffset_result deepCopy() {
       return new setTimeOffset_result(this);
     }
-
+    
     @Deprecated
     public setTimeOffset_result clone() {
       return new setTimeOffset_result(this);
     }
-
+    
     public org.apache.accumulo.core.security.thrift.ThriftSecurityException getSec() {
       return this.sec;
     }
-
+    
     public setTimeOffset_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) {
       this.sec = sec;
       return this;
     }
-
+    
     public void unsetSec() {
       this.sec = null;
     }
-
+    
     /** Returns true if field sec is set (has been asigned a value) and false otherwise */
     public boolean isSetSec() {
       return this.sec != null;
     }
-
+    
     public void setSecIsSet(boolean value) {
       if (!value) {
         this.sec = null;
       }
     }
-
+    
     public void setFieldValue(_Fields field, Object value) {
       switch (field) {
-      case SEC:
-        if (value == null) {
-          unsetSec();
-        } else {
-          setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value);
-        }
-        break;
-
+        case SEC:
+          if (value == null) {
+            unsetSec();
+          } else {
+            setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException) value);
+          }
+          break;
+      
       }
     }
-
+    
     public void setFieldValue(int fieldID, Object value) {
       setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
     }
-
+    
     public Object getFieldValue(_Fields field) {
       switch (field) {
-      case SEC:
-        return getSec();
-
+        case SEC:
+          return getSec();
+          
       }
       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 SEC:
-        return isSetSec();
+        case SEC:
+          return isSetSec();
       }
       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 setTimeOffset_result)
-        return this.equals((setTimeOffset_result)that);
+        return this.equals((setTimeOffset_result) that);
       return false;
     }
-
+    
     public boolean equals(setTimeOffset_result that) {
       if (that == null)
         return false;
-
+      
       boolean this_present_sec = true && this.isSetSec();
       boolean that_present_sec = true && that.isSetSec();
       if (this_present_sec || that_present_sec) {
@@ -726,42 +711,42 @@ public class TestService {
         if (!this.sec.equals(that.sec))
           return false;
       }
-
+      
       return true;
     }
-
+    
     @Override
     public int hashCode() {
       return 0;
     }
-
+    
     public int compareTo(setTimeOffset_result other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
-
+      
       int lastComparison = 0;
-      setTimeOffset_result typedOther = (setTimeOffset_result)other;
-
+      setTimeOffset_result typedOther = (setTimeOffset_result) other;
+      
       lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetSec()) {        lastComparison = TBaseHelper.compareTo(this.sec, typedOther.sec);
+      if (isSetSec()) {
+        lastComparison = TBaseHelper.compareTo(this.sec, typedOther.sec);
         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) {
@@ -769,7 +754,7 @@ public class TestService {
             if (field.type == TType.STRUCT) {
               this.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException();
               this.sec.read(iprot);
-            } else { 
+            } else {
               TProtocolUtil.skip(iprot, field.type);
             }
             break;
@@ -779,14 +764,14 @@ public class TestService {
         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 {
       oprot.writeStructBegin(STRUCT_DESC);
-
+      
       if (this.isSetSec()) {
         oprot.writeFieldBegin(SEC_FIELD_DESC);
         this.sec.write(oprot);
@@ -795,7 +780,7 @@ public class TestService {
       oprot.writeFieldStop();
       oprot.writeStructEnd();
     }
-
+    
     @Override
     public String toString() {
       StringBuilder sb = new StringBuilder("setTimeOffset_result(");
@@ -808,11 +793,11 @@ public class TestService {
       sb.append(")");
       return sb.toString();
     }
-
+    
     public void validate() throws TException {
       // check for required fields
     }
-
+    
   }
-
+  
 }



Mime
View raw message