incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [8/9] Sorting feature is now implemented for String type, no integration tests yet. Still need to implement sorting on other types.
Date Wed, 29 Jan 2014 04:09:06 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/5e495671/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Blur.java
----------------------------------------------------------------------
diff --git a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Blur.java b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Blur.java
index 942edee..cacc0cf 100644
--- a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Blur.java
+++ b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Blur.java
@@ -8423,13 +8423,13 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list224 = iprot.readListBegin();
-                  struct.success = new ArrayList<String>(_list224.size);
-                  for (int _i225 = 0; _i225 < _list224.size; ++_i225)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list232 = iprot.readListBegin();
+                  struct.success = new ArrayList<String>(_list232.size);
+                  for (int _i233 = 0; _i233 < _list232.size; ++_i233)
                   {
-                    String _elem226; // required
-                    _elem226 = iprot.readString();
-                    struct.success.add(_elem226);
+                    String _elem234; // required
+                    _elem234 = iprot.readString();
+                    struct.success.add(_elem234);
                   }
                   iprot.readListEnd();
                 }
@@ -8466,9 +8466,9 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.success.size()));
-            for (String _iter227 : struct.success)
+            for (String _iter235 : struct.success)
             {
-              oprot.writeString(_iter227);
+              oprot.writeString(_iter235);
             }
             oprot.writeListEnd();
           }
@@ -8507,9 +8507,9 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (String _iter228 : struct.success)
+            for (String _iter236 : struct.success)
             {
-              oprot.writeString(_iter228);
+              oprot.writeString(_iter236);
             }
           }
         }
@@ -8524,13 +8524,13 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list229 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-            struct.success = new ArrayList<String>(_list229.size);
-            for (int _i230 = 0; _i230 < _list229.size; ++_i230)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list237 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+            struct.success = new ArrayList<String>(_list237.size);
+            for (int _i238 = 0; _i238 < _list237.size; ++_i238)
             {
-              String _elem231; // required
-              _elem231 = iprot.readString();
-              struct.success.add(_elem231);
+              String _elem239; // required
+              _elem239 = iprot.readString();
+              struct.success.add(_elem239);
             }
           }
           struct.setSuccessIsSet(true);
@@ -9297,13 +9297,13 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list232 = iprot.readListBegin();
-                  struct.success = new ArrayList<String>(_list232.size);
-                  for (int _i233 = 0; _i233 < _list232.size; ++_i233)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list240 = iprot.readListBegin();
+                  struct.success = new ArrayList<String>(_list240.size);
+                  for (int _i241 = 0; _i241 < _list240.size; ++_i241)
                   {
-                    String _elem234; // required
-                    _elem234 = iprot.readString();
-                    struct.success.add(_elem234);
+                    String _elem242; // required
+                    _elem242 = iprot.readString();
+                    struct.success.add(_elem242);
                   }
                   iprot.readListEnd();
                 }
@@ -9340,9 +9340,9 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.success.size()));
-            for (String _iter235 : struct.success)
+            for (String _iter243 : struct.success)
             {
-              oprot.writeString(_iter235);
+              oprot.writeString(_iter243);
             }
             oprot.writeListEnd();
           }
@@ -9381,9 +9381,9 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (String _iter236 : struct.success)
+            for (String _iter244 : struct.success)
             {
-              oprot.writeString(_iter236);
+              oprot.writeString(_iter244);
             }
           }
         }
@@ -9398,13 +9398,13 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list237 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-            struct.success = new ArrayList<String>(_list237.size);
-            for (int _i238 = 0; _i238 < _list237.size; ++_i238)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list245 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+            struct.success = new ArrayList<String>(_list245.size);
+            for (int _i246 = 0; _i246 < _list245.size; ++_i246)
             {
-              String _elem239; // required
-              _elem239 = iprot.readString();
-              struct.success.add(_elem239);
+              String _elem247; // required
+              _elem247 = iprot.readString();
+              struct.success.add(_elem247);
             }
           }
           struct.setSuccessIsSet(true);
@@ -16040,25 +16040,25 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.MAP) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map240 = iprot.readMapBegin();
-                  struct.success = new HashMap<String,List<String>>(2*_map240.size);
-                  for (int _i241 = 0; _i241 < _map240.size; ++_i241)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map248 = iprot.readMapBegin();
+                  struct.success = new HashMap<String,List<String>>(2*_map248.size);
+                  for (int _i249 = 0; _i249 < _map248.size; ++_i249)
                   {
-                    String _key242; // optional
-                    List<String> _val243; // required
-                    _key242 = iprot.readString();
+                    String _key250; // optional
+                    List<String> _val251; // required
+                    _key250 = iprot.readString();
                     {
-                      org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list244 = iprot.readListBegin();
-                      _val243 = new ArrayList<String>(_list244.size);
-                      for (int _i245 = 0; _i245 < _list244.size; ++_i245)
+                      org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list252 = iprot.readListBegin();
+                      _val251 = new ArrayList<String>(_list252.size);
+                      for (int _i253 = 0; _i253 < _list252.size; ++_i253)
                       {
-                        String _elem246; // required
-                        _elem246 = iprot.readString();
-                        _val243.add(_elem246);
+                        String _elem254; // required
+                        _elem254 = iprot.readString();
+                        _val251.add(_elem254);
                       }
                       iprot.readListEnd();
                     }
-                    struct.success.put(_key242, _val243);
+                    struct.success.put(_key250, _val251);
                   }
                   iprot.readMapEnd();
                 }
@@ -16095,14 +16095,14 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_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.LIST, struct.success.size()));
-            for (Map.Entry<String, List<String>> _iter247 : struct.success.entrySet())
+            for (Map.Entry<String, List<String>> _iter255 : struct.success.entrySet())
             {
-              oprot.writeString(_iter247.getKey());
+              oprot.writeString(_iter255.getKey());
               {
-                oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, _iter247.getValue().size()));
-                for (String _iter248 : _iter247.getValue())
+                oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, _iter255.getValue().size()));
+                for (String _iter256 : _iter255.getValue())
                 {
-                  oprot.writeString(_iter248);
+                  oprot.writeString(_iter256);
                 }
                 oprot.writeListEnd();
               }
@@ -16144,14 +16144,14 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (Map.Entry<String, List<String>> _iter249 : struct.success.entrySet())
+            for (Map.Entry<String, List<String>> _iter257 : struct.success.entrySet())
             {
-              oprot.writeString(_iter249.getKey());
+              oprot.writeString(_iter257.getKey());
               {
-                oprot.writeI32(_iter249.getValue().size());
-                for (String _iter250 : _iter249.getValue())
+                oprot.writeI32(_iter257.getValue().size());
+                for (String _iter258 : _iter257.getValue())
                 {
-                  oprot.writeString(_iter250);
+                  oprot.writeString(_iter258);
                 }
               }
             }
