incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [03/10] First commit for highlighting, I had to cleanup the types and field creation to have the indexex be setup correctly for highlighting.
Date Thu, 06 Jun 2013 03:00:12 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/7bbf19d8/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Selector.java
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Selector.java b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Selector.java
index 231102f..90da051 100644
--- a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Selector.java
+++ b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Selector.java
@@ -64,6 +64,7 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField ALLOW_STALE_DATA_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("allowStaleData", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL, (short)7);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField START_RECORD_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("startRecord", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I32, (short)8);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField MAX_RECORDS_TO_FETCH_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("maxRecordsToFetch", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I32, (short)9);
+  private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField HIGHLIGHT_OPTIONS_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("highlightOptions", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, (short)10);
 
   private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
   static {
@@ -114,6 +115,10 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
    * records in the row, be careful.
    */
   public int maxRecordsToFetch; // required
+  /**
+   * The HighlightOptions object controls how the data is highlighted.  If null no highlighting will occur.
+   */
+  public HighlightOptions highlightOptions; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
@@ -159,7 +164,11 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
      * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch all the
      * records in the row, be careful.
      */
-    MAX_RECORDS_TO_FETCH((short)9, "maxRecordsToFetch");
+    MAX_RECORDS_TO_FETCH((short)9, "maxRecordsToFetch"),
+    /**
+     * The HighlightOptions object controls how the data is highlighted.  If null no highlighting will occur.
+     */
+    HIGHLIGHT_OPTIONS((short)10, "highlightOptions");
 
     private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -192,6 +201,8 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
           return START_RECORD;
         case 9: // MAX_RECORDS_TO_FETCH
           return MAX_RECORDS_TO_FETCH;
+        case 10: // HIGHLIGHT_OPTIONS
+          return HIGHLIGHT_OPTIONS;
         default:
           return null;
       }
@@ -262,6 +273,8 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I32)));
     tmpMap.put(_Fields.MAX_RECORDS_TO_FETCH, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("maxRecordsToFetch", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I32)));
+    tmpMap.put(_Fields.HIGHLIGHT_OPTIONS, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("highlightOptions", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
+        new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.StructMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, HighlightOptions.class)));
     metaDataMap = Collections.unmodifiableMap(tmpMap);
     org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(Selector.class, metaDataMap);
   }
@@ -282,7 +295,8 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
     Map<String,Set<String>> columnsToFetch,
     boolean allowStaleData,
     int startRecord,
-    int maxRecordsToFetch)
+    int maxRecordsToFetch,
+    HighlightOptions highlightOptions)
   {
     this();
     this.recordOnly = recordOnly;
@@ -298,6 +312,7 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
     setStartRecordIsSet(true);
     this.maxRecordsToFetch = maxRecordsToFetch;
     setMaxRecordsToFetchIsSet(true);
+    this.highlightOptions = highlightOptions;
   }
 
   /**
@@ -343,6 +358,9 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
     this.allowStaleData = other.allowStaleData;
     this.startRecord = other.startRecord;
     this.maxRecordsToFetch = other.maxRecordsToFetch;
+    if (other.isSetHighlightOptions()) {
+      this.highlightOptions = new HighlightOptions(other.highlightOptions);
+    }
   }
 
   public Selector deepCopy() {
@@ -364,6 +382,7 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
 
     this.maxRecordsToFetch = 2147483647;
 
+    this.highlightOptions = null;
   }
 
   /**
@@ -672,6 +691,36 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
     __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAXRECORDSTOFETCH_ISSET_ID, value);
   }
 
+  /**
+   * The HighlightOptions object controls how the data is highlighted.  If null no highlighting will occur.
+   */
+  public HighlightOptions getHighlightOptions() {
+    return this.highlightOptions;
+  }
+
+  /**
+   * The HighlightOptions object controls how the data is highlighted.  If null no highlighting will occur.
+   */
+  public Selector setHighlightOptions(HighlightOptions highlightOptions) {
+    this.highlightOptions = highlightOptions;
+    return this;
+  }
+
+  public void unsetHighlightOptions() {
+    this.highlightOptions = null;
+  }
+
+  /** Returns true if field highlightOptions is set (has been assigned a value) and false otherwise */
+  public boolean isSetHighlightOptions() {
+    return this.highlightOptions != null;
+  }
+
+  public void setHighlightOptionsIsSet(boolean value) {
+    if (!value) {
+      this.highlightOptions = null;
+    }
+  }
+
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
     case RECORD_ONLY:
@@ -746,6 +795,14 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
       }
       break;
 
+    case HIGHLIGHT_OPTIONS:
+      if (value == null) {
+        unsetHighlightOptions();
+      } else {
+        setHighlightOptions((HighlightOptions)value);
+      }
+      break;
+
     }
   }
 
@@ -778,6 +835,9 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
     case MAX_RECORDS_TO_FETCH:
       return Integer.valueOf(getMaxRecordsToFetch());
 
+    case HIGHLIGHT_OPTIONS:
+      return getHighlightOptions();
+
     }
     throw new IllegalStateException();
   }
@@ -807,6 +867,8 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
       return isSetStartRecord();
     case MAX_RECORDS_TO_FETCH:
       return isSetMaxRecordsToFetch();
+    case HIGHLIGHT_OPTIONS:
+      return isSetHighlightOptions();
     }
     throw new IllegalStateException();
   }
@@ -905,6 +967,15 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
         return false;
     }
 
+    boolean this_present_highlightOptions = true && this.isSetHighlightOptions();
+    boolean that_present_highlightOptions = true && that.isSetHighlightOptions();
+    if (this_present_highlightOptions || that_present_highlightOptions) {
+      if (!(this_present_highlightOptions && that_present_highlightOptions))
+        return false;
+      if (!this.highlightOptions.equals(that.highlightOptions))
+        return false;
+    }
+
     return true;
   }
 
