incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [14/20] Generated the thrift code with new package names.
Date Mon, 03 Sep 2012 16:06:56 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/c9a4a8eb/interface/gen-java/org/apache/blur/thrift/generated/BlurException.java
----------------------------------------------------------------------
diff --git a/interface/gen-java/org/apache/blur/thrift/generated/BlurException.java b/interface/gen-java/org/apache/blur/thrift/generated/BlurException.java
new file mode 100644
index 0000000..ed553d1
--- /dev/null
+++ b/interface/gen-java/org/apache/blur/thrift/generated/BlurException.java
@@ -0,0 +1,436 @@
+/**
+ * Autogenerated by Thrift Compiler (0.7.0)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ */
+package org.apache.blur.thrift.generated;
+
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.EnumMap;
+import java.util.Set;
+import java.util.HashSet;
+import java.util.EnumSet;
+import java.util.Collections;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * BlurException that carries a message plus the original stack
+ * trace (if any).
+ */
+public class BlurException extends Exception implements org.apache.thrift.TBase<BlurException, BlurException._Fields>, java.io.Serializable, Cloneable {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BlurException");
+
+  private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1);
+  private static final org.apache.thrift.protocol.TField STACK_TRACE_STR_FIELD_DESC = new org.apache.thrift.protocol.TField("stackTraceStr", org.apache.thrift.protocol.TType.STRING, (short)2);
+
+  /**
+   * The message in the exception.
+   */
+  public String message; // required
+  /**
+   * The original stack trace (if any).
+   */
+  public String stackTraceStr; // required
+
+  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+    /**
+     * The message in the exception.
+     */
+    MESSAGE((short)1, "message"),
+    /**
+     * The original stack trace (if any).
+     */
+    STACK_TRACE_STR((short)2, "stackTraceStr");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // MESSAGE
+          return MESSAGE;
+        case 2: // STACK_TRACE_STR
+          return STACK_TRACE_STR;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.MESSAGE, new org.apache.thrift.meta_data.FieldMetaData("message", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.STACK_TRACE_STR, new org.apache.thrift.meta_data.FieldMetaData("stackTraceStr", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(BlurException.class, metaDataMap);
+  }
+
+  public BlurException() {
+  }
+
+  public BlurException(
+    String message,
+    String stackTraceStr)
+  {
+    this();
+    this.message = message;
+    this.stackTraceStr = stackTraceStr;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public BlurException(BlurException other) {
+    if (other.isSetMessage()) {
+      this.message = other.message;
+    }
+    if (other.isSetStackTraceStr()) {
+      this.stackTraceStr = other.stackTraceStr;
+    }
+  }
+
+  public BlurException deepCopy() {
+    return new BlurException(this);
+  }
+
+  @Override
+  public void clear() {
+    this.message = null;
+    this.stackTraceStr = null;
+  }
+
+  /**
+   * The message in the exception.
+   */
+  public String getMessage() {
+    return this.message;
+  }
+
+  /**
+   * The message in the exception.
+   */
+  public BlurException setMessage(String message) {
+    this.message = message;
+    return this;
+  }
+
+  public void unsetMessage() {
+    this.message = null;
+  }
+
+  /** Returns true if field message is set (has been assigned a value) and false otherwise */
+  public boolean isSetMessage() {
+    return this.message != null;
+  }
+
+  public void setMessageIsSet(boolean value) {
+    if (!value) {
+      this.message = null;
+    }
+  }
+
+  /**
+   * The original stack trace (if any).
+   */
+  public String getStackTraceStr() {
+    return this.stackTraceStr;
+  }
+
+  /**
+   * The original stack trace (if any).
+   */
+  public BlurException setStackTraceStr(String stackTraceStr) {
+    this.stackTraceStr = stackTraceStr;
+    return this;
+  }
+
+  public void unsetStackTraceStr() {
+    this.stackTraceStr = null;
+  }
+
+  /** Returns true if field stackTraceStr is set (has been assigned a value) and false otherwise */
+  public boolean isSetStackTraceStr() {
+    return this.stackTraceStr != null;
+  }
+
+  public void setStackTraceStrIsSet(boolean value) {
+    if (!value) {
+      this.stackTraceStr = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case MESSAGE:
+      if (value == null) {
+        unsetMessage();
+      } else {
+        setMessage((String)value);
+      }
+      break;
+
+    case STACK_TRACE_STR:
+      if (value == null) {
+        unsetStackTraceStr();
+      } else {
+        setStackTraceStr((String)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case MESSAGE:
+      return getMessage();
+
+    case STACK_TRACE_STR:
+      return getStackTraceStr();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case MESSAGE:
+      return isSetMessage();
+    case STACK_TRACE_STR:
+      return isSetStackTraceStr();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof BlurException)
+      return this.equals((BlurException)that);
+    return false;
+  }
+
+  public boolean equals(BlurException that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_message = true && this.isSetMessage();
+    boolean that_present_message = true && that.isSetMessage();
+    if (this_present_message || that_present_message) {
+      if (!(this_present_message && that_present_message))
+        return false;
+      if (!this.message.equals(that.message))
+        return false;
+    }
+
+    boolean this_present_stackTraceStr = true && this.isSetStackTraceStr();
+    boolean that_present_stackTraceStr = true && that.isSetStackTraceStr();
+    if (this_present_stackTraceStr || that_present_stackTraceStr) {
+      if (!(this_present_stackTraceStr && that_present_stackTraceStr))
+        return false;
+      if (!this.stackTraceStr.equals(that.stackTraceStr))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    return 0;
+  }
+
+  public int compareTo(BlurException other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+    BlurException typedOther = (BlurException)other;
+
+    lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetMessage()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetStackTraceStr()).compareTo(typedOther.isSetStackTraceStr());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetStackTraceStr()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stackTraceStr, typedOther.stackTraceStr);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    org.apache.thrift.protocol.TField field;
+    iprot.readStructBegin();
+    while (true)
+    {
+      field = iprot.readFieldBegin();
+      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
+        break;
+      }
+      switch (field.id) {
+        case 1: // MESSAGE
+          if (field.type == org.apache.thrift.protocol.TType.STRING) {
+            this.message = iprot.readString();
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 2: // STACK_TRACE_STR
+          if (field.type == org.apache.thrift.protocol.TType.STRING) {
+            this.stackTraceStr = iprot.readString();
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        default:
+          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+      }
+      iprot.readFieldEnd();
+    }
+    iprot.readStructEnd();
+
+    // check for required fields of primitive type, which can't be checked in the validate method
+    validate();
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    validate();
+
+    oprot.writeStructBegin(STRUCT_DESC);
+    if (this.message != null) {
+      oprot.writeFieldBegin(MESSAGE_FIELD_DESC);
+      oprot.writeString(this.message);
+      oprot.writeFieldEnd();
+    }
+    if (this.stackTraceStr != null) {
+      oprot.writeFieldBegin(STACK_TRACE_STR_FIELD_DESC);
+      oprot.writeString(this.stackTraceStr);
+      oprot.writeFieldEnd();
+    }
+    oprot.writeFieldStop();
+    oprot.writeStructEnd();
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("BlurException(");
+    boolean first = true;
+
+    sb.append("message:");
+    if (this.message == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.message);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("stackTraceStr:");
+    if (this.stackTraceStr == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.stackTraceStr);
+    }
+    first = false;
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/c9a4a8eb/interface/gen-java/org/apache/blur/thrift/generated/BlurQuery.java
----------------------------------------------------------------------
diff --git a/interface/gen-java/org/apache/blur/thrift/generated/BlurQuery.java b/interface/gen-java/org/apache/blur/thrift/generated/BlurQuery.java
new file mode 100644
index 0000000..3c94819
--- /dev/null
+++ b/interface/gen-java/org/apache/blur/thrift/generated/BlurQuery.java
@@ -0,0 +1,1762 @@
+/**
+ * Autogenerated by Thrift Compiler (0.7.0)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ */
+package org.apache.blur.thrift.generated;
+
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.EnumMap;
+import java.util.Set;
+import java.util.HashSet;
+import java.util.EnumSet;
+import java.util.Collections;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * 
+ */
+public class BlurQuery implements org.apache.thrift.TBase<BlurQuery, BlurQuery._Fields>, java.io.Serializable, Cloneable {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BlurQuery");
+
+  private static final org.apache.thrift.protocol.TField SIMPLE_QUERY_FIELD_DESC = new org.apache.thrift.protocol.TField("simpleQuery", org.apache.thrift.protocol.TType.STRUCT, (short)1);
+  private static final org.apache.thrift.protocol.TField EXPERT_QUERY_FIELD_DESC = new org.apache.thrift.protocol.TField("expertQuery", org.apache.thrift.protocol.TType.STRUCT, (short)2);
+  private static final org.apache.thrift.protocol.TField FACETS_FIELD_DESC = new org.apache.thrift.protocol.TField("facets", org.apache.thrift.protocol.TType.LIST, (short)3);
+  private static final org.apache.thrift.protocol.TField SELECTOR_FIELD_DESC = new org.apache.thrift.protocol.TField("selector", org.apache.thrift.protocol.TType.STRUCT, (short)4);
+  private static final org.apache.thrift.protocol.TField ALLOW_STALE_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("allowStaleData", org.apache.thrift.protocol.TType.BOOL, (short)5);
+  private static final org.apache.thrift.protocol.TField USE_CACHE_IF_PRESENT_FIELD_DESC = new org.apache.thrift.protocol.TField("useCacheIfPresent", org.apache.thrift.protocol.TType.BOOL, (short)6);
+  private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField("start", org.apache.thrift.protocol.TType.I64, (short)7);
+  private static final org.apache.thrift.protocol.TField FETCH_FIELD_DESC = new org.apache.thrift.protocol.TField("fetch", org.apache.thrift.protocol.TType.I32, (short)8);
+  private static final org.apache.thrift.protocol.TField MINIMUM_NUMBER_OF_RESULTS_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumNumberOfResults", org.apache.thrift.protocol.TType.I64, (short)9);
+  private static final org.apache.thrift.protocol.TField MAX_QUERY_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("maxQueryTime", org.apache.thrift.protocol.TType.I64, (short)10);
+  private static final org.apache.thrift.protocol.TField UUID_FIELD_DESC = new org.apache.thrift.protocol.TField("uuid", org.apache.thrift.protocol.TType.I64, (short)11);
+  private static final org.apache.thrift.protocol.TField USER_CONTEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("userContext", org.apache.thrift.protocol.TType.STRING, (short)12);
+  private static final org.apache.thrift.protocol.TField CACHE_RESULT_FIELD_DESC = new org.apache.thrift.protocol.TField("cacheResult", org.apache.thrift.protocol.TType.BOOL, (short)13);
+  private static final org.apache.thrift.protocol.TField START_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("startTime", org.apache.thrift.protocol.TType.I64, (short)14);
+  private static final org.apache.thrift.protocol.TField MODIFY_FILE_CACHES_FIELD_DESC = new org.apache.thrift.protocol.TField("modifyFileCaches", org.apache.thrift.protocol.TType.BOOL, (short)15);
+
+  /**
+   * 
+   */
+  public SimpleQuery simpleQuery; // required
+  /**
+   * 
+   */
+  public ExpertQuery expertQuery; // required
+  /**
+   * 
+   */
+  public List<Facet> facets; // required
+  /**
+   * Selector is used to fetch data in the search results, if null only location ids will be fetched.
+   */
+  public Selector selector; // required
+  /**
+   * @deprecated This value is no longer used.  This allows the query to see the most current data that has been added to the table.
+   */
+  public boolean allowStaleData; // required
+  /**
+   * 
+   */
+  public boolean useCacheIfPresent; // required
+  /**
+   * 
+   */
+  public long start; // required
+  /**
+   * 
+   */
+  public int fetch; // required
+  /**
+   * 
+   */
+  public long minimumNumberOfResults; // required
+  /**
+   * 
+   */
+  public long maxQueryTime; // required
+  /**
+   * 
+   */
+  public long uuid; // required
+  /**
+   * 
+   */
+  public String userContext; // required
+  /**
+   * 
+   */
+  public boolean cacheResult; // required
+  /**
+   * 
+   */
+  public long startTime; // required
+  /**
+   * 
+   */
+  public boolean modifyFileCaches; // required
+
+  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+    /**
+     * 
+     */
+    SIMPLE_QUERY((short)1, "simpleQuery"),
+    /**
+     * 
+     */
+    EXPERT_QUERY((short)2, "expertQuery"),
+    /**
+     * 
+     */
+    FACETS((short)3, "facets"),
+    /**
+     * Selector is used to fetch data in the search results, if null only location ids will be fetched.
+     */
+    SELECTOR((short)4, "selector"),
+    /**
+     * @deprecated This value is no longer used.  This allows the query to see the most current data that has been added to the table.
+     */
+    ALLOW_STALE_DATA((short)5, "allowStaleData"),
+    /**
+     * 
+     */
+    USE_CACHE_IF_PRESENT((short)6, "useCacheIfPresent"),
+    /**
+     * 
+     */
+    START((short)7, "start"),
+    /**
+     * 
+     */
+    FETCH((short)8, "fetch"),
+    /**
+     * 
+     */
+    MINIMUM_NUMBER_OF_RESULTS((short)9, "minimumNumberOfResults"),
+    /**
+     * 
+     */
+    MAX_QUERY_TIME((short)10, "maxQueryTime"),
+    /**
+     * 
+     */
+    UUID((short)11, "uuid"),
+    /**
+     * 
+     */
+    USER_CONTEXT((short)12, "userContext"),
+    /**
+     * 
+     */
+    CACHE_RESULT((short)13, "cacheResult"),
+    /**
+     * 
+     */
+    START_TIME((short)14, "startTime"),
+    /**
+     * 
+     */
+    MODIFY_FILE_CACHES((short)15, "modifyFileCaches");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // SIMPLE_QUERY
+          return SIMPLE_QUERY;
+        case 2: // EXPERT_QUERY
+          return EXPERT_QUERY;
+        case 3: // FACETS
+          return FACETS;
+        case 4: // SELECTOR
+          return SELECTOR;
+        case 5: // ALLOW_STALE_DATA
+          return ALLOW_STALE_DATA;
+        case 6: // USE_CACHE_IF_PRESENT
+          return USE_CACHE_IF_PRESENT;
+        case 7: // START
+          return START;
+        case 8: // FETCH
+          return FETCH;
+        case 9: // MINIMUM_NUMBER_OF_RESULTS
+          return MINIMUM_NUMBER_OF_RESULTS;
+        case 10: // MAX_QUERY_TIME
+          return MAX_QUERY_TIME;
+        case 11: // UUID
+          return UUID;
+        case 12: // USER_CONTEXT
+          return USER_CONTEXT;
+        case 13: // CACHE_RESULT
+          return CACHE_RESULT;
+        case 14: // START_TIME
+          return START_TIME;
+        case 15: // MODIFY_FILE_CACHES
+          return MODIFY_FILE_CACHES;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __ALLOWSTALEDATA_ISSET_ID = 0;
+  private static final int __USECACHEIFPRESENT_ISSET_ID = 1;
+  private static final int __START_ISSET_ID = 2;
+  private static final int __FETCH_ISSET_ID = 3;
+  private static final int __MINIMUMNUMBEROFRESULTS_ISSET_ID = 4;
+  private static final int __MAXQUERYTIME_ISSET_ID = 5;
+  private static final int __UUID_ISSET_ID = 6;
+  private static final int __CACHERESULT_ISSET_ID = 7;
+  private static final int __STARTTIME_ISSET_ID = 8;
+  private static final int __MODIFYFILECACHES_ISSET_ID = 9;
+  private BitSet __isset_bit_vector = new BitSet(10);
+
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.SIMPLE_QUERY, new org.apache.thrift.meta_data.FieldMetaData("simpleQuery", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SimpleQuery.class)));
+    tmpMap.put(_Fields.EXPERT_QUERY, new org.apache.thrift.meta_data.FieldMetaData("expertQuery", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ExpertQuery.class)));
+    tmpMap.put(_Fields.FACETS, new org.apache.thrift.meta_data.FieldMetaData("facets", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
+            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Facet.class))));
+    tmpMap.put(_Fields.SELECTOR, new org.apache.thrift.meta_data.FieldMetaData("selector", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Selector.class)));
+    tmpMap.put(_Fields.ALLOW_STALE_DATA, new org.apache.thrift.meta_data.FieldMetaData("allowStaleData", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.USE_CACHE_IF_PRESENT, new org.apache.thrift.meta_data.FieldMetaData("useCacheIfPresent", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.START, new org.apache.thrift.meta_data.FieldMetaData("start", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.FETCH, new org.apache.thrift.meta_data.FieldMetaData("fetch", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+    tmpMap.put(_Fields.MINIMUM_NUMBER_OF_RESULTS, new org.apache.thrift.meta_data.FieldMetaData("minimumNumberOfResults", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.MAX_QUERY_TIME, new org.apache.thrift.meta_data.FieldMetaData("maxQueryTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.UUID, new org.apache.thrift.meta_data.FieldMetaData("uuid", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.USER_CONTEXT, new org.apache.thrift.meta_data.FieldMetaData("userContext", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.CACHE_RESULT, new org.apache.thrift.meta_data.FieldMetaData("cacheResult", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.START_TIME, new org.apache.thrift.meta_data.FieldMetaData("startTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.MODIFY_FILE_CACHES, new org.apache.thrift.meta_data.FieldMetaData("modifyFileCaches", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(BlurQuery.class, metaDataMap);
+  }
+
+  public BlurQuery() {
+    this.allowStaleData = false;
+
+    this.useCacheIfPresent = true;
+
+    this.start = 0L;
+
+    this.fetch = 10;
+
+    this.minimumNumberOfResults = 9223372036854775807L;
+
+    this.maxQueryTime = 9223372036854775807L;
+
+    this.cacheResult = true;
+
+    this.startTime = 0L;
+
+    this.modifyFileCaches = true;
+
+  }
+
+  public BlurQuery(
+    SimpleQuery simpleQuery,
+    ExpertQuery expertQuery,
+    List<Facet> facets,
+    Selector selector,
+    boolean allowStaleData,
+    boolean useCacheIfPresent,
+    long start,
+    int fetch,
+    long minimumNumberOfResults,
+    long maxQueryTime,
+    long uuid,
+    String userContext,
+    boolean cacheResult,
+    long startTime,
+    boolean modifyFileCaches)
+  {
+    this();
+    this.simpleQuery = simpleQuery;
+    this.expertQuery = expertQuery;
+    this.facets = facets;
+    this.selector = selector;
+    this.allowStaleData = allowStaleData;
+    setAllowStaleDataIsSet(true);
+    this.useCacheIfPresent = useCacheIfPresent;
+    setUseCacheIfPresentIsSet(true);
+    this.start = start;
+    setStartIsSet(true);
+    this.fetch = fetch;
+    setFetchIsSet(true);
+    this.minimumNumberOfResults = minimumNumberOfResults;
+    setMinimumNumberOfResultsIsSet(true);
+    this.maxQueryTime = maxQueryTime;
+    setMaxQueryTimeIsSet(true);
+    this.uuid = uuid;
+    setUuidIsSet(true);
+    this.userContext = userContext;
+    this.cacheResult = cacheResult;
+    setCacheResultIsSet(true);
+    this.startTime = startTime;
+    setStartTimeIsSet(true);
+    this.modifyFileCaches = modifyFileCaches;
+    setModifyFileCachesIsSet(true);
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public BlurQuery(BlurQuery other) {
+    __isset_bit_vector.clear();
+    __isset_bit_vector.or(other.__isset_bit_vector);
+    if (other.isSetSimpleQuery()) {
+      this.simpleQuery = new SimpleQuery(other.simpleQuery);
+    }
+    if (other.isSetExpertQuery()) {
+      this.expertQuery = new ExpertQuery(other.expertQuery);
+    }
+    if (other.isSetFacets()) {
+      List<Facet> __this__facets = new ArrayList<Facet>();
+      for (Facet other_element : other.facets) {
+        __this__facets.add(new Facet(other_element));
+      }
+      this.facets = __this__facets;
+    }
+    if (other.isSetSelector()) {
+      this.selector = new Selector(other.selector);
+    }
+    this.allowStaleData = other.allowStaleData;
+    this.useCacheIfPresent = other.useCacheIfPresent;
+    this.start = other.start;
+    this.fetch = other.fetch;
+    this.minimumNumberOfResults = other.minimumNumberOfResults;
+    this.maxQueryTime = other.maxQueryTime;
+    this.uuid = other.uuid;
+    if (other.isSetUserContext()) {
+      this.userContext = other.userContext;
+    }
+    this.cacheResult = other.cacheResult;
+    this.startTime = other.startTime;
+    this.modifyFileCaches = other.modifyFileCaches;
+  }
+
+  public BlurQuery deepCopy() {
+    return new BlurQuery(this);
+  }
+
+  @Override
+  public void clear() {
+    this.simpleQuery = null;
+    this.expertQuery = null;
+    this.facets = null;
+    this.selector = null;
+    this.allowStaleData = false;
+
+    this.useCacheIfPresent = true;
+
+    this.start = 0L;
+
+    this.fetch = 10;
+
+    this.minimumNumberOfResults = 9223372036854775807L;
+
+    this.maxQueryTime = 9223372036854775807L;
+
+    setUuidIsSet(false);
+    this.uuid = 0;
+    this.userContext = null;
+    this.cacheResult = true;
+
+    this.startTime = 0L;
+
+    this.modifyFileCaches = true;
+
+  }
+
+  /**
+   * 
+   */
+  public SimpleQuery getSimpleQuery() {
+    return this.simpleQuery;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setSimpleQuery(SimpleQuery simpleQuery) {
+    this.simpleQuery = simpleQuery;
+    return this;
+  }
+
+  public void unsetSimpleQuery() {
+    this.simpleQuery = null;
+  }
+
+  /** Returns true if field simpleQuery is set (has been assigned a value) and false otherwise */
+  public boolean isSetSimpleQuery() {
+    return this.simpleQuery != null;
+  }
+
+  public void setSimpleQueryIsSet(boolean value) {
+    if (!value) {
+      this.simpleQuery = null;
+    }
+  }
+
+  /**
+   * 
+   */
+  public ExpertQuery getExpertQuery() {
+    return this.expertQuery;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setExpertQuery(ExpertQuery expertQuery) {
+    this.expertQuery = expertQuery;
+    return this;
+  }
+
+  public void unsetExpertQuery() {
+    this.expertQuery = null;
+  }
+
+  /** Returns true if field expertQuery is set (has been assigned a value) and false otherwise */
+  public boolean isSetExpertQuery() {
+    return this.expertQuery != null;
+  }
+
+  public void setExpertQueryIsSet(boolean value) {
+    if (!value) {
+      this.expertQuery = null;
+    }
+  }
+
+  public int getFacetsSize() {
+    return (this.facets == null) ? 0 : this.facets.size();
+  }
+
+  public java.util.Iterator<Facet> getFacetsIterator() {
+    return (this.facets == null) ? null : this.facets.iterator();
+  }
+
+  public void addToFacets(Facet elem) {
+    if (this.facets == null) {
+      this.facets = new ArrayList<Facet>();
+    }
+    this.facets.add(elem);
+  }
+
+  /**
+   * 
+   */
+  public List<Facet> getFacets() {
+    return this.facets;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setFacets(List<Facet> facets) {
+    this.facets = facets;
+    return this;
+  }
+
+  public void unsetFacets() {
+    this.facets = null;
+  }
+
+  /** Returns true if field facets is set (has been assigned a value) and false otherwise */
+  public boolean isSetFacets() {
+    return this.facets != null;
+  }
+
+  public void setFacetsIsSet(boolean value) {
+    if (!value) {
+      this.facets = null;
+    }
+  }
+
+  /**
+   * Selector is used to fetch data in the search results, if null only location ids will be fetched.
+   */
+  public Selector getSelector() {
+    return this.selector;
+  }
+
+  /**
+   * Selector is used to fetch data in the search results, if null only location ids will be fetched.
+   */
+  public BlurQuery setSelector(Selector selector) {
+    this.selector = selector;
+    return this;
+  }
+
+  public void unsetSelector() {
+    this.selector = null;
+  }
+
+  /** Returns true if field selector is set (has been assigned a value) and false otherwise */
+  public boolean isSetSelector() {
+    return this.selector != null;
+  }
+
+  public void setSelectorIsSet(boolean value) {
+    if (!value) {
+      this.selector = null;
+    }
+  }
+
+  /**
+   * @deprecated This value is no longer used.  This allows the query to see the most current data that has been added to the table.
+   */
+  public boolean isAllowStaleData() {
+    return this.allowStaleData;
+  }
+
+  /**
+   * @deprecated This value is no longer used.  This allows the query to see the most current data that has been added to the table.
+   */
+  public BlurQuery setAllowStaleData(boolean allowStaleData) {
+    this.allowStaleData = allowStaleData;
+    setAllowStaleDataIsSet(true);
+    return this;
+  }
+
+  public void unsetAllowStaleData() {
+    __isset_bit_vector.clear(__ALLOWSTALEDATA_ISSET_ID);
+  }
+
+  /** Returns true if field allowStaleData is set (has been assigned a value) and false otherwise */
+  public boolean isSetAllowStaleData() {
+    return __isset_bit_vector.get(__ALLOWSTALEDATA_ISSET_ID);
+  }
+
+  public void setAllowStaleDataIsSet(boolean value) {
+    __isset_bit_vector.set(__ALLOWSTALEDATA_ISSET_ID, value);
+  }
+
+  /**
+   * 
+   */
+  public boolean isUseCacheIfPresent() {
+    return this.useCacheIfPresent;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setUseCacheIfPresent(boolean useCacheIfPresent) {
+    this.useCacheIfPresent = useCacheIfPresent;
+    setUseCacheIfPresentIsSet(true);
+    return this;
+  }
+
+  public void unsetUseCacheIfPresent() {
+    __isset_bit_vector.clear(__USECACHEIFPRESENT_ISSET_ID);
+  }
+
+  /** Returns true if field useCacheIfPresent is set (has been assigned a value) and false otherwise */
+  public boolean isSetUseCacheIfPresent() {
+    return __isset_bit_vector.get(__USECACHEIFPRESENT_ISSET_ID);
+  }
+
+  public void setUseCacheIfPresentIsSet(boolean value) {
+    __isset_bit_vector.set(__USECACHEIFPRESENT_ISSET_ID, value);
+  }
+
+  /**
+   * 
+   */
+  public long getStart() {
+    return this.start;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setStart(long start) {
+    this.start = start;
+    setStartIsSet(true);
+    return this;
+  }
+
+  public void unsetStart() {
+    __isset_bit_vector.clear(__START_ISSET_ID);
+  }
+
+  /** Returns true if field start is set (has been assigned a value) and false otherwise */
+  public boolean isSetStart() {
+    return __isset_bit_vector.get(__START_ISSET_ID);
+  }
+
+  public void setStartIsSet(boolean value) {
+    __isset_bit_vector.set(__START_ISSET_ID, value);
+  }
+
+  /**
+   * 
+   */
+  public int getFetch() {
+    return this.fetch;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setFetch(int fetch) {
+    this.fetch = fetch;
+    setFetchIsSet(true);
+    return this;
+  }
+
+  public void unsetFetch() {
+    __isset_bit_vector.clear(__FETCH_ISSET_ID);
+  }
+
+  /** Returns true if field fetch is set (has been assigned a value) and false otherwise */
+  public boolean isSetFetch() {
+    return __isset_bit_vector.get(__FETCH_ISSET_ID);
+  }
+
+  public void setFetchIsSet(boolean value) {
+    __isset_bit_vector.set(__FETCH_ISSET_ID, value);
+  }
+
+  /**
+   * 
+   */
+  public long getMinimumNumberOfResults() {
+    return this.minimumNumberOfResults;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setMinimumNumberOfResults(long minimumNumberOfResults) {
+    this.minimumNumberOfResults = minimumNumberOfResults;
+    setMinimumNumberOfResultsIsSet(true);
+    return this;
+  }
+
+  public void unsetMinimumNumberOfResults() {
+    __isset_bit_vector.clear(__MINIMUMNUMBEROFRESULTS_ISSET_ID);
+  }
+
+  /** Returns true if field minimumNumberOfResults is set (has been assigned a value) and false otherwise */
+  public boolean isSetMinimumNumberOfResults() {
+    return __isset_bit_vector.get(__MINIMUMNUMBEROFRESULTS_ISSET_ID);
+  }
+
+  public void setMinimumNumberOfResultsIsSet(boolean value) {
+    __isset_bit_vector.set(__MINIMUMNUMBEROFRESULTS_ISSET_ID, value);
+  }
+
+  /**
+   * 
+   */
+  public long getMaxQueryTime() {
+    return this.maxQueryTime;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setMaxQueryTime(long maxQueryTime) {
+    this.maxQueryTime = maxQueryTime;
+    setMaxQueryTimeIsSet(true);
+    return this;
+  }
+
+  public void unsetMaxQueryTime() {
+    __isset_bit_vector.clear(__MAXQUERYTIME_ISSET_ID);
+  }
+
+  /** Returns true if field maxQueryTime is set (has been assigned a value) and false otherwise */
+  public boolean isSetMaxQueryTime() {
+    return __isset_bit_vector.get(__MAXQUERYTIME_ISSET_ID);
+  }
+
+  public void setMaxQueryTimeIsSet(boolean value) {
+    __isset_bit_vector.set(__MAXQUERYTIME_ISSET_ID, value);
+  }
+
+  /**
+   * 
+   */
+  public long getUuid() {
+    return this.uuid;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setUuid(long uuid) {
+    this.uuid = uuid;
+    setUuidIsSet(true);
+    return this;
+  }
+
+  public void unsetUuid() {
+    __isset_bit_vector.clear(__UUID_ISSET_ID);
+  }
+
+  /** Returns true if field uuid is set (has been assigned a value) and false otherwise */
+  public boolean isSetUuid() {
+    return __isset_bit_vector.get(__UUID_ISSET_ID);
+  }
+
+  public void setUuidIsSet(boolean value) {
+    __isset_bit_vector.set(__UUID_ISSET_ID, value);
+  }
+
+  /**
+   * 
+   */
+  public String getUserContext() {
+    return this.userContext;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setUserContext(String userContext) {
+    this.userContext = userContext;
+    return this;
+  }
+
+  public void unsetUserContext() {
+    this.userContext = null;
+  }
+
+  /** Returns true if field userContext is set (has been assigned a value) and false otherwise */
+  public boolean isSetUserContext() {
+    return this.userContext != null;
+  }
+
+  public void setUserContextIsSet(boolean value) {
+    if (!value) {
+      this.userContext = null;
+    }
+  }
+
+  /**
+   * 
+   */
+  public boolean isCacheResult() {
+    return this.cacheResult;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setCacheResult(boolean cacheResult) {
+    this.cacheResult = cacheResult;
+    setCacheResultIsSet(true);
+    return this;
+  }
+
+  public void unsetCacheResult() {
+    __isset_bit_vector.clear(__CACHERESULT_ISSET_ID);
+  }
+
+  /** Returns true if field cacheResult is set (has been assigned a value) and false otherwise */
+  public boolean isSetCacheResult() {
+    return __isset_bit_vector.get(__CACHERESULT_ISSET_ID);
+  }
+
+  public void setCacheResultIsSet(boolean value) {
+    __isset_bit_vector.set(__CACHERESULT_ISSET_ID, value);
+  }
+
+  /**
+   * 
+   */
+  public long getStartTime() {
+    return this.startTime;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setStartTime(long startTime) {
+    this.startTime = startTime;
+    setStartTimeIsSet(true);
+    return this;
+  }
+
+  public void unsetStartTime() {
+    __isset_bit_vector.clear(__STARTTIME_ISSET_ID);
+  }
+
+  /** Returns true if field startTime is set (has been assigned a value) and false otherwise */
+  public boolean isSetStartTime() {
+    return __isset_bit_vector.get(__STARTTIME_ISSET_ID);
+  }
+
+  public void setStartTimeIsSet(boolean value) {
+    __isset_bit_vector.set(__STARTTIME_ISSET_ID, value);
+  }
+
+  /**
+   * 
+   */
+  public boolean isModifyFileCaches() {
+    return this.modifyFileCaches;
+  }
+
+  /**
+   * 
+   */
+  public BlurQuery setModifyFileCaches(boolean modifyFileCaches) {
+    this.modifyFileCaches = modifyFileCaches;
+    setModifyFileCachesIsSet(true);
+    return this;
+  }
+
+  public void unsetModifyFileCaches() {
+    __isset_bit_vector.clear(__MODIFYFILECACHES_ISSET_ID);
+  }
+
+  /** Returns true if field modifyFileCaches is set (has been assigned a value) and false otherwise */
+  public boolean isSetModifyFileCaches() {
+    return __isset_bit_vector.get(__MODIFYFILECACHES_ISSET_ID);
+  }
+
+  public void setModifyFileCachesIsSet(boolean value) {
+    __isset_bit_vector.set(__MODIFYFILECACHES_ISSET_ID, value);
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case SIMPLE_QUERY:
+      if (value == null) {
+        unsetSimpleQuery();
+      } else {
+        setSimpleQuery((SimpleQuery)value);
+      }
+      break;
+
+    case EXPERT_QUERY:
+      if (value == null) {
+        unsetExpertQuery();
+      } else {
+        setExpertQuery((ExpertQuery)value);
+      }
+      break;
+
+    case FACETS:
+      if (value == null) {
+        unsetFacets();
+      } else {
+        setFacets((List<Facet>)value);
+      }
+      break;
+
+    case SELECTOR:
+      if (value == null) {
+        unsetSelector();
+      } else {
+        setSelector((Selector)value);
+      }
+      break;
+
+    case ALLOW_STALE_DATA:
+      if (value == null) {
+        unsetAllowStaleData();
+      } else {
+        setAllowStaleData((Boolean)value);
+      }
+      break;
+
+    case USE_CACHE_IF_PRESENT:
+      if (value == null) {
+        unsetUseCacheIfPresent();
+      } else {
+        setUseCacheIfPresent((Boolean)value);
+      }
+      break;
+
+    case START:
+      if (value == null) {
+        unsetStart();
+      } else {
+        setStart((Long)value);
+      }
+      break;
+
+    case FETCH:
+      if (value == null) {
+        unsetFetch();
+      } else {
+        setFetch((Integer)value);
+      }
+      break;
+
+    case MINIMUM_NUMBER_OF_RESULTS:
+      if (value == null) {
+        unsetMinimumNumberOfResults();
+      } else {
+        setMinimumNumberOfResults((Long)value);
+      }
+      break;
+
+    case MAX_QUERY_TIME:
+      if (value == null) {
+        unsetMaxQueryTime();
+      } else {
+        setMaxQueryTime((Long)value);
+      }
+      break;
+
+    case UUID:
+      if (value == null) {
+        unsetUuid();
+      } else {
+        setUuid((Long)value);
+      }
+      break;
+
+    case USER_CONTEXT:
+      if (value == null) {
+        unsetUserContext();
+      } else {
+        setUserContext((String)value);
+      }
+      break;
+
+    case CACHE_RESULT:
+      if (value == null) {
+        unsetCacheResult();
+      } else {
+        setCacheResult((Boolean)value);
+      }
+      break;
+
+    case START_TIME:
+      if (value == null) {
+        unsetStartTime();
+      } else {
+        setStartTime((Long)value);
+      }
+      break;
+
+    case MODIFY_FILE_CACHES:
+      if (value == null) {
+        unsetModifyFileCaches();
+      } else {
+        setModifyFileCaches((Boolean)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case SIMPLE_QUERY:
+      return getSimpleQuery();
+
+    case EXPERT_QUERY:
+      return getExpertQuery();
+
+    case FACETS:
+      return getFacets();
+
+    case SELECTOR:
+      return getSelector();
+
+    case ALLOW_STALE_DATA:
+      return Boolean.valueOf(isAllowStaleData());
+
+    case USE_CACHE_IF_PRESENT:
+      return Boolean.valueOf(isUseCacheIfPresent());
+
+    case START:
+      return Long.valueOf(getStart());
+
+    case FETCH:
+      return Integer.valueOf(getFetch());
+
+    case MINIMUM_NUMBER_OF_RESULTS:
+      return Long.valueOf(getMinimumNumberOfResults());
+
+    case MAX_QUERY_TIME:
+      return Long.valueOf(getMaxQueryTime());
+
+    case UUID:
+      return Long.valueOf(getUuid());
+
+    case USER_CONTEXT:
+      return getUserContext();
+
+    case CACHE_RESULT:
+      return Boolean.valueOf(isCacheResult());
+
+    case START_TIME:
+      return Long.valueOf(getStartTime());
+
+    case MODIFY_FILE_CACHES:
+      return Boolean.valueOf(isModifyFileCaches());
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case SIMPLE_QUERY:
+      return isSetSimpleQuery();
+    case EXPERT_QUERY:
+      return isSetExpertQuery();
+    case FACETS:
+      return isSetFacets();
+    case SELECTOR:
+      return isSetSelector();
+    case ALLOW_STALE_DATA:
+      return isSetAllowStaleData();
+    case USE_CACHE_IF_PRESENT:
+      return isSetUseCacheIfPresent();
+    case START:
+      return isSetStart();
+    case FETCH:
+      return isSetFetch();
+    case MINIMUM_NUMBER_OF_RESULTS:
+      return isSetMinimumNumberOfResults();
+    case MAX_QUERY_TIME:
+      return isSetMaxQueryTime();
+    case UUID:
+      return isSetUuid();
+    case USER_CONTEXT:
+      return isSetUserContext();
+    case CACHE_RESULT:
+      return isSetCacheResult();
+    case START_TIME:
+      return isSetStartTime();
+    case MODIFY_FILE_CACHES:
+      return isSetModifyFileCaches();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof BlurQuery)
+      return this.equals((BlurQuery)that);
+    return false;
+  }
+
+  public boolean equals(BlurQuery that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_simpleQuery = true && this.isSetSimpleQuery();
+    boolean that_present_simpleQuery = true && that.isSetSimpleQuery();
+    if (this_present_simpleQuery || that_present_simpleQuery) {
+      if (!(this_present_simpleQuery && that_present_simpleQuery))
+        return false;
+      if (!this.simpleQuery.equals(that.simpleQuery))
+        return false;
+    }
+
+    boolean this_present_expertQuery = true && this.isSetExpertQuery();
+    boolean that_present_expertQuery = true && that.isSetExpertQuery();
+    if (this_present_expertQuery || that_present_expertQuery) {
+      if (!(this_present_expertQuery && that_present_expertQuery))
+        return false;
+      if (!this.expertQuery.equals(that.expertQuery))
+        return false;
+    }
+
+    boolean this_present_facets = true && this.isSetFacets();
+    boolean that_present_facets = true && that.isSetFacets();
+    if (this_present_facets || that_present_facets) {
+      if (!(this_present_facets && that_present_facets))
+        return false;
+      if (!this.facets.equals(that.facets))
+        return false;
+    }
+
+    boolean this_present_selector = true && this.isSetSelector();
+    boolean that_present_selector = true && that.isSetSelector();
+    if (this_present_selector || that_present_selector) {
+      if (!(this_present_selector && that_present_selector))
+        return false;
+      if (!this.selector.equals(that.selector))
+        return false;
+    }
+
+    boolean this_present_allowStaleData = true;
+    boolean that_present_allowStaleData = true;
+    if (this_present_allowStaleData || that_present_allowStaleData) {
+      if (!(this_present_allowStaleData && that_present_allowStaleData))
+        return false;
+      if (this.allowStaleData != that.allowStaleData)
+        return false;
+    }
+
+    boolean this_present_useCacheIfPresent = true;
+    boolean that_present_useCacheIfPresent = true;
+    if (this_present_useCacheIfPresent || that_present_useCacheIfPresent) {
+      if (!(this_present_useCacheIfPresent && that_present_useCacheIfPresent))
+        return false;
+      if (this.useCacheIfPresent != that.useCacheIfPresent)
+        return false;
+    }
+
+    boolean this_present_start = true;
+    boolean that_present_start = true;
+    if (this_present_start || that_present_start) {
+      if (!(this_present_start && that_present_start))
+        return false;
+      if (this.start != that.start)
+        return false;
+    }
+
+    boolean this_present_fetch = true;
+    boolean that_present_fetch = true;
+    if (this_present_fetch || that_present_fetch) {
+      if (!(this_present_fetch && that_present_fetch))
+        return false;
+      if (this.fetch != that.fetch)
+        return false;
+    }
+
+    boolean this_present_minimumNumberOfResults = true;
+    boolean that_present_minimumNumberOfResults = true;
+    if (this_present_minimumNumberOfResults || that_present_minimumNumberOfResults) {
+      if (!(this_present_minimumNumberOfResults && that_present_minimumNumberOfResults))
+        return false;
+      if (this.minimumNumberOfResults != that.minimumNumberOfResults)
+        return false;
+    }
+
+    boolean this_present_maxQueryTime = true;
+    boolean that_present_maxQueryTime = true;
+    if (this_present_maxQueryTime || that_present_maxQueryTime) {
+      if (!(this_present_maxQueryTime && that_present_maxQueryTime))
+        return false;
+      if (this.maxQueryTime != that.maxQueryTime)
+        return false;
+    }
+
+    boolean this_present_uuid = true;
+    boolean that_present_uuid = true;
+    if (this_present_uuid || that_present_uuid) {
+      if (!(this_present_uuid && that_present_uuid))
+        return false;
+      if (this.uuid != that.uuid)
+        return false;
+    }
+
+    boolean this_present_userContext = true && this.isSetUserContext();
+    boolean that_present_userContext = true && that.isSetUserContext();
+    if (this_present_userContext || that_present_userContext) {
+      if (!(this_present_userContext && that_present_userContext))
+        return false;
+      if (!this.userContext.equals(that.userContext))
+        return false;
+    }
+
+    boolean this_present_cacheResult = true;
+    boolean that_present_cacheResult = true;
+    if (this_present_cacheResult || that_present_cacheResult) {
+      if (!(this_present_cacheResult && that_present_cacheResult))
+        return false;
+      if (this.cacheResult != that.cacheResult)
+        return false;
+    }
+
+    boolean this_present_startTime = true;
+    boolean that_present_startTime = true;
+    if (this_present_startTime || that_present_startTime) {
+      if (!(this_present_startTime && that_present_startTime))
+        return false;
+      if (this.startTime != that.startTime)
+        return false;
+    }
+
+    boolean this_present_modifyFileCaches = true;
+    boolean that_present_modifyFileCaches = true;
+    if (this_present_modifyFileCaches || that_present_modifyFileCaches) {
+      if (!(this_present_modifyFileCaches && that_present_modifyFileCaches))
+        return false;
+      if (this.modifyFileCaches != that.modifyFileCaches)
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    return 0;
+  }
+
+  public int compareTo(BlurQuery other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+    BlurQuery typedOther = (BlurQuery)other;
+
+    lastComparison = Boolean.valueOf(isSetSimpleQuery()).compareTo(typedOther.isSetSimpleQuery());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetSimpleQuery()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.simpleQuery, typedOther.simpleQuery);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetExpertQuery()).compareTo(typedOther.isSetExpertQuery());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetExpertQuery()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expertQuery, typedOther.expertQuery);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetFacets()).compareTo(typedOther.isSetFacets());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetFacets()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.facets, typedOther.facets);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetSelector()).compareTo(typedOther.isSetSelector());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetSelector()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.selector, typedOther.selector);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetAllowStaleData()).compareTo(typedOther.isSetAllowStaleData());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetAllowStaleData()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.allowStaleData, typedOther.allowStaleData);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetUseCacheIfPresent()).compareTo(typedOther.isSetUseCacheIfPresent());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetUseCacheIfPresent()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.useCacheIfPresent, typedOther.useCacheIfPresent);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetStart()).compareTo(typedOther.isSetStart());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetStart()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.start, typedOther.start);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetFetch()).compareTo(typedOther.isSetFetch());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetFetch()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fetch, typedOther.fetch);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetMinimumNumberOfResults()).compareTo(typedOther.isSetMinimumNumberOfResults());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetMinimumNumberOfResults()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minimumNumberOfResults, typedOther.minimumNumberOfResults);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetMaxQueryTime()).compareTo(typedOther.isSetMaxQueryTime());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetMaxQueryTime()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxQueryTime, typedOther.maxQueryTime);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetUuid()).compareTo(typedOther.isSetUuid());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetUuid()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.uuid, typedOther.uuid);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetUserContext()).compareTo(typedOther.isSetUserContext());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetUserContext()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userContext, typedOther.userContext);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetCacheResult()).compareTo(typedOther.isSetCacheResult());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetCacheResult()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cacheResult, typedOther.cacheResult);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetStartTime()).compareTo(typedOther.isSetStartTime());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetStartTime()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startTime, typedOther.startTime);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetModifyFileCaches()).compareTo(typedOther.isSetModifyFileCaches());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetModifyFileCaches()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modifyFileCaches, typedOther.modifyFileCaches);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    org.apache.thrift.protocol.TField field;
+    iprot.readStructBegin();
+    while (true)
+    {
+      field = iprot.readFieldBegin();
+      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
+        break;
+      }
+      switch (field.id) {
+        case 1: // SIMPLE_QUERY
+          if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
+            this.simpleQuery = new SimpleQuery();
+            this.simpleQuery.read(iprot);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 2: // EXPERT_QUERY
+          if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
+            this.expertQuery = new ExpertQuery();
+            this.expertQuery.read(iprot);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 3: // FACETS
+          if (field.type == org.apache.thrift.protocol.TType.LIST) {
+            {
+              org.apache.thrift.protocol.TList _list21 = iprot.readListBegin();
+              this.facets = new ArrayList<Facet>(_list21.size);
+              for (int _i22 = 0; _i22 < _list21.size; ++_i22)
+              {
+                Facet _elem23; // required
+                _elem23 = new Facet();
+                _elem23.read(iprot);
+                this.facets.add(_elem23);
+              }
+              iprot.readListEnd();
+            }
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 4: // SELECTOR
+          if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
+            this.selector = new Selector();
+            this.selector.read(iprot);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 5: // ALLOW_STALE_DATA
+          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
+            this.allowStaleData = iprot.readBool();
+            setAllowStaleDataIsSet(true);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 6: // USE_CACHE_IF_PRESENT
+          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
+            this.useCacheIfPresent = iprot.readBool();
+            setUseCacheIfPresentIsSet(true);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 7: // START
+          if (field.type == org.apache.thrift.protocol.TType.I64) {
+            this.start = iprot.readI64();
+            setStartIsSet(true);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 8: // FETCH
+          if (field.type == org.apache.thrift.protocol.TType.I32) {
+            this.fetch = iprot.readI32();
+            setFetchIsSet(true);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 9: // MINIMUM_NUMBER_OF_RESULTS
+          if (field.type == org.apache.thrift.protocol.TType.I64) {
+            this.minimumNumberOfResults = iprot.readI64();
+            setMinimumNumberOfResultsIsSet(true);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 10: // MAX_QUERY_TIME
+          if (field.type == org.apache.thrift.protocol.TType.I64) {
+            this.maxQueryTime = iprot.readI64();
+            setMaxQueryTimeIsSet(true);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 11: // UUID
+          if (field.type == org.apache.thrift.protocol.TType.I64) {
+            this.uuid = iprot.readI64();
+            setUuidIsSet(true);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 12: // USER_CONTEXT
+          if (field.type == org.apache.thrift.protocol.TType.STRING) {
+            this.userContext = iprot.readString();
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 13: // CACHE_RESULT
+          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
+            this.cacheResult = iprot.readBool();
+            setCacheResultIsSet(true);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 14: // START_TIME
+          if (field.type == org.apache.thrift.protocol.TType.I64) {
+            this.startTime = iprot.readI64();
+            setStartTimeIsSet(true);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        case 15: // MODIFY_FILE_CACHES
+          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
+            this.modifyFileCaches = iprot.readBool();
+            setModifyFileCachesIsSet(true);
+          } else { 
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+          }
+          break;
+        default:
+          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
+      }
+      iprot.readFieldEnd();
+    }
+    iprot.readStructEnd();
+
+    // check for required fields of primitive type, which can't be checked in the validate method
+    validate();
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    validate();
+
+    oprot.writeStructBegin(STRUCT_DESC);
+    if (this.simpleQuery != null) {
+      oprot.writeFieldBegin(SIMPLE_QUERY_FIELD_DESC);
+      this.simpleQuery.write(oprot);
+      oprot.writeFieldEnd();
+    }
+    if (this.expertQuery != null) {
+      oprot.writeFieldBegin(EXPERT_QUERY_FIELD_DESC);
+      this.expertQuery.write(oprot);
+      oprot.writeFieldEnd();
+    }
+    if (this.facets != null) {
+      oprot.writeFieldBegin(FACETS_FIELD_DESC);
+      {
+        oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.facets.size()));
+        for (Facet _iter24 : this.facets)
+        {
+          _iter24.write(oprot);
+        }
+        oprot.writeListEnd();
+      }
+      oprot.writeFieldEnd();
+    }
+    if (this.selector != null) {
+      oprot.writeFieldBegin(SELECTOR_FIELD_DESC);
+      this.selector.write(oprot);
+      oprot.writeFieldEnd();
+    }
+    oprot.writeFieldBegin(ALLOW_STALE_DATA_FIELD_DESC);
+    oprot.writeBool(this.allowStaleData);
+    oprot.writeFieldEnd();
+    oprot.writeFieldBegin(USE_CACHE_IF_PRESENT_FIELD_DESC);
+    oprot.writeBool(this.useCacheIfPresent);
+    oprot.writeFieldEnd();
+    oprot.writeFieldBegin(START_FIELD_DESC);
+    oprot.writeI64(this.start);
+    oprot.writeFieldEnd();
+    oprot.writeFieldBegin(FETCH_FIELD_DESC);
+    oprot.writeI32(this.fetch);
+    oprot.writeFieldEnd();
+    oprot.writeFieldBegin(MINIMUM_NUMBER_OF_RESULTS_FIELD_DESC);
+    oprot.writeI64(this.minimumNumberOfResults);
+    oprot.writeFieldEnd();
+    oprot.writeFieldBegin(MAX_QUERY_TIME_FIELD_DESC);
+    oprot.writeI64(this.maxQueryTime);
+    oprot.writeFieldEnd();
+    oprot.writeFieldBegin(UUID_FIELD_DESC);
+    oprot.writeI64(this.uuid);
+    oprot.writeFieldEnd();
+    if (this.userContext != null) {
+      oprot.writeFieldBegin(USER_CONTEXT_FIELD_DESC);
+      oprot.writeString(this.userContext);
+      oprot.writeFieldEnd();
+    }
+    oprot.writeFieldBegin(CACHE_RESULT_FIELD_DESC);
+    oprot.writeBool(this.cacheResult);
+    oprot.writeFieldEnd();
+    oprot.writeFieldBegin(START_TIME_FIELD_DESC);
+    oprot.writeI64(this.startTime);
+    oprot.writeFieldEnd();
+    oprot.writeFieldBegin(MODIFY_FILE_CACHES_FIELD_DESC);
+    oprot.writeBool(this.modifyFileCaches);
+    oprot.writeFieldEnd();
+    oprot.writeFieldStop();
+    oprot.writeStructEnd();
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("BlurQuery(");
+    boolean first = true;
+
+    sb.append("simpleQuery:");
+    if (this.simpleQuery == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.simpleQuery);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("expertQuery:");
+    if (this.expertQuery == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.expertQuery);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("facets:");
+    if (this.facets == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.facets);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("selector:");
+    if (this.selector == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.selector);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("allowStaleData:");
+    sb.append(this.allowStaleData);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("useCacheIfPresent:");
+    sb.append(this.useCacheIfPresent);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("start:");
+    sb.append(this.start);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("fetch:");
+    sb.append(this.fetch);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("minimumNumberOfResults:");
+    sb.append(this.minimumNumberOfResults);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("maxQueryTime:");
+    sb.append(this.maxQueryTime);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("uuid:");
+    sb.append(this.uuid);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("userContext:");
+    if (this.userContext == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.userContext);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("cacheResult:");
+    sb.append(this.cacheResult);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("startTime:");
+    sb.append(this.startTime);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("modifyFileCaches:");
+    sb.append(this.modifyFileCaches);
+    first = false;
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bit_vector = new BitSet(1);
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+}
+


Mime
View raw message