@@ -16168,24 +16168,24 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map251 = 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.LIST, iprot.readI32());
-            struct.success = new HashMap<String,List<String>>(2*_map251.size);
-            for (int _i252 = 0; _i252 < _map251.size; ++_i252)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map259 = 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.LIST, iprot.readI32());
+            struct.success = new HashMap<String,List<String>>(2*_map259.size);
+            for (int _i260 = 0; _i260 < _map259.size; ++_i260)
             {
-              String _key253; // optional
-              List<String> _val254; // required
-              _key253 = iprot.readString();
+              String _key261; // optional
+              List<String> _val262; // required
+              _key261 = iprot.readString();
               {
-                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list255 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-                _val254 = new ArrayList<String>(_list255.size);
-                for (int _i256 = 0; _i256 < _list255.size; ++_i256)
+                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list263 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+                _val262 = new ArrayList<String>(_list263.size);
+                for (int _i264 = 0; _i264 < _list263.size; ++_i264)
                 {
-                  String _elem257; // required
-                  _elem257 = iprot.readString();
-                  _val254.add(_elem257);
+                  String _elem265; // required
+                  _elem265 = iprot.readString();
+                  _val262.add(_elem265);
                 }
               }
-              struct.success.put(_key253, _val254);
+              struct.success.put(_key261, _val262);
             }
           }
           struct.setSuccessIsSet(true);
@@ -18877,14 +18877,14 @@ public class Blur {
             case 2: // SELECTORS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list258 = iprot.readListBegin();
-                  struct.selectors = new ArrayList<Selector>(_list258.size);
-                  for (int _i259 = 0; _i259 < _list258.size; ++_i259)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list266 = iprot.readListBegin();
+                  struct.selectors = new ArrayList<Selector>(_list266.size);
+                  for (int _i267 = 0; _i267 < _list266.size; ++_i267)
                   {
-                    Selector _elem260; // required
-                    _elem260 = new Selector();
-                    _elem260.read(iprot);
-                    struct.selectors.add(_elem260);
+                    Selector _elem268; // required
+                    _elem268 = new Selector();
+                    _elem268.read(iprot);
+                    struct.selectors.add(_elem268);
                   }
                   iprot.readListEnd();
                 }
@@ -18917,9 +18917,9 @@ public class Blur {
           oprot.writeFieldBegin(SELECTORS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, struct.selectors.size()));
-            for (Selector _iter261 : struct.selectors)
+            for (Selector _iter269 : struct.selectors)
             {
-              _iter261.write(oprot);
+              _iter269.write(oprot);
             }
             oprot.writeListEnd();
           }
@@ -18956,9 +18956,9 @@ public class Blur {
         if (struct.isSetSelectors()) {
           {
             oprot.writeI32(struct.selectors.size());
-            for (Selector _iter262 : struct.selectors)
+            for (Selector _iter270 : struct.selectors)
             {
-              _iter262.write(oprot);
+              _iter270.write(oprot);
             }
           }
         }
@@ -18974,14 +18974,14 @@ public class Blur {
         }
         if (incoming.get(1)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list263 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, iprot.readI32());
-            struct.selectors = new ArrayList<Selector>(_list263.size);
-            for (int _i264 = 0; _i264 < _list263.size; ++_i264)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list271 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, iprot.readI32());
+            struct.selectors = new ArrayList<Selector>(_list271.size);
+            for (int _i272 = 0; _i272 < _list271.size; ++_i272)
             {
-              Selector _elem265; // required
-              _elem265 = new Selector();
-              _elem265.read(iprot);
-              struct.selectors.add(_elem265);
+              Selector _elem273; // required
+              _elem273 = new Selector();
+              _elem273.read(iprot);
+              struct.selectors.add(_elem273);
             }
           }
           struct.setSelectorsIsSet(true);
@@ -19377,14 +19377,14 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list266 = iprot.readListBegin();
-                  struct.success = new ArrayList<FetchResult>(_list266.size);
-                  for (int _i267 = 0; _i267 < _list266.size; ++_i267)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list274 = iprot.readListBegin();
+                  struct.success = new ArrayList<FetchResult>(_list274.size);
+                  for (int _i275 = 0; _i275 < _list274.size; ++_i275)
                   {
-                    FetchResult _elem268; // required
-                    _elem268 = new FetchResult();
-                    _elem268.read(iprot);
-                    struct.success.add(_elem268);
+                    FetchResult _elem276; // required
+                    _elem276 = new FetchResult();
+                    _elem276.read(iprot);
+                    struct.success.add(_elem276);
                   }
                   iprot.readListEnd();
                 }
@@ -19421,9 +19421,9 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, struct.success.size()));
-            for (FetchResult _iter269 : struct.success)
+            for (FetchResult _iter277 : struct.success)
             {
-              _iter269.write(oprot);
+              _iter277.write(oprot);
             }
             oprot.writeListEnd();
           }
@@ -19462,9 +19462,9 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (FetchResult _iter270 : struct.success)
+            for (FetchResult _iter278 : struct.success)
             {
-              _iter270.write(oprot);
+              _iter278.write(oprot);
             }
           }
         }
@@ -19479,14 +19479,14 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list271 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, iprot.readI32());
-            struct.success = new ArrayList<FetchResult>(_list271.size);
-            for (int _i272 = 0; _i272 < _list271.size; ++_i272)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list279 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, iprot.readI32());
+            struct.success = new ArrayList<FetchResult>(_list279.size);
+            for (int _i280 = 0; _i280 < _list279.size; ++_i280)
             {
-              FetchResult _elem273; // required
-              _elem273 = new FetchResult();
-              _elem273.read(iprot);
-              struct.success.add(_elem273);
+              FetchResult _elem281; // required
+              _elem281 = new FetchResult();
+              _elem281.read(iprot);
+              struct.success.add(_elem281);
             }
           }
           struct.setSuccessIsSet(true);
@@ -20549,14 +20549,14 @@ public class Blur {
             case 1: // MUTATIONS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list274 = iprot.readListBegin();
-                  struct.mutations = new ArrayList<RowMutation>(_list274.size);
-                  for (int _i275 = 0; _i275 < _list274.size; ++_i275)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list282 = iprot.readListBegin();
+                  struct.mutations = new ArrayList<RowMutation>(_list282.size);
+                  for (int _i283 = 0; _i283 < _list282.size; ++_i283)
                   {
-                    RowMutation _elem276; // required
-                    _elem276 = new RowMutation();
-                    _elem276.read(iprot);
-                    struct.mutations.add(_elem276);
+                    RowMutation _elem284; // required
+                    _elem284 = new RowMutation();
+                    _elem284.read(iprot);
+                    struct.mutations.add(_elem284);
                   }
                   iprot.readListEnd();
                 }