@@ -1011,6 +1082,16 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
         return lastComparison;
       }
     }
+    lastComparison = Boolean.valueOf(isSetHighlightOptions()).compareTo(typedOther.isSetHighlightOptions());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetHighlightOptions()) {
+      lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.highlightOptions, typedOther.highlightOptions);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
     return 0;
   }
 
@@ -1086,6 +1167,14 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
     sb.append("maxRecordsToFetch:");
     sb.append(this.maxRecordsToFetch);
     first = false;
+    if (!first) sb.append(", ");
+    sb.append("highlightOptions:");
+    if (this.highlightOptions == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.highlightOptions);
+    }
+    first = false;
     sb.append(")");
     return sb.toString();
   }
@@ -1093,6 +1182,9 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
   public void validate() throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
     // check for required fields
     // check for sub-struct validity
+    if (highlightOptions != null) {
+      highlightOptions.validate();
+    }
   }
 
   private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -1166,13 +1258,13 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
           case 5: // COLUMN_FAMILIES_TO_FETCH
             if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.SET) {
               {
-                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set16 = iprot.readSetBegin();
-                struct.columnFamiliesToFetch = new HashSet<String>(2*_set16.size);
-                for (int _i17 = 0; _i17 < _set16.size; ++_i17)
+                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set24 = iprot.readSetBegin();
+                struct.columnFamiliesToFetch = new HashSet<String>(2*_set24.size);
+                for (int _i25 = 0; _i25 < _set24.size; ++_i25)
                 {
-                  String _elem18; // required
-                  _elem18 = iprot.readString();
-                  struct.columnFamiliesToFetch.add(_elem18);
+                  String _elem26; // required
+                  _elem26 = iprot.readString();
+                  struct.columnFamiliesToFetch.add(_elem26);
                 }
                 iprot.readSetEnd();
               }
@@ -1184,25 +1276,25 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
           case 6: // COLUMNS_TO_FETCH
             if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.MAP) {
               {
-                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map19 = iprot.readMapBegin();
-                struct.columnsToFetch = new HashMap<String,Set<String>>(2*_map19.size);
-                for (int _i20 = 0; _i20 < _map19.size; ++_i20)
+                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map27 = iprot.readMapBegin();
+                struct.columnsToFetch = new HashMap<String,Set<String>>(2*_map27.size);
+                for (int _i28 = 0; _i28 < _map27.size; ++_i28)
                 {
-                  String _key21; // required
-                  Set<String> _val22; // optional
-                  _key21 = iprot.readString();
+                  String _key29; // required
+                  Set<String> _val30; // optional
+                  _key29 = iprot.readString();
                   {
-                    org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set23 = iprot.readSetBegin();
-                    _val22 = new HashSet<String>(2*_set23.size);
-                    for (int _i24 = 0; _i24 < _set23.size; ++_i24)
+                    org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set31 = iprot.readSetBegin();
+                    _val30 = new HashSet<String>(2*_set31.size);
+                    for (int _i32 = 0; _i32 < _set31.size; ++_i32)
                     {
-                      String _elem25; // required
-                      _elem25 = iprot.readString();
-                      _val22.add(_elem25);
+                      String _elem33; // required
+                      _elem33 = iprot.readString();
+                      _val30.add(_elem33);
                     }
                     iprot.readSetEnd();
                   }
-                  struct.columnsToFetch.put(_key21, _val22);
+                  struct.columnsToFetch.put(_key29, _val30);
                 }
                 iprot.readMapEnd();
               }
@@ -1235,6 +1327,15 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
               org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
             }
             break;
+          case 10: // HIGHLIGHT_OPTIONS
+            if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT) {
+              struct.highlightOptions = new HighlightOptions();
+              struct.highlightOptions.read(iprot);
+              struct.setHighlightOptionsIsSet(true);
+            } else { 
+              org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
           default:
             org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
         }
@@ -1272,9 +1373,9 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
         oprot.writeFieldBegin(COLUMN_FAMILIES_TO_FETCH_FIELD_DESC);
         {
           oprot.writeSetBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.columnFamiliesToFetch.size()));
-          for (String _iter26 : struct.columnFamiliesToFetch)
+          for (String _iter34 : struct.columnFamiliesToFetch)
           {
-            oprot.writeString(_iter26);
+            oprot.writeString(_iter34);
           }
           oprot.writeSetEnd();
         }
@@ -1284,14 +1385,14 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
         oprot.writeFieldBegin(COLUMNS_TO_FETCH_FIELD_DESC);
         {
           oprot.writeMapBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.SET, struct.columnsToFetch.size()));
-          for (Map.Entry<String, Set<String>> _iter27 : struct.columnsToFetch.entrySet())
+          for (Map.Entry<String, Set<String>> _iter35 : struct.columnsToFetch.entrySet())
           {
-            oprot.writeString(_iter27.getKey());
+            oprot.writeString(_iter35.getKey());
             {
-              oprot.writeSetBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, _iter27.getValue().size()));
-              for (String _iter28 : _iter27.getValue())
+              oprot.writeSetBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, _iter35.getValue().size()));
+              for (String _iter36 : _iter35.getValue())
               {
-                oprot.writeString(_iter28);
+                oprot.writeString(_iter36);
               }
               oprot.writeSetEnd();
             }
@@ -1309,6 +1410,11 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
       oprot.writeFieldBegin(MAX_RECORDS_TO_FETCH_FIELD_DESC);
       oprot.writeI32(struct.maxRecordsToFetch);
       oprot.writeFieldEnd();
+      if (struct.highlightOptions != null) {
+        oprot.writeFieldBegin(HIGHLIGHT_OPTIONS_FIELD_DESC);
+        struct.highlightOptions.write(oprot);
+        oprot.writeFieldEnd();
+      }
       oprot.writeFieldStop();
       oprot.writeStructEnd();
     }
@@ -1354,7 +1460,10 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
       if (struct.isSetMaxRecordsToFetch()) {
         optionals.set(8);
       }
-      oprot.writeBitSet(optionals, 9);
+      if (struct.isSetHighlightOptions()) {
+        optionals.set(9);
+      }
+      oprot.writeBitSet(optionals, 10);
       if (struct.isSetRecordOnly()) {
         oprot.writeBool(struct.recordOnly);
       }
@@ -1370,23 +1479,23 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
       if (struct.isSetColumnFamiliesToFetch()) {
         {
           oprot.writeI32(struct.columnFamiliesToFetch.size());
-          for (String _iter29 : struct.columnFamiliesToFetch)
+          for (String _iter37 : struct.columnFamiliesToFetch)
           {
-            oprot.writeString(_iter29);
+            oprot.writeString(_iter37);
           }
         }
       }
       if (struct.isSetColumnsToFetch()) {
         {
           oprot.writeI32(struct.columnsToFetch.size());
-          for (Map.Entry<String, Set<String>> _iter30 : struct.columnsToFetch.entrySet())
+          for (Map.Entry<String, Set<String>> _iter38 : struct.columnsToFetch.entrySet())
           {
-            oprot.writeString(_iter30.getKey());
+            oprot.writeString(_iter38.getKey());
             {
-              oprot.writeI32(_iter30.getValue().size());
-              for (String _iter31 : _iter30.getValue())
+              oprot.writeI32(_iter38.getValue().size());
+              for (String _iter39 : _iter38.getValue())
               {
-                oprot.writeString(_iter31);
+                oprot.writeString(_iter39);
               }
             }
           }
@@ -1401,12 +1510,15 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
       if (struct.isSetMaxRecordsToFetch()) {
         oprot.writeI32(struct.maxRecordsToFetch);
       }
+      if (struct.isSetHighlightOptions()) {
+        struct.highlightOptions.write(oprot);
+      }
     }
 
     @Override
     public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, Selector struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(9);
+      BitSet incoming = iprot.readBitSet(10);
       if (incoming.get(0)) {
         struct.recordOnly = iprot.readBool();
         struct.setRecordOnlyIsSet(true);
@@ -1425,37 +1537,37 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
       }
       if (incoming.get(4)) {
         {
-          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set32 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-          struct.columnFamiliesToFetch = new HashSet<String>(2*_set32.size);
-          for (int _i33 = 0; _i33 < _set32.size; ++_i33)
+          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set40 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+          struct.columnFamiliesToFetch = new HashSet<String>(2*_set40.size);
+          for (int _i41 = 0; _i41 < _set40.size; ++_i41)
           {
-            String _elem34; // required
-            _elem34 = iprot.readString();
-            struct.columnFamiliesToFetch.add(_elem34);
+            String _elem42; // required
+            _elem42 = iprot.readString();
+            struct.columnFamiliesToFetch.add(_elem42);
           }
         }
         struct.setColumnFamiliesToFetchIsSet(true);
       }
       if (incoming.get(5)) {
         {
-          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map35 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.SET, iprot.readI32());
-          struct.columnsToFetch = new HashMap<String,Set<String>>(2*_map35.size);
-          for (int _i36 = 0; _i36 < _map35.size; ++_i36)
+          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map43 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.SET, iprot.readI32());
+          struct.columnsToFetch = new HashMap<String,Set<String>>(2*_map43.size);
+          for (int _i44 = 0; _i44 < _map43.size; ++_i44)
           {
-            String _key37; // required
-            Set<String> _val38; // optional
-            _key37 = iprot.readString();
+            String _key45; // required
+            Set<String> _val46; // optional
+            _key45 = iprot.readString();
             {
-              org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set39 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-              _val38 = new HashSet<String>(2*_set39.size);
-              for (int _i40 = 0; _i40 < _set39.size; ++_i40)
+              org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set47 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+              _val46 = new HashSet<String>(2*_set47.size);
+              for (int _i48 = 0; _i48 < _set47.size; ++_i48)
               {
-                String _elem41; // required
-                _elem41 = iprot.readString();
-                _val38.add(_elem41);
+                String _elem49; // required
+                _elem49 = iprot.readString();
+                _val46.add(_elem49);
               }
             }
-            struct.columnsToFetch.put(_key37, _val38);
+            struct.columnsToFetch.put(_key45, _val46);
           }
         }
         struct.setColumnsToFetchIsSet(true);
@@ -1472,6 +1584,11 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
         struct.maxRecordsToFetch = iprot.readI32();
         struct.setMaxRecordsToFetchIsSet(true);
       }