@@ -20584,9 +20584,9 @@ public class Blur {
           oprot.writeFieldBegin(MUTATIONS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, struct.mutations.size()));
-            for (RowMutation _iter277 : struct.mutations)
+            for (RowMutation _iter285 : struct.mutations)
             {
-              _iter277.write(oprot);
+              _iter285.write(oprot);
             }
             oprot.writeListEnd();
           }
@@ -20617,9 +20617,9 @@ public class Blur {
         if (struct.isSetMutations()) {
           {
             oprot.writeI32(struct.mutations.size());
-            for (RowMutation _iter278 : struct.mutations)
+            for (RowMutation _iter286 : struct.mutations)
             {
-              _iter278.write(oprot);
+              _iter286.write(oprot);
             }
           }
         }
@@ -20631,14 +20631,14 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(1);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list279 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, iprot.readI32());
-            struct.mutations = new ArrayList<RowMutation>(_list279.size);
-            for (int _i280 = 0; _i280 < _list279.size; ++_i280)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list287 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, iprot.readI32());
+            struct.mutations = new ArrayList<RowMutation>(_list287.size);
+            for (int _i288 = 0; _i288 < _list287.size; ++_i288)
             {
-              RowMutation _elem281; // required
-              _elem281 = new RowMutation();
-              _elem281.read(iprot);
-              struct.mutations.add(_elem281);
+              RowMutation _elem289; // required
+              _elem289 = new RowMutation();
+              _elem289.read(iprot);
+              struct.mutations.add(_elem289);
             }
           }
           struct.setMutationsIsSet(true);
@@ -22590,13 +22590,13 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list282 = iprot.readListBegin();
-                  struct.success = new ArrayList<String>(_list282.size);
-                  for (int _i283 = 0; _i283 < _list282.size; ++_i283)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list290 = iprot.readListBegin();
+                  struct.success = new ArrayList<String>(_list290.size);
+                  for (int _i291 = 0; _i291 < _list290.size; ++_i291)
                   {
-                    String _elem284; // required
-                    _elem284 = iprot.readString();
-                    struct.success.add(_elem284);
+                    String _elem292; // required
+                    _elem292 = iprot.readString();
+                    struct.success.add(_elem292);
                   }
                   iprot.readListEnd();
                 }
@@ -22633,9 +22633,9 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.success.size()));
-            for (String _iter285 : struct.success)
+            for (String _iter293 : struct.success)
             {
-              oprot.writeString(_iter285);
+              oprot.writeString(_iter293);
             }
             oprot.writeListEnd();
           }
@@ -22674,9 +22674,9 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (String _iter286 : struct.success)
+            for (String _iter294 : struct.success)
             {
-              oprot.writeString(_iter286);
+              oprot.writeString(_iter294);
             }
           }
         }
@@ -22691,13 +22691,13 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list287 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-            struct.success = new ArrayList<String>(_list287.size);
-            for (int _i288 = 0; _i288 < _list287.size; ++_i288)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list295 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+            struct.success = new ArrayList<String>(_list295.size);
+            for (int _i296 = 0; _i296 < _list295.size; ++_i296)
             {
-              String _elem289; // required
-              _elem289 = iprot.readString();
-              struct.success.add(_elem289);
+              String _elem297; // required
+              _elem297 = iprot.readString();
+              struct.success.add(_elem297);
             }
           }
           struct.setSuccessIsSet(true);
@@ -24849,13 +24849,13 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list290 = iprot.readListBegin();
-                  struct.success = new ArrayList<String>(_list290.size);
-                  for (int _i291 = 0; _i291 < _list290.size; ++_i291)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list298 = iprot.readListBegin();
+                  struct.success = new ArrayList<String>(_list298.size);
+                  for (int _i299 = 0; _i299 < _list298.size; ++_i299)
                   {
-                    String _elem292; // required
-                    _elem292 = iprot.readString();
-                    struct.success.add(_elem292);
+                    String _elem300; // required
+                    _elem300 = iprot.readString();
+                    struct.success.add(_elem300);
                   }
                   iprot.readListEnd();
                 }
@@ -24892,9 +24892,9 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.success.size()));
-            for (String _iter293 : struct.success)
+            for (String _iter301 : struct.success)
             {
-              oprot.writeString(_iter293);
+              oprot.writeString(_iter301);
             }
             oprot.writeListEnd();
           }
@@ -24933,9 +24933,9 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (String _iter294 : struct.success)
+            for (String _iter302 : struct.success)
             {
-              oprot.writeString(_iter294);
+              oprot.writeString(_iter302);
             }
           }
         }
@@ -24950,13 +24950,13 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list295 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-            struct.success = new ArrayList<String>(_list295.size);
-            for (int _i296 = 0; _i296 < _list295.size; ++_i296)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list303 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+            struct.success = new ArrayList<String>(_list303.size);
+            for (int _i304 = 0; _i304 < _list303.size; ++_i304)
             {
-              String _elem297; // required
-              _elem297 = iprot.readString();
-              struct.success.add(_elem297);
+              String _elem305; // required
+              _elem305 = iprot.readString();
+              struct.success.add(_elem305);
             }
           }
           struct.setSuccessIsSet(true);
@@ -26761,13 +26761,13 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list298 = iprot.readListBegin();
-                  struct.success = new ArrayList<String>(_list298.size);
-                  for (int _i299 = 0; _i299 < _list298.size; ++_i299)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list306 = iprot.readListBegin();
+                  struct.success = new ArrayList<String>(_list306.size);
+                  for (int _i307 = 0; _i307 < _list306.size; ++_i307)
                   {
-                    String _elem300; // required
-                    _elem300 = iprot.readString();
-                    struct.success.add(_elem300);
+                    String _elem308; // required
+                    _elem308 = iprot.readString();
+                    struct.success.add(_elem308);
                   }
                   iprot.readListEnd();
                 }
@@ -26804,9 +26804,9 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.success.size()));
-            for (String _iter301 : struct.success)
+            for (String _iter309 : struct.success)
             {
-              oprot.writeString(_iter301);
+              oprot.writeString(_iter309);
             }
             oprot.writeListEnd();
           }
@@ -26845,9 +26845,9 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (String _iter302 : struct.success)
+            for (String _iter310 : struct.success)
             {
-              oprot.writeString(_iter302);
+              oprot.writeString(_iter310);
             }
           }
         }