+      if (incoming.get(9)) {
+        struct.highlightOptions = new HighlightOptions();
+        struct.highlightOptions.read(iprot);
+        struct.setHighlightOptionsIsSet(true);
+      }
     }
   }
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/7bbf19d8/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java
index 6d9b0e4..e87e120 100644
--- a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java
+++ b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java
@@ -1634,13 +1634,13 @@ public class TableDescriptor implements org.apache.blur.thirdparty.thrift_0_9_0.
           case 11: // BLOCK_CACHING_FILE_TYPES
             if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.SET) {
               {
-                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set158 = iprot.readSetBegin();
-                struct.blockCachingFileTypes = new HashSet<String>(2*_set158.size);
-                for (int _i159 = 0; _i159 < _set158.size; ++_i159)
+                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set166 = iprot.readSetBegin();
+                struct.blockCachingFileTypes = new HashSet<String>(2*_set166.size);
+                for (int _i167 = 0; _i167 < _set166.size; ++_i167)
                 {
-                  String _elem160; // required
-                  _elem160 = iprot.readString();
-                  struct.blockCachingFileTypes.add(_elem160);
+                  String _elem168; // required
+                  _elem168 = iprot.readString();
+                  struct.blockCachingFileTypes.add(_elem168);
                 }
                 iprot.readSetEnd();
               }
@@ -1669,15 +1669,15 @@ public class TableDescriptor implements org.apache.blur.thirdparty.thrift_0_9_0.
           case 14: // TABLE_PROPERTIES
             if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.MAP) {
               {
-                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map161 = iprot.readMapBegin();
-                struct.tableProperties = new HashMap<String,String>(2*_map161.size);
-                for (int _i162 = 0; _i162 < _map161.size; ++_i162)
+                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map169 = iprot.readMapBegin();
+                struct.tableProperties = new HashMap<String,String>(2*_map169.size);
+                for (int _i170 = 0; _i170 < _map169.size; ++_i170)
                 {
-                  String _key163; // required
-                  String _val164; // optional
-                  _key163 = iprot.readString();
-                  _val164 = iprot.readString();
-                  struct.tableProperties.put(_key163, _val164);
+                  String _key171; // required
+                  String _val172; // optional
+                  _key171 = iprot.readString();
+                  _val172 = iprot.readString();
+                  struct.tableProperties.put(_key171, _val172);
                 }
                 iprot.readMapEnd();
               }
@@ -1747,9 +1747,9 @@ public class TableDescriptor implements org.apache.blur.thirdparty.thrift_0_9_0.
         oprot.writeFieldBegin(BLOCK_CACHING_FILE_TYPES_FIELD_DESC);
         {
           oprot.writeSetBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.blockCachingFileTypes.size()));
-          for (String _iter165 : struct.blockCachingFileTypes)
+          for (String _iter173 : struct.blockCachingFileTypes)
           {
-            oprot.writeString(_iter165);
+            oprot.writeString(_iter173);
           }
           oprot.writeSetEnd();
         }
@@ -1767,10 +1767,10 @@ public class TableDescriptor implements org.apache.blur.thirdparty.thrift_0_9_0.
         oprot.writeFieldBegin(TABLE_PROPERTIES_FIELD_DESC);
         {
           oprot.writeMapBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.tableProperties.size()));
-          for (Map.Entry<String, String> _iter166 : struct.tableProperties.entrySet())
+          for (Map.Entry<String, String> _iter174 : struct.tableProperties.entrySet())
           {
-            oprot.writeString(_iter166.getKey());
-            oprot.writeString(_iter166.getValue());
+            oprot.writeString(_iter174.getKey());
+            oprot.writeString(_iter174.getValue());
           }
           oprot.writeMapEnd();
         }
@@ -1870,9 +1870,9 @@ public class TableDescriptor implements org.apache.blur.thirdparty.thrift_0_9_0.
       if (struct.isSetBlockCachingFileTypes()) {
         {
           oprot.writeI32(struct.blockCachingFileTypes.size());
-          for (String _iter167 : struct.blockCachingFileTypes)
+          for (String _iter175 : struct.blockCachingFileTypes)
           {
-            oprot.writeString(_iter167);
+            oprot.writeString(_iter175);
           }
         }
       }
@@ -1885,10 +1885,10 @@ public class TableDescriptor implements org.apache.blur.thirdparty.thrift_0_9_0.
       if (struct.isSetTableProperties()) {
         {
           oprot.writeI32(struct.tableProperties.size());
-          for (Map.Entry<String, String> _iter168 : struct.tableProperties.entrySet())
+          for (Map.Entry<String, String> _iter176 : struct.tableProperties.entrySet())
           {
-            oprot.writeString(_iter168.getKey());
-            oprot.writeString(_iter168.getValue());
+            oprot.writeString(_iter176.getKey());
+            oprot.writeString(_iter176.getValue());
           }
         }
       }
@@ -1941,13 +1941,13 @@ public class TableDescriptor implements org.apache.blur.thirdparty.thrift_0_9_0.
       }
       if (incoming.get(10)) {
         {
-          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set169 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-          struct.blockCachingFileTypes = new HashSet<String>(2*_set169.size);
-          for (int _i170 = 0; _i170 < _set169.size; ++_i170)
+          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set177 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+          struct.blockCachingFileTypes = new HashSet<String>(2*_set177.size);
+          for (int _i178 = 0; _i178 < _set177.size; ++_i178)
           {
-            String _elem171; // required
-            _elem171 = iprot.readString();
-            struct.blockCachingFileTypes.add(_elem171);
+            String _elem179; // required
+            _elem179 = iprot.readString();
+            struct.blockCachingFileTypes.add(_elem179);
           }
         }
         struct.setBlockCachingFileTypesIsSet(true);
@@ -1963,15 +1963,15 @@ public class TableDescriptor implements org.apache.blur.thirdparty.thrift_0_9_0.
       }
       if (incoming.get(13)) {
         {
-          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map172 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-          struct.tableProperties = new HashMap<String,String>(2*_map172.size);
-          for (int _i173 = 0; _i173 < _map172.size; ++_i173)
+          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map180 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+          struct.tableProperties = new HashMap<String,String>(2*_map180.size);
+          for (int _i181 = 0; _i181 < _map180.size; ++_i181)
           {
-            String _key174; // required
-            String _val175; // optional
-            _key174 = iprot.readString();
-            _val175 = iprot.readString();
-            struct.tableProperties.put(_key174, _val175);
+            String _key182; // required
+            String _val183; // optional
+            _key182 = iprot.readString();
+            _val183 = iprot.readString();
+            struct.tableProperties.put(_key182, _val183);
           }
         }
         struct.setTablePropertiesIsSet(true);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/7bbf19d8/src/distribution/src/main/scripts/interface/gen-js/Blur.js
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-js/Blur.js b/src/distribution/src/main/scripts/interface/gen-js/Blur.js
index cbffd65..d2a1162 100644
--- a/src/distribution/src/main/scripts/interface/gen-js/Blur.js
+++ b/src/distribution/src/main/scripts/interface/gen-js/Blur.js
@@ -67,18 +67,18 @@ Blur_shardClusterList_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.LIST) {
-        var _size176 = 0;
-        var _rtmp3180;
+        var _size184 = 0;
+        var _rtmp3188;
         this.success = [];
-        var _etype179 = 0;
-        _rtmp3180 = input.readListBegin();
-        _etype179 = _rtmp3180.etype;
-        _size176 = _rtmp3180.size;
-        for (var _i181 = 0; _i181 < _size176; ++_i181)
+        var _etype187 = 0;
+        _rtmp3188 = input.readListBegin();
+        _etype187 = _rtmp3188.etype;
+        _size184 = _rtmp3188.size;
+        for (var _i189 = 0; _i189 < _size184; ++_i189)
         {
-          var elem182 = null;
-          elem182 = input.readString().value;
-          this.success.push(elem182);
+          var elem190 = null;
+          elem190 = input.readString().value;
+          this.success.push(elem190);
         }
         input.readListEnd();
       } else {
@@ -107,12 +107,12 @@ Blur_shardClusterList_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.LIST, 0);
     output.writeListBegin(Thrift.Type.STRING, this.success.length);
-    for (var iter183 in this.success)
+    for (var iter191 in this.success)
     {
-      if (this.success.hasOwnProperty(iter183))
+      if (this.success.hasOwnProperty(iter191))
       {
-        iter183 = this.success[iter183];
-        output.writeString(iter183);
+        iter191 = this.success[iter191];
+        output.writeString(iter191);
       }
     }
     output.writeListEnd();
@@ -213,18 +213,18 @@ Blur_shardServerList_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.LIST) {
-        var _size184 = 0;
-        var _rtmp3188;
+        var _size192 = 0;
+        var _rtmp3196;
         this.success = [];
-        var _etype187 = 0;
-        _rtmp3188 = input.readListBegin();
-        _etype187 = _rtmp3188.etype;
-        _size184 = _rtmp3188.size;
-        for (var _i189 = 0; _i189 < _size184; ++_i189)
+        var _etype195 = 0;
+        _rtmp3196 = input.readListBegin();
+        _etype195 = _rtmp3196.etype;
+        _size192 = _rtmp3196.size;
+        for (var _i197 = 0; _i197 < _size192; ++_i197)
         {
-          var elem190 = null;
-          elem190 = input.readString().value;
-          this.success.push(elem190);
+          var elem198 = null;
+          elem198 = input.readString().value;
+          this.success.push(elem198);
         }
         input.readListEnd();
       } else {
@@ -253,12 +253,12 @@ Blur_shardServerList_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.LIST, 0);
     output.writeListBegin(Thrift.Type.STRING, this.success.length);
-    for (var iter191 in this.success)
+    for (var iter199 in this.success)
     {
-      if (this.success.hasOwnProperty(iter191))
+      if (this.success.hasOwnProperty(iter199))
       {
-        iter191 = this.success[iter191];
-        output.writeString(iter191);
+        iter199 = this.success[iter199];
+        output.writeString(iter199);
       }
     }
     output.writeListEnd();
@@ -334,18 +334,18 @@ Blur_controllerServerList_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.LIST) {
-        var _size192 = 0;
-        var _rtmp3196;
+        var _size200 = 0;
+        var _rtmp3204;
         this.success = [];
-        var _etype195 = 0;
-        _rtmp3196 = input.readListBegin();
-        _etype195 = _rtmp3196.etype;
-        _size192 = _rtmp3196.size;
-        for (var _i197 = 0; _i197 < _size192; ++_i197)
+        var _etype203 = 0;
+        _rtmp3204 = input.readListBegin();
+        _etype203 = _rtmp3204.etype;
+        _size200 = _rtmp3204.size;
+        for (var _i205 = 0; _i205 < _size200; ++_i205)
         {
-          var elem198 = null;
-          elem198 = input.readString().value;
-          this.success.push(elem198);
+          var elem206 = null;
+          elem206 = input.readString().value;
+          this.success.push(elem206);
         }
         input.readListEnd();
       } else {
@@ -374,12 +374,12 @@ Blur_controllerServerList_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.LIST, 0);
     output.writeListBegin(Thrift.Type.STRING, this.success.length);
-    for (var iter199 in this.success)
+    for (var iter207 in this.success)
     {
-      if (this.success.hasOwnProperty(iter199))
+      if (this.success.hasOwnProperty(iter207))
       {
-        iter199 = this.success[iter199];
-        output.writeString(iter199);
+        iter207 = this.success[iter207];
+        output.writeString(iter207);
       }
     }
     output.writeListEnd();