@@ -26862,13 +26862,13 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list303 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-            struct.success = new ArrayList<String>(_list303.size);
-            for (int _i304 = 0; _i304 < _list303.size; ++_i304)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list311 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+            struct.success = new ArrayList<String>(_list311.size);
+            for (int _i312 = 0; _i312 < _list311.size; ++_i312)
             {
-              String _elem305; // required
-              _elem305 = iprot.readString();
-              struct.success.add(_elem305);
+              String _elem313; // required
+              _elem313 = iprot.readString();
+              struct.success.add(_elem313);
             }
           }
           struct.setSuccessIsSet(true);
@@ -27635,13 +27635,13 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list306 = iprot.readListBegin();
-                  struct.success = new ArrayList<String>(_list306.size);
-                  for (int _i307 = 0; _i307 < _list306.size; ++_i307)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list314 = iprot.readListBegin();
+                  struct.success = new ArrayList<String>(_list314.size);
+                  for (int _i315 = 0; _i315 < _list314.size; ++_i315)
                   {
-                    String _elem308; // required
-                    _elem308 = iprot.readString();
-                    struct.success.add(_elem308);
+                    String _elem316; // required
+                    _elem316 = iprot.readString();
+                    struct.success.add(_elem316);
                   }
                   iprot.readListEnd();
                 }
@@ -27678,9 +27678,9 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.success.size()));
-            for (String _iter309 : struct.success)
+            for (String _iter317 : struct.success)
             {
-              oprot.writeString(_iter309);
+              oprot.writeString(_iter317);
             }
             oprot.writeListEnd();
           }
@@ -27719,9 +27719,9 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (String _iter310 : struct.success)
+            for (String _iter318 : struct.success)
             {
-              oprot.writeString(_iter310);
+              oprot.writeString(_iter318);
             }
           }
         }
@@ -27736,13 +27736,13 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list311 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-            struct.success = new ArrayList<String>(_list311.size);
-            for (int _i312 = 0; _i312 < _list311.size; ++_i312)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list319 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+            struct.success = new ArrayList<String>(_list319.size);
+            for (int _i320 = 0; _i320 < _list319.size; ++_i320)
             {
-              String _elem313; // required
-              _elem313 = iprot.readString();
-              struct.success.add(_elem313);
+              String _elem321; // required
+              _elem321 = iprot.readString();
+              struct.success.add(_elem321);
             }
           }
           struct.setSuccessIsSet(true);
@@ -28389,13 +28389,13 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list314 = iprot.readListBegin();
-                  struct.success = new ArrayList<String>(_list314.size);
-                  for (int _i315 = 0; _i315 < _list314.size; ++_i315)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list322 = iprot.readListBegin();
+                  struct.success = new ArrayList<String>(_list322.size);
+                  for (int _i323 = 0; _i323 < _list322.size; ++_i323)
                   {
-                    String _elem316; // required
-                    _elem316 = iprot.readString();
-                    struct.success.add(_elem316);
+                    String _elem324; // required
+                    _elem324 = iprot.readString();
+                    struct.success.add(_elem324);
                   }
                   iprot.readListEnd();
                 }
@@ -28432,9 +28432,9 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.success.size()));
-            for (String _iter317 : struct.success)
+            for (String _iter325 : struct.success)
             {
-              oprot.writeString(_iter317);
+              oprot.writeString(_iter325);
             }
             oprot.writeListEnd();
           }
@@ -28473,9 +28473,9 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (String _iter318 : struct.success)
+            for (String _iter326 : struct.success)
             {
-              oprot.writeString(_iter318);
+              oprot.writeString(_iter326);
             }
           }
         }
@@ -28490,13 +28490,13 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list319 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-            struct.success = new ArrayList<String>(_list319.size);
-            for (int _i320 = 0; _i320 < _list319.size; ++_i320)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list327 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+            struct.success = new ArrayList<String>(_list327.size);
+            for (int _i328 = 0; _i328 < _list327.size; ++_i328)
             {
-              String _elem321; // required
-              _elem321 = iprot.readString();
-              struct.success.add(_elem321);
+              String _elem329; // required
+              _elem329 = iprot.readString();
+              struct.success.add(_elem329);
             }
           }
           struct.setSuccessIsSet(true);
@@ -29268,15 +29268,15 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.MAP) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map322 = iprot.readMapBegin();
-                  struct.success = new HashMap<String,String>(2*_map322.size);
-                  for (int _i323 = 0; _i323 < _map322.size; ++_i323)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map330 = iprot.readMapBegin();
+                  struct.success = new HashMap<String,String>(2*_map330.size);
+                  for (int _i331 = 0; _i331 < _map330.size; ++_i331)
                   {
-                    String _key324; // optional
-                    String _val325; // required
-                    _key324 = iprot.readString();
-                    _val325 = iprot.readString();
-                    struct.success.put(_key324, _val325);
+                    String _key332; // optional
+                    String _val333; // required
+                    _key332 = iprot.readString();
+                    _val333 = iprot.readString();
+                    struct.success.put(_key332, _val333);
                   }
                   iprot.readMapEnd();
                 }
@@ -29313,10 +29313,10 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_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.success.size()));
-            for (Map.Entry<String, String> _iter326 : struct.success.entrySet())
+            for (Map.Entry<String, String> _iter334 : struct.success.entrySet())
             {
-              oprot.writeString(_iter326.getKey());
-              oprot.writeString(_iter326.getValue());
+              oprot.writeString(_iter334.getKey());
+              oprot.writeString(_iter334.getValue());
             }
             oprot.writeMapEnd();
           }
@@ -29355,10 +29355,10 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (Map.Entry<String, String> _iter327 : struct.success.entrySet())
+            for (Map.Entry<String, String> _iter335 : struct.success.entrySet())
             {
-              oprot.writeString(_iter327.getKey());
-              oprot.writeString(_iter327.getValue());
+              oprot.writeString(_iter335.getKey());
+              oprot.writeString(_iter335.getValue());
             }
           }
         }
@@ -29373,15 +29373,15 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map328 = 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.success = new HashMap<String,String>(2*_map328.size);
-            for (int _i329 = 0; _i329 < _map328.size; ++_i329)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map336 = 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.success = new HashMap<String,String>(2*_map336.size);
+            for (int _i337 = 0; _i337 < _map336.size; ++_i337)
             {
-              String _key330; // optional
-              String _val331; // required
-              _key330 = iprot.readString();
-              _val331 = iprot.readString();
-              struct.success.put(_key330, _val331);
+              String _key338; // optional
+              String _val339; // required
+              _key338 = iprot.readString();
+              _val339 = iprot.readString();
+              struct.success.put(_key338, _val339);
             }
           }
           struct.setSuccessIsSet(true);