@@ -480,27 +480,27 @@ Blur_shardServerLayout_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.MAP) {
-        var _size200 = 0;
-        var _rtmp3204;
+        var _size208 = 0;
+        var _rtmp3212;
         this.success = {};
-        var _ktype201 = 0;
-        var _vtype202 = 0;
-        _rtmp3204 = input.readMapBegin();
-        _ktype201 = _rtmp3204.ktype;
-        _vtype202 = _rtmp3204.vtype;
-        _size200 = _rtmp3204.size;
-        for (var _i205 = 0; _i205 < _size200; ++_i205)
+        var _ktype209 = 0;
+        var _vtype210 = 0;
+        _rtmp3212 = input.readMapBegin();
+        _ktype209 = _rtmp3212.ktype;
+        _vtype210 = _rtmp3212.vtype;
+        _size208 = _rtmp3212.size;
+        for (var _i213 = 0; _i213 < _size208; ++_i213)
         {
-          if (_i205 > 0 ) {
+          if (_i213 > 0 ) {
             if (input.rstack.length > input.rpos[input.rpos.length -1] + 1) {
               input.rstack.pop();
             }
           }
-          var key206 = null;
-          var val207 = null;
-          key206 = input.readString().value;
-          val207 = input.readString().value;
-          this.success[key206] = val207;
+          var key214 = null;
+          var val215 = null;
+          key214 = input.readString().value;
+          val215 = input.readString().value;
+          this.success[key214] = val215;
         }
         input.readMapEnd();
       } else {
@@ -529,13 +529,13 @@ Blur_shardServerLayout_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.MAP, 0);
     output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.STRING, Thrift.objectLength(this.success));
-    for (var kiter208 in this.success)
+    for (var kiter216 in this.success)
     {
-      if (this.success.hasOwnProperty(kiter208))
+      if (this.success.hasOwnProperty(kiter216))
       {
-        var viter209 = this.success[kiter208];
-        output.writeString(kiter208);
-        output.writeString(viter209);
+        var viter217 = this.success[kiter216];
+        output.writeString(kiter216);
+        output.writeString(viter217);
       }
     }
     output.writeMapEnd();
@@ -636,49 +636,49 @@ Blur_shardServerLayoutState_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.MAP) {
-        var _size210 = 0;
-        var _rtmp3214;
+        var _size218 = 0;
+        var _rtmp3222;
         this.success = {};
-        var _ktype211 = 0;
-        var _vtype212 = 0;
-        _rtmp3214 = input.readMapBegin();
-        _ktype211 = _rtmp3214.ktype;
-        _vtype212 = _rtmp3214.vtype;
-        _size210 = _rtmp3214.size;
-        for (var _i215 = 0; _i215 < _size210; ++_i215)
+        var _ktype219 = 0;
+        var _vtype220 = 0;
+        _rtmp3222 = input.readMapBegin();
+        _ktype219 = _rtmp3222.ktype;
+        _vtype220 = _rtmp3222.vtype;
+        _size218 = _rtmp3222.size;
+        for (var _i223 = 0; _i223 < _size218; ++_i223)
         {
-          if (_i215 > 0 ) {
+          if (_i223 > 0 ) {
             if (input.rstack.length > input.rpos[input.rpos.length -1] + 1) {
               input.rstack.pop();
             }
           }
-          var key216 = null;
-          var val217 = null;
-          key216 = input.readString().value;
-          var _size218 = 0;
-          var _rtmp3222;
-          val217 = {};
-          var _ktype219 = 0;
-          var _vtype220 = 0;
-          _rtmp3222 = input.readMapBegin();
-          _ktype219 = _rtmp3222.ktype;
-          _vtype220 = _rtmp3222.vtype;
-          _size218 = _rtmp3222.size;
-          for (var _i223 = 0; _i223 < _size218; ++_i223)
+          var key224 = null;
+          var val225 = null;
+          key224 = input.readString().value;
+          var _size226 = 0;
+          var _rtmp3230;
+          val225 = {};
+          var _ktype227 = 0;
+          var _vtype228 = 0;
+          _rtmp3230 = input.readMapBegin();
+          _ktype227 = _rtmp3230.ktype;
+          _vtype228 = _rtmp3230.vtype;
+          _size226 = _rtmp3230.size;
+          for (var _i231 = 0; _i231 < _size226; ++_i231)
           {
-            if (_i223 > 0 ) {
+            if (_i231 > 0 ) {
               if (input.rstack.length > input.rpos[input.rpos.length -1] + 1) {
                 input.rstack.pop();
               }
             }
-            var key224 = null;
-            var val225 = null;
-            key224 = input.readString().value;
-            val225 = input.readI32().value;
-            val217[key224] = val225;
+            var key232 = null;
+            var val233 = null;
+            key232 = input.readString().value;
+            val233 = input.readI32().value;
+            val225[key232] = val233;
           }
           input.readMapEnd();
-          this.success[key216] = val217;
+          this.success[key224] = val225;
         }
         input.readMapEnd();
       } else {
@@ -707,20 +707,20 @@ Blur_shardServerLayoutState_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.MAP, 0);
     output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.MAP, Thrift.objectLength(this.success));
-    for (var kiter226 in this.success)
+    for (var kiter234 in this.success)
     {
-      if (this.success.hasOwnProperty(kiter226))
+      if (this.success.hasOwnProperty(kiter234))
       {
-        var viter227 = this.success[kiter226];
-        output.writeString(kiter226);
-        output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.I32, Thrift.objectLength(viter227));
-        for (var kiter228 in viter227)
+        var viter235 = this.success[kiter234];
+        output.writeString(kiter234);
+        output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.I32, Thrift.objectLength(viter235));
+        for (var kiter236 in viter235)
         {
-          if (viter227.hasOwnProperty(kiter228))
+          if (viter235.hasOwnProperty(kiter236))
           {
-            var viter229 = viter227[kiter228];
-            output.writeString(kiter228);
-            output.writeI32(viter229);
+            var viter237 = viter235[kiter236];
+            output.writeString(kiter236);
+            output.writeI32(viter237);
           }
         }
         output.writeMapEnd();
@@ -799,18 +799,18 @@ Blur_tableList_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.LIST) {
-        var _size230 = 0;
-        var _rtmp3234;
+        var _size238 = 0;
+        var _rtmp3242;
         this.success = [];
-        var _etype233 = 0;
-        _rtmp3234 = input.readListBegin();
-        _etype233 = _rtmp3234.etype;
-        _size230 = _rtmp3234.size;
-        for (var _i235 = 0; _i235 < _size230; ++_i235)
+        var _etype241 = 0;
+        _rtmp3242 = input.readListBegin();
+        _etype241 = _rtmp3242.etype;
+        _size238 = _rtmp3242.size;
+        for (var _i243 = 0; _i243 < _size238; ++_i243)
         {
-          var elem236 = null;
-          elem236 = input.readString().value;
-          this.success.push(elem236);
+          var elem244 = null;
+          elem244 = input.readString().value;
+          this.success.push(elem244);
         }
         input.readListEnd();
       } else {
@@ -839,12 +839,12 @@ Blur_tableList_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.LIST, 0);
     output.writeListBegin(Thrift.Type.STRING, this.success.length);
-    for (var iter237 in this.success)
+    for (var iter245 in this.success)
     {
-      if (this.success.hasOwnProperty(iter237))
+      if (this.success.hasOwnProperty(iter245))
       {
-        iter237 = this.success[iter237];
-        output.writeString(iter237);
+        iter245 = this.success[iter245];
+        output.writeString(iter245);
       }
     }
     output.writeListEnd();
@@ -945,18 +945,18 @@ Blur_tableListByCluster_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.LIST) {
-        var _size238 = 0;
-        var _rtmp3242;
+        var _size246 = 0;
+        var _rtmp3250;
         this.success = [];
-        var _etype241 = 0;
-        _rtmp3242 = input.readListBegin();
-        _etype241 = _rtmp3242.etype;
-        _size238 = _rtmp3242.size;
-        for (var _i243 = 0; _i243 < _size238; ++_i243)
+        var _etype249 = 0;
+        _rtmp3250 = input.readListBegin();
+        _etype249 = _rtmp3250.etype;
+        _size246 = _rtmp3250.size;
+        for (var _i251 = 0; _i251 < _size246; ++_i251)
         {
-          var elem244 = null;
-          elem244 = input.readString().value;
-          this.success.push(elem244);
+          var elem252 = null;
+          elem252 = input.readString().value;
+          this.success.push(elem252);
         }
         input.readListEnd();
       } else {
@@ -985,12 +985,12 @@ Blur_tableListByCluster_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.LIST, 0);
     output.writeListBegin(Thrift.Type.STRING, this.success.length);
-    for (var iter245 in this.success)
+    for (var iter253 in this.success)
     {
-      if (this.success.hasOwnProperty(iter245))
+      if (this.success.hasOwnProperty(iter253))
       {
-        iter245 = this.success[iter245];
-        output.writeString(iter245);
+        iter253 = this.success[iter253];
+        output.writeString(iter253);
       }
     }
     output.writeListEnd();
@@ -1479,19 +1479,19 @@ Blur_currentQueries_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.LIST) {
-        var _size246 = 0;
-        var _rtmp3250;
+        var _size254 = 0;
+        var _rtmp3258;
         this.success = [];
-        var _etype249 = 0;
-        _rtmp3250 = input.readListBegin();
-        _etype249 = _rtmp3250.etype;
-        _size246 = _rtmp3250.size;
-        for (var _i251 = 0; _i251 < _size246; ++_i251)
+        var _etype257 = 0;
+        _rtmp3258 = input.readListBegin();
+        _etype257 = _rtmp3258.etype;
+        _size254 = _rtmp3258.size;
+        for (var _i259 = 0; _i259 < _size254; ++_i259)
         {
-          var elem252 = null;
-          elem252 = new BlurQueryStatus();
-          elem252.read(input);
-          this.success.push(elem252);
+          var elem260 = null;
+          elem260 = new BlurQueryStatus();
+          elem260.read(input);
+          this.success.push(elem260);
         }
         input.readListEnd();
       } else {
@@ -1520,12 +1520,12 @@ Blur_currentQueries_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.LIST, 0);
     output.writeListBegin(Thrift.Type.STRUCT, this.success.length);
-    for (var iter253 in this.success)
+    for (var iter261 in this.success)
     {
-      if (this.success.hasOwnProperty(iter253))
+      if (this.success.hasOwnProperty(iter261))
       {
-        iter253 = this.success[iter253];
-        iter253.write(output);
+        iter261 = this.success[iter261];
+        iter261.write(output);
       }
     }
     output.writeListEnd();
@@ -1626,18 +1626,18 @@ Blur_queryStatusIdList_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.LIST) {
-        var _size254 = 0;
-        var _rtmp3258;
+        var _size262 = 0;
+        var _rtmp3266;
         this.success = [];
-        var _etype257 = 0;
-        _rtmp3258 = input.readListBegin();
-        _etype257 = _rtmp3258.etype;
-        _size254 = _rtmp3258.size;
-        for (var _i259 = 0; _i259 < _size254; ++_i259)
+        var _etype265 = 0;
+        _rtmp3266 = input.readListBegin();
+        _etype265 = _rtmp3266.etype;
+        _size262 = _rtmp3266.size;
+        for (var _i267 = 0; _i267 < _size262; ++_i267)
         {
-          var elem260 = null;
-          elem260 = input.readI64().value;
-          this.success.push(elem260);
+          var elem268 = null;
+          elem268 = input.readI64().value;
+          this.success.push(elem268);
         }
         input.readListEnd();
       } else {
@@ -1666,12 +1666,12 @@ Blur_queryStatusIdList_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.LIST, 0);
     output.writeListBegin(Thrift.Type.I64, this.success.length);
-    for (var iter261 in this.success)
+    for (var iter269 in this.success)
     {
-      if (this.success.hasOwnProperty(iter261))
+      if (this.success.hasOwnProperty(iter269))
       {
-        iter261 = this.success[iter261];
-        output.writeI64(iter261);
+        iter269 = this.success[iter269];
+        output.writeI64(iter269);
       }
     }
     output.writeListEnd();