@@ -30166,27 +30166,27 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.MAP) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map332 = iprot.readMapBegin();
-                  struct.success = new HashMap<String,Map<String,ShardState>>(2*_map332.size);
-                  for (int _i333 = 0; _i333 < _map332.size; ++_i333)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map340 = iprot.readMapBegin();
+                  struct.success = new HashMap<String,Map<String,ShardState>>(2*_map340.size);
+                  for (int _i341 = 0; _i341 < _map340.size; ++_i341)
                   {
-                    String _key334; // optional
-                    Map<String,ShardState> _val335; // required
-                    _key334 = iprot.readString();
+                    String _key342; // optional
+                    Map<String,ShardState> _val343; // required
+                    _key342 = iprot.readString();
                     {
-                      org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map336 = iprot.readMapBegin();
-                      _val335 = new HashMap<String,ShardState>(2*_map336.size);
-                      for (int _i337 = 0; _i337 < _map336.size; ++_i337)
+                      org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map344 = iprot.readMapBegin();
+                      _val343 = new HashMap<String,ShardState>(2*_map344.size);
+                      for (int _i345 = 0; _i345 < _map344.size; ++_i345)
                       {
-                        String _key338; // optional
-                        ShardState _val339; // required
-                        _key338 = iprot.readString();
-                        _val339 = ShardState.findByValue(iprot.readI32());
-                        _val335.put(_key338, _val339);
+                        String _key346; // optional
+                        ShardState _val347; // required
+                        _key346 = iprot.readString();
+                        _val347 = ShardState.findByValue(iprot.readI32());
+                        _val343.put(_key346, _val347);
                       }
                       iprot.readMapEnd();
                     }
-                    struct.success.put(_key334, _val335);
+                    struct.success.put(_key342, _val343);
                   }
                   iprot.readMapEnd();
                 }
@@ -30223,15 +30223,15 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_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.MAP, struct.success.size()));
-            for (Map.Entry<String, Map<String,ShardState>> _iter340 : struct.success.entrySet())
+            for (Map.Entry<String, Map<String,ShardState>> _iter348 : struct.success.entrySet())
             {
-              oprot.writeString(_iter340.getKey());
+              oprot.writeString(_iter348.getKey());
               {
-                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.I32, _iter340.getValue().size()));
-                for (Map.Entry<String, ShardState> _iter341 : _iter340.getValue().entrySet())
+                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.I32, _iter348.getValue().size()));
+                for (Map.Entry<String, ShardState> _iter349 : _iter348.getValue().entrySet())
                 {
-                  oprot.writeString(_iter341.getKey());
-                  oprot.writeI32(_iter341.getValue().getValue());
+                  oprot.writeString(_iter349.getKey());
+                  oprot.writeI32(_iter349.getValue().getValue());
                 }
                 oprot.writeMapEnd();
               }
@@ -30273,15 +30273,15 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (Map.Entry<String, Map<String,ShardState>> _iter342 : struct.success.entrySet())
+            for (Map.Entry<String, Map<String,ShardState>> _iter350 : struct.success.entrySet())
             {
-              oprot.writeString(_iter342.getKey());
+              oprot.writeString(_iter350.getKey());
               {
-                oprot.writeI32(_iter342.getValue().size());
-                for (Map.Entry<String, ShardState> _iter343 : _iter342.getValue().entrySet())
+                oprot.writeI32(_iter350.getValue().size());
+                for (Map.Entry<String, ShardState> _iter351 : _iter350.getValue().entrySet())
                 {
-                  oprot.writeString(_iter343.getKey());
-                  oprot.writeI32(_iter343.getValue().getValue());
+                  oprot.writeString(_iter351.getKey());
+                  oprot.writeI32(_iter351.getValue().getValue());
                 }
               }
             }
@@ -30298,26 +30298,26 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map344 = 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.MAP, iprot.readI32());
-            struct.success = new HashMap<String,Map<String,ShardState>>(2*_map344.size);
-            for (int _i345 = 0; _i345 < _map344.size; ++_i345)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map352 = 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.MAP, iprot.readI32());
+            struct.success = new HashMap<String,Map<String,ShardState>>(2*_map352.size);
+            for (int _i353 = 0; _i353 < _map352.size; ++_i353)
             {
-              String _key346; // optional
-              Map<String,ShardState> _val347; // required
-              _key346 = iprot.readString();
+              String _key354; // optional
+              Map<String,ShardState> _val355; // required
+              _key354 = iprot.readString();
               {
-                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map348 = 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.I32, iprot.readI32());
-                _val347 = new HashMap<String,ShardState>(2*_map348.size);
-                for (int _i349 = 0; _i349 < _map348.size; ++_i349)
+                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map356 = 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.I32, iprot.readI32());
+                _val355 = new HashMap<String,ShardState>(2*_map356.size);
+                for (int _i357 = 0; _i357 < _map356.size; ++_i357)
                 {
-                  String _key350; // optional
-                  ShardState _val351; // required
-                  _key350 = iprot.readString();
-                  _val351 = ShardState.findByValue(iprot.readI32());
-                  _val347.put(_key350, _val351);
+                  String _key358; // optional
+                  ShardState _val359; // required
+                  _key358 = iprot.readString();
+                  _val359 = ShardState.findByValue(iprot.readI32());
+                  _val355.put(_key358, _val359);
                 }
               }
-              struct.success.put(_key346, _val347);
+              struct.success.put(_key354, _val355);
             }
           }
           struct.setSuccessIsSet(true);
@@ -31791,15 +31791,15 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.MAP) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map352 = iprot.readMapBegin();
-                  struct.success = new HashMap<String,String>(2*_map352.size);
-                  for (int _i353 = 0; _i353 < _map352.size; ++_i353)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map360 = iprot.readMapBegin();
+                  struct.success = new HashMap<String,String>(2*_map360.size);
+                  for (int _i361 = 0; _i361 < _map360.size; ++_i361)
                   {
-                    String _key354; // optional
-                    String _val355; // required
-                    _key354 = iprot.readString();
-                    _val355 = iprot.readString();
-                    struct.success.put(_key354, _val355);
+                    String _key362; // optional
+                    String _val363; // required
+                    _key362 = iprot.readString();
+                    _val363 = iprot.readString();
+                    struct.success.put(_key362, _val363);
                   }
                   iprot.readMapEnd();
                 }
@@ -31836,10 +31836,10 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_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.success.size()));
-            for (Map.Entry<String, String> _iter356 : struct.success.entrySet())
+            for (Map.Entry<String, String> _iter364 : struct.success.entrySet())
             {
-              oprot.writeString(_iter356.getKey());
-              oprot.writeString(_iter356.getValue());
+              oprot.writeString(_iter364.getKey());
+              oprot.writeString(_iter364.getValue());
             }
             oprot.writeMapEnd();
           }
@@ -31878,10 +31878,10 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (Map.Entry<String, String> _iter357 : struct.success.entrySet())
+            for (Map.Entry<String, String> _iter365 : struct.success.entrySet())
             {
-              oprot.writeString(_iter357.getKey());
-              oprot.writeString(_iter357.getValue());
+              oprot.writeString(_iter365.getKey());
+              oprot.writeString(_iter365.getValue());
             }
           }
         }
@@ -31896,15 +31896,15 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map358 = 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.success = new HashMap<String,String>(2*_map358.size);
-            for (int _i359 = 0; _i359 < _map358.size; ++_i359)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map366 = 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.success = new HashMap<String,String>(2*_map366.size);
+            for (int _i367 = 0; _i367 < _map366.size; ++_i367)
             {
-              String _key360; // optional
-              String _val361; // required
-              _key360 = iprot.readString();
-              _val361 = iprot.readString();
-              struct.success.put(_key360, _val361);
+              String _key368; // optional
+              String _val369; // required
+              _key368 = iprot.readString();
+              _val369 = iprot.readString();
+              struct.success.put(_key368, _val369);
             }
           }
           struct.setSuccessIsSet(true);
@@ -32240,13 +32240,13 @@ public class Blur {
             case 1: // METRICS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.SET) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set362 = iprot.readSetBegin();
-                  struct.metrics = new HashSet<String>(2*_set362.size);
-                  for (int _i363 = 0; _i363 < _set362.size; ++_i363)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set370 = iprot.readSetBegin();
+                  struct.metrics = new HashSet<String>(2*_set370.size);
+                  for (int _i371 = 0; _i371 < _set370.size; ++_i371)
                   {
-                    String _elem364; // required
-                    _elem364 = iprot.readString();
-                    struct.metrics.add(_elem364);
+                    String _elem372; // required
+                    _elem372 = iprot.readString();
+                    struct.metrics.add(_elem372);
                   }
                   iprot.readSetEnd();
                 }
@@ -32274,9 +32274,9 @@ public class Blur {
           oprot.writeFieldBegin(METRICS_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.metrics.size()));
-            for (String _iter365 : struct.metrics)
+            for (String _iter373 : struct.metrics)
             {
-              oprot.writeString(_iter365);
+              oprot.writeString(_iter373);
             }
             oprot.writeSetEnd();
           }
@@ -32307,9 +32307,9 @@ public class Blur {
         if (struct.isSetMetrics()) {
           {
             oprot.writeI32(struct.metrics.size());
-            for (String _iter366 : struct.metrics)
+            for (String _iter374 : struct.metrics)
             {
-              oprot.writeString(_iter366);
+              oprot.writeString(_iter374);
             }
           }
         }
@@ -32321,13 +32321,13 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(1);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set367 = 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.metrics = new HashSet<String>(2*_set367.size);
-            for (int _i368 = 0; _i368 < _set367.size; ++_i368)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set375 = 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.metrics = new HashSet<String>(2*_set375.size);
+            for (int _i376 = 0; _i376 < _set375.size; ++_i376)
             {
-              String _elem369; // required
-              _elem369 = iprot.readString();
-              struct.metrics.add(_elem369);
+              String _elem377; // required
+              _elem377 = iprot.readString();
+              struct.metrics.add(_elem377);
             }
           }
           struct.setMetricsIsSet(true);
@@ -32728,16 +32728,16 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.MAP) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map370 = iprot.readMapBegin();
-                  struct.success = new HashMap<String,Metric>(2*_map370.size);
-                  for (int _i371 = 0; _i371 < _map370.size; ++_i371)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map378 = iprot.readMapBegin();
+                  struct.success = new HashMap<String,Metric>(2*_map378.size);
+                  for (int _i379 = 0; _i379 < _map378.size; ++_i379)
                   {
-                    String _key372; // optional
-                    Metric _val373; // required
-                    _key372 = iprot.readString();
-                    _val373 = new Metric();
-                    _val373.read(iprot);
-                    struct.success.put(_key372, _val373);
+                    String _key380; // optional
+                    Metric _val381; // required
+                    _key380 = iprot.readString();
+                    _val381 = new Metric();
+                    _val381.read(iprot);
+                    struct.success.put(_key380, _val381);
                   }
                   iprot.readMapEnd();
                 }
@@ -32774,10 +32774,10 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_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.STRUCT, struct.success.size()));
-            for (Map.Entry<String, Metric> _iter374 : struct.success.entrySet())
+            for (Map.Entry<String, Metric> _iter382 : struct.success.entrySet())
             {
-              oprot.writeString(_iter374.getKey());
-              _iter374.getValue().write(oprot);
+              oprot.writeString(_iter382.getKey());
+              _iter382.getValue().write(oprot);
             }
             oprot.writeMapEnd();
           }
@@ -32816,10 +32816,10 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (Map.Entry<String, Metric> _iter375 : struct.success.entrySet())
+            for (Map.Entry<String, Metric> _iter383 : struct.success.entrySet())
             {
-              oprot.writeString(_iter375.getKey());
-              _iter375.getValue().write(oprot);
+              oprot.writeString(_iter383.getKey());
+              _iter383.getValue().write(oprot);
             }
           }
         }
@@ -32834,16 +32834,16 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map376 = 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.STRUCT, iprot.readI32());
-            struct.success = new HashMap<String,Metric>(2*_map376.size);
-            for (int _i377 = 0; _i377 < _map376.size; ++_i377)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map384 = 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.STRUCT, iprot.readI32());
+            struct.success = new HashMap<String,Metric>(2*_map384.size);
+            for (int _i385 = 0; _i385 < _map384.size; ++_i385)
             {
-              String _key378; // optional
-              Metric _val379; // required
-              _key378 = iprot.readString();
-              _val379 = new Metric();
-              _val379.read(iprot);
-              struct.success.put(_key378, _val379);
+              String _key386; // optional
+              Metric _val387; // required
+              _key386 = iprot.readString();
+              _val387 = new Metric();
+              _val387.read(iprot);
+              struct.success.put(_key386, _val387);
             }
           }
           struct.setSuccessIsSet(true);
@@ -33968,13 +33968,13 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list380 = iprot.readListBegin();
-                  struct.success = new ArrayList<String>(_list380.size);
-                  for (int _i381 = 0; _i381 < _list380.size; ++_i381)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list388 = iprot.readListBegin();
+                  struct.success = new ArrayList<String>(_list388.size);
+                  for (int _i389 = 0; _i389 < _list388.size; ++_i389)
                   {
-                    String _elem382; // required
-                    _elem382 = iprot.readString();
-                    struct.success.add(_elem382);
+                    String _elem390; // required
+                    _elem390 = iprot.readString();
+                    struct.success.add(_elem390);
                   }
                   iprot.readListEnd();
                 }