@@ -2346,18 +2346,18 @@ Blur_terms_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.LIST) {
-        var _size262 = 0;
-        var _rtmp3266;
+        var _size270 = 0;
+        var _rtmp3274;
         this.success = [];
-        var _etype265 = 0;
-        _rtmp3266 = input.readListBegin();
-        _etype265 = _rtmp3266.etype;
-        _size262 = _rtmp3266.size;
-        for (var _i267 = 0; _i267 < _size262; ++_i267)
+        var _etype273 = 0;
+        _rtmp3274 = input.readListBegin();
+        _etype273 = _rtmp3274.etype;
+        _size270 = _rtmp3274.size;
+        for (var _i275 = 0; _i275 < _size270; ++_i275)
         {
-          var elem268 = null;
-          elem268 = input.readString().value;
-          this.success.push(elem268);
+          var elem276 = null;
+          elem276 = input.readString().value;
+          this.success.push(elem276);
         }
         input.readListEnd();
       } else {
@@ -2386,12 +2386,12 @@ Blur_terms_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.LIST, 0);
     output.writeListBegin(Thrift.Type.STRING, this.success.length);
-    for (var iter269 in this.success)
+    for (var iter277 in this.success)
     {
-      if (this.success.hasOwnProperty(iter269))
+      if (this.success.hasOwnProperty(iter277))
       {
-        iter269 = this.success[iter269];
-        output.writeString(iter269);
+        iter277 = this.success[iter277];
+        output.writeString(iter277);
       }
     }
     output.writeListEnd();
@@ -2851,19 +2851,19 @@ Blur_mutateBatch_args.prototype.read = function(input) {
     {
       case 1:
       if (ftype == Thrift.Type.LIST) {
-        var _size270 = 0;
-        var _rtmp3274;
+        var _size278 = 0;
+        var _rtmp3282;
         this.mutations = [];
-        var _etype273 = 0;
-        _rtmp3274 = input.readListBegin();
-        _etype273 = _rtmp3274.etype;
-        _size270 = _rtmp3274.size;
-        for (var _i275 = 0; _i275 < _size270; ++_i275)
+        var _etype281 = 0;
+        _rtmp3282 = input.readListBegin();
+        _etype281 = _rtmp3282.etype;
+        _size278 = _rtmp3282.size;
+        for (var _i283 = 0; _i283 < _size278; ++_i283)
         {
-          var elem276 = null;
-          elem276 = new RowMutation();
-          elem276.read(input);
-          this.mutations.push(elem276);
+          var elem284 = null;
+          elem284 = new RowMutation();
+          elem284.read(input);
+          this.mutations.push(elem284);
         }
         input.readListEnd();
       } else {
@@ -2887,12 +2887,12 @@ Blur_mutateBatch_args.prototype.write = function(output) {
   if (this.mutations !== null && this.mutations !== undefined) {
     output.writeFieldBegin('mutations', Thrift.Type.LIST, 1);
     output.writeListBegin(Thrift.Type.STRUCT, this.mutations.length);
-    for (var iter277 in this.mutations)
+    for (var iter285 in this.mutations)
     {
-      if (this.mutations.hasOwnProperty(iter277))
+      if (this.mutations.hasOwnProperty(iter285))
       {
-        iter277 = this.mutations[iter277];
-        iter277.write(output);
+        iter285 = this.mutations[iter285];
+        iter285.write(output);
       }
     }
     output.writeListEnd();
@@ -3727,27 +3727,27 @@ Blur_configuration_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.MAP) {
-        var _size278 = 0;
-        var _rtmp3282;
+        var _size286 = 0;
+        var _rtmp3290;
         this.success = {};
-        var _ktype279 = 0;
-        var _vtype280 = 0;
-        _rtmp3282 = input.readMapBegin();
-        _ktype279 = _rtmp3282.ktype;
-        _vtype280 = _rtmp3282.vtype;
-        _size278 = _rtmp3282.size;
-        for (var _i283 = 0; _i283 < _size278; ++_i283)
+        var _ktype287 = 0;
+        var _vtype288 = 0;
+        _rtmp3290 = input.readMapBegin();
+        _ktype287 = _rtmp3290.ktype;
+        _vtype288 = _rtmp3290.vtype;
+        _size286 = _rtmp3290.size;
+        for (var _i291 = 0; _i291 < _size286; ++_i291)
         {
-          if (_i283 > 0 ) {
+          if (_i291 > 0 ) {
             if (input.rstack.length > input.rpos[input.rpos.length -1] + 1) {
               input.rstack.pop();
             }
           }
-          var key284 = null;
-          var val285 = null;
-          key284 = input.readString().value;
-          val285 = input.readString().value;
-          this.success[key284] = val285;
+          var key292 = null;
+          var val293 = null;
+          key292 = input.readString().value;
+          val293 = input.readString().value;
+          this.success[key292] = val293;
         }
         input.readMapEnd();
       } else {
@@ -3776,13 +3776,13 @@ Blur_configuration_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.MAP, 0);
     output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.STRING, Thrift.objectLength(this.success));
-    for (var kiter286 in this.success)
+    for (var kiter294 in this.success)
     {
-      if (this.success.hasOwnProperty(kiter286))
+      if (this.success.hasOwnProperty(kiter294))
       {
-        var viter287 = this.success[kiter286];
-        output.writeString(kiter286);
-        output.writeString(viter287);
+        var viter295 = this.success[kiter294];
+        output.writeString(kiter294);
+        output.writeString(viter295);
       }
     }
     output.writeMapEnd();


Mime
View raw message