@@ -34011,9 +34011,9 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.success.size()));
-            for (String _iter383 : struct.success)
+            for (String _iter391 : struct.success)
             {
-              oprot.writeString(_iter383);
+              oprot.writeString(_iter391);
             }
             oprot.writeListEnd();
           }
@@ -34052,9 +34052,9 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (String _iter384 : struct.success)
+            for (String _iter392 : struct.success)
             {
-              oprot.writeString(_iter384);
+              oprot.writeString(_iter392);
             }
           }
         }
@@ -34069,13 +34069,13 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list385 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-            struct.success = new ArrayList<String>(_list385.size);
-            for (int _i386 = 0; _i386 < _list385.size; ++_i386)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list393 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+            struct.success = new ArrayList<String>(_list393.size);
+            for (int _i394 = 0; _i394 < _list393.size; ++_i394)
             {
-              String _elem387; // required
-              _elem387 = iprot.readString();
-              struct.success.add(_elem387);
+              String _elem395; // required
+              _elem395 = iprot.readString();
+              struct.success.add(_elem395);
             }
           }
           struct.setSuccessIsSet(true);
@@ -34842,13 +34842,13 @@ public class Blur {
             case 0: // SUCCESS
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
                 {
-                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list388 = iprot.readListBegin();
-                  struct.success = new ArrayList<String>(_list388.size);
-                  for (int _i389 = 0; _i389 < _list388.size; ++_i389)
+                  org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list396 = iprot.readListBegin();
+                  struct.success = new ArrayList<String>(_list396.size);
+                  for (int _i397 = 0; _i397 < _list396.size; ++_i397)
                   {
-                    String _elem390; // required
-                    _elem390 = iprot.readString();
-                    struct.success.add(_elem390);
+                    String _elem398; // required
+                    _elem398 = iprot.readString();
+                    struct.success.add(_elem398);
                   }
                   iprot.readListEnd();
                 }
@@ -34885,9 +34885,9 @@ public class Blur {
           oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.success.size()));
-            for (String _iter391 : struct.success)
+            for (String _iter399 : struct.success)
             {
-              oprot.writeString(_iter391);
+              oprot.writeString(_iter399);
             }
             oprot.writeListEnd();
           }
@@ -34926,9 +34926,9 @@ public class Blur {
         if (struct.isSetSuccess()) {
           {
             oprot.writeI32(struct.success.size());
-            for (String _iter392 : struct.success)
+            for (String _iter400 : struct.success)
             {
-              oprot.writeString(_iter392);
+              oprot.writeString(_iter400);
             }
           }
         }
@@ -34943,13 +34943,13 @@ public class Blur {
         BitSet incoming = iprot.readBitSet(2);
         if (incoming.get(0)) {
           {
-            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list393 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-            struct.success = new ArrayList<String>(_list393.size);
-            for (int _i394 = 0; _i394 < _list393.size; ++_i394)
+            org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list401 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
+            struct.success = new ArrayList<String>(_list401.size);
+            for (int _i402 = 0; _i402 < _list401.size; ++_i402)
             {
-              String _elem395; // required
-              _elem395 = iprot.readString();
-              struct.success.add(_elem395);
+              String _elem403; // required
+              _elem403 = iprot.readString();
+              struct.success.add(_elem403);
             }
           }
           struct.setSuccessIsSet(true);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/5e495671/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQuery.java
----------------------------------------------------------------------
diff --git a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQuery.java b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQuery.java
index a2e7850..9c6d71d 100644
--- a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQuery.java
+++ b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQuery.java
@@ -68,6 +68,7 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField USER_CONTEXT_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("userContext", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, (short)12);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField CACHE_RESULT_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("cacheResult", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL, (short)13);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField START_TIME_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("startTime", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64, (short)14);
+  private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField SORT_FIELDS_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("sortFields", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST, (short)15);
 
   private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
   static {
@@ -125,6 +126,7 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
    * Sets the start time, if 0 the controller sets the time.
    */
   public long startTime; // required
+  public List<SortField> sortFields; // 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 {
@@ -177,7 +179,8 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     /**
      * Sets the start time, if 0 the controller sets the time.
      */
-    START_TIME((short)14, "startTime");
+    START_TIME((short)14, "startTime"),
+    SORT_FIELDS((short)15, "sortFields");
 
     private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -216,6 +219,8 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
           return CACHE_RESULT;
         case 14: // START_TIME
           return START_TIME;
+        case 15: // SORT_FIELDS
+          return SORT_FIELDS;
         default:
           return null;
       }
@@ -292,6 +297,9 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL)));
     tmpMap.put(_Fields.START_TIME, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("startTime", 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.I64)));
+    tmpMap.put(_Fields.SORT_FIELDS, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("sortFields", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
+        new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.ListMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST, 
+            new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.StructMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, SortField.class))));
     metaDataMap = Collections.unmodifiableMap(tmpMap);
     org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(BlurQuery.class, metaDataMap);
   }
@@ -325,7 +333,8 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     String uuid,
     String userContext,
     boolean cacheResult,
-    long startTime)
+    long startTime,
+    List<SortField> sortFields)
   {
     this();
     this.query = query;
@@ -347,6 +356,7 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     setCacheResultIsSet(true);
     this.startTime = startTime;
     setStartTimeIsSet(true);
+    this.sortFields = sortFields;
   }
 
   /**
@@ -380,6 +390,13 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     }
     this.cacheResult = other.cacheResult;
     this.startTime = other.startTime;
+    if (other.isSetSortFields()) {
+      List<SortField> __this__sortFields = new ArrayList<SortField>();
+      for (SortField other_element : other.sortFields) {
+        __this__sortFields.add(new SortField(other_element));
+      }
+      this.sortFields = __this__sortFields;
+    }
   }
 
   public BlurQuery deepCopy() {
@@ -407,6 +424,7 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
 
     this.startTime = 0L;
 
+    this.sortFields = null;
   }
 
   /**
@@ -781,6 +799,45 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __STARTTIME_ISSET_ID, value);
   }
 
+  public int getSortFieldsSize() {
+    return (this.sortFields == null) ? 0 : this.sortFields.size();
+  }
+
+  public java.util.Iterator<SortField> getSortFieldsIterator() {
+    return (this.sortFields == null) ? null : this.sortFields.iterator();
+  }
+
+  public void addToSortFields(SortField elem) {
+    if (this.sortFields == null) {
+      this.sortFields = new ArrayList<SortField>();
+    }
+    this.sortFields.add(elem);
+  }
+
+  public List<SortField> getSortFields() {
+    return this.sortFields;
+  }
+
+  public BlurQuery setSortFields(List<SortField> sortFields) {
+    this.sortFields = sortFields;
+    return this;
+  }
+
+  public void unsetSortFields() {
+    this.sortFields = null;
+  }
+
+  /** Returns true if field sortFields is set (has been assigned a value) and false otherwise */
+  public boolean isSetSortFields() {
+    return this.sortFields != null;
+  }
+
+  public void setSortFieldsIsSet(boolean value) {
+    if (!value) {
+      this.sortFields = null;
+    }
+  }
+
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
     case QUERY:
@@ -879,6 +936,14 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       }
       break;
 
+    case SORT_FIELDS:
+      if (value == null) {
+        unsetSortFields();
+      } else {
+        setSortFields((List<SortField>)value);
+      }
+      break;
+
     }
   }
 
@@ -920,6 +985,9 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     case START_TIME:
       return Long.valueOf(getStartTime());
 
+    case SORT_FIELDS:
+      return getSortFields();
+
     }
     throw new IllegalStateException();
   }
@@ -955,6 +1023,8 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       return isSetCacheResult();
     case START_TIME:
       return isSetStartTime();
+    case SORT_FIELDS:
+      return isSetSortFields();
     }
     throw new IllegalStateException();
   }
@@ -1080,6 +1150,15 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         return false;
     }
 
+    boolean this_present_sortFields = true && this.isSetSortFields();
+    boolean that_present_sortFields = true && that.isSetSortFields();
+    if (this_present_sortFields || that_present_sortFields) {
+      if (!(this_present_sortFields && that_present_sortFields))
+        return false;
+      if (!this.sortFields.equals(that.sortFields))
+        return false;
+    }
+
     return true;
   }
 
@@ -1216,6 +1295,16 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         return lastComparison;
       }
     }
+    lastComparison = Boolean.valueOf(isSetSortFields()).compareTo(typedOther.isSetSortFields());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetSortFields()) {
+      lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.sortFields, typedOther.sortFields);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
     return 0;
   }
 
@@ -1303,6 +1392,14 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     sb.append("startTime:");
     sb.append(this.startTime);
     first = false;
+    if (!first) sb.append(", ");
+    sb.append("sortFields:");
+    if (this.sortFields == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.sortFields);
+    }
+    first = false;
     sb.append(")");
     return sb.toString();
   }
@@ -1463,6 +1560,25 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
               org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
             }
             break;
+          case 15: // SORT_FIELDS
+            if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
+              {
+                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list53 = iprot.readListBegin();
+                struct.sortFields = new ArrayList<SortField>(_list53.size);
+                for (int _i54 = 0; _i54 < _list53.size; ++_i54)
+                {
+                  SortField _elem55; // required
+                  _elem55 = new SortField();
+                  _elem55.read(iprot);
+                  struct.sortFields.add(_elem55);
+                }
+                iprot.readListEnd();
+              }
+              struct.setSortFieldsIsSet(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);
         }
@@ -1487,9 +1603,9 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         oprot.writeFieldBegin(FACETS_FIELD_DESC);
         {
           oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, struct.facets.size()));
-          for (Facet _iter53 : struct.facets)
+          for (Facet _iter56 : struct.facets)
           {
-            _iter53.write(oprot);
+            _iter56.write(oprot);
           }
           oprot.writeListEnd();
         }
@@ -1531,6 +1647,18 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       oprot.writeFieldBegin(START_TIME_FIELD_DESC);
       oprot.writeI64(struct.startTime);
       oprot.writeFieldEnd();
+      if (struct.sortFields != null) {
+        oprot.writeFieldBegin(SORT_FIELDS_FIELD_DESC);
+        {
+          oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, struct.sortFields.size()));
+          for (SortField _iter57 : struct.sortFields)
+          {
+            _iter57.write(oprot);
+          }
+          oprot.writeListEnd();
+        }
+        oprot.writeFieldEnd();
+      }
       oprot.writeFieldStop();
       oprot.writeStructEnd();
     }
@@ -1585,16 +1713,19 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       if (struct.isSetStartTime()) {
         optionals.set(11);
       }
-      oprot.writeBitSet(optionals, 12);
+      if (struct.isSetSortFields()) {
+        optionals.set(12);
+      }
+      oprot.writeBitSet(optionals, 13);
       if (struct.isSetQuery()) {
         struct.query.write(oprot);
       }
       if (struct.isSetFacets()) {
         {
           oprot.writeI32(struct.facets.size());
-          for (Facet _iter54 : struct.facets)
+          for (Facet _iter58 : struct.facets)
           {
-            _iter54.write(oprot);
+            _iter58.write(oprot);
           }
         }
       }
@@ -1628,12 +1759,21 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       if (struct.isSetStartTime()) {
         oprot.writeI64(struct.startTime);
       }
+      if (struct.isSetSortFields()) {
+        {
+          oprot.writeI32(struct.sortFields.size());
+          for (SortField _iter59 : struct.sortFields)
+          {
+            _iter59.write(oprot);
+          }
+        }
+      }
     }
 
     @Override
     public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, BlurQuery struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(12);
+      BitSet incoming = iprot.readBitSet(13);
       if (incoming.get(0)) {
         struct.query = new Query();
         struct.query.read(iprot);
@@ -1641,14 +1781,14 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       }
       if (incoming.get(1)) {
         {
-          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list55 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, iprot.readI32());
-          struct.facets = new ArrayList<Facet>(_list55.size);
-          for (int _i56 = 0; _i56 < _list55.size; ++_i56)
+          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list60 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, iprot.readI32());
+          struct.facets = new ArrayList<Facet>(_list60.size);
+          for (int _i61 = 0; _i61 < _list60.size; ++_i61)
           {
-            Facet _elem57; // required
-            _elem57 = new Facet();
-            _elem57.read(iprot);
-            struct.facets.add(_elem57);
+            Facet _elem62; // required
+            _elem62 = new Facet();
+            _elem62.read(iprot);
+            struct.facets.add(_elem62);
           }
         }
         struct.setFacetsIsSet(true);
@@ -1694,6 +1834,20 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         struct.startTime = iprot.readI64();
         struct.setStartTimeIsSet(true);
       }
+      if (incoming.get(12)) {
+        {
+          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list63 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, iprot.readI32());
+          struct.sortFields = new ArrayList<SortField>(_list63.size);
+          for (int _i64 = 0; _i64 < _list63.size; ++_i64)
+          {
+            SortField _elem65; // required
+            _elem65 = new SortField();
+            _elem65.read(iprot);
+            struct.sortFields.add(_elem65);
+          }
+        }
+        struct.setSortFieldsIsSet(true);
+      }
     }
   }
 


Mime
View raw message