incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [14/18] Removing used dirs.
Date Thu, 28 Mar 2013 23:36:11 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/32e1d176/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
deleted file mode 100644
index 5e60ca2..0000000
--- a/interface/gen-java/org/apache/blur/thrift/generated/BlurException.java
+++ /dev/null
@@ -1,533 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-package org.apache.blur.thrift.generated;
-
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-import org.apache.thrift.scheme.IScheme;
-import org.apache.thrift.scheme.SchemeFactory;
-import org.apache.thrift.scheme.StandardScheme;
-
-import org.apache.thrift.scheme.TupleScheme;
-import org.apache.thrift.protocol.TTupleProtocol;
-import org.apache.thrift.protocol.TProtocolException;
-import org.apache.thrift.EncodingUtils;
-import org.apache.thrift.TException;
-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 TException 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);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new BlurExceptionStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new BlurExceptionTupleSchemeFactory());
-  }
-
-  /**
-   * 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 {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @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
-    // check for sub-struct validity
-  }
-
-  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);
-    }
-  }
-
-  private static class BlurExceptionStandardSchemeFactory implements SchemeFactory {
-    public BlurExceptionStandardScheme getScheme() {
-      return new BlurExceptionStandardScheme();
-    }
-  }
-
-  private static class BlurExceptionStandardScheme extends StandardScheme<BlurException> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, BlurException struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // MESSAGE
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.message = iprot.readString();
-              struct.setMessageIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // STACK_TRACE_STR
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.stackTraceStr = iprot.readString();
-              struct.setStackTraceStrIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-
-      // check for required fields of primitive type, which can't be checked in the validate method
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, BlurException struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.message != null) {
-        oprot.writeFieldBegin(MESSAGE_FIELD_DESC);
-        oprot.writeString(struct.message);
-        oprot.writeFieldEnd();
-      }
-      if (struct.stackTraceStr != null) {
-        oprot.writeFieldBegin(STACK_TRACE_STR_FIELD_DESC);
-        oprot.writeString(struct.stackTraceStr);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class BlurExceptionTupleSchemeFactory implements SchemeFactory {
-    public BlurExceptionTupleScheme getScheme() {
-      return new BlurExceptionTupleScheme();
-    }
-  }
-
-  private static class BlurExceptionTupleScheme extends TupleScheme<BlurException> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, BlurException struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetMessage()) {
-        optionals.set(0);
-      }
-      if (struct.isSetStackTraceStr()) {
-        optionals.set(1);
-      }
-      oprot.writeBitSet(optionals, 2);
-      if (struct.isSetMessage()) {
-        oprot.writeString(struct.message);
-      }
-      if (struct.isSetStackTraceStr()) {
-        oprot.writeString(struct.stackTraceStr);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, BlurException struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(2);
-      if (incoming.get(0)) {
-        struct.message = iprot.readString();
-        struct.setMessageIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.stackTraceStr = iprot.readString();
-        struct.setStackTraceStrIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/32e1d176/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
deleted file mode 100644
index 9975741..0000000
--- a/interface/gen-java/org/apache/blur/thrift/generated/BlurQuery.java
+++ /dev/null
@@ -1,2019 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-package org.apache.blur.thrift.generated;
-
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-import org.apache.thrift.scheme.IScheme;
-import org.apache.thrift.scheme.SchemeFactory;
-import org.apache.thrift.scheme.StandardScheme;
-
-import org.apache.thrift.scheme.TupleScheme;
-import org.apache.thrift.protocol.TTupleProtocol;
-import org.apache.thrift.protocol.TProtocolException;
-import org.apache.thrift.EncodingUtils;
-import org.apache.thrift.TException;
-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);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new BlurQueryStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new BlurQueryTupleSchemeFactory());
-  }
-
-  /**
-   * 
-   */
-  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 short __isset_bitfield = 0;
-  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_bitfield = other.__isset_bitfield;
-    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_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ALLOWSTALEDATA_ISSET_ID);
-  }
-
-  /** Returns true if field allowStaleData is set (has been assigned a value) and false otherwise */
-  public boolean isSetAllowStaleData() {
-    return EncodingUtils.testBit(__isset_bitfield, __ALLOWSTALEDATA_ISSET_ID);
-  }
-
-  public void setAllowStaleDataIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __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_bitfield = EncodingUtils.clearBit(__isset_bitfield, __USECACHEIFPRESENT_ISSET_ID);
-  }
-
-  /** Returns true if field useCacheIfPresent is set (has been assigned a value) and false otherwise */
-  public boolean isSetUseCacheIfPresent() {
-    return EncodingUtils.testBit(__isset_bitfield, __USECACHEIFPRESENT_ISSET_ID);
-  }
-
-  public void setUseCacheIfPresentIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __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_bitfield = EncodingUtils.clearBit(__isset_bitfield, __START_ISSET_ID);
-  }
-
-  /** Returns true if field start is set (has been assigned a value) and false otherwise */
-  public boolean isSetStart() {
-    return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID);
-  }
-
-  public void setStartIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __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_bitfield = EncodingUtils.clearBit(__isset_bitfield, __FETCH_ISSET_ID);
-  }
-
-  /** Returns true if field fetch is set (has been assigned a value) and false otherwise */
-  public boolean isSetFetch() {
-    return EncodingUtils.testBit(__isset_bitfield, __FETCH_ISSET_ID);
-  }
-
-  public void setFetchIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __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_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MINIMUMNUMBEROFRESULTS_ISSET_ID);
-  }
-
-  /** Returns true if field minimumNumberOfResults is set (has been assigned a value) and false otherwise */
-  public boolean isSetMinimumNumberOfResults() {
-    return EncodingUtils.testBit(__isset_bitfield, __MINIMUMNUMBEROFRESULTS_ISSET_ID);
-  }
-
-  public void setMinimumNumberOfResultsIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __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_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MAXQUERYTIME_ISSET_ID);
-  }
-
-  /** Returns true if field maxQueryTime is set (has been assigned a value) and false otherwise */
-  public boolean isSetMaxQueryTime() {
-    return EncodingUtils.testBit(__isset_bitfield, __MAXQUERYTIME_ISSET_ID);
-  }
-
-  public void setMaxQueryTimeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __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_bitfield = EncodingUtils.clearBit(__isset_bitfield, __UUID_ISSET_ID);
-  }
-
-  /** Returns true if field uuid is set (has been assigned a value) and false otherwise */
-  public boolean isSetUuid() {
-    return EncodingUtils.testBit(__isset_bitfield, __UUID_ISSET_ID);
-  }
-
-  public void setUuidIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __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_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CACHERESULT_ISSET_ID);
-  }
-
-  /** Returns true if field cacheResult is set (has been assigned a value) and false otherwise */
-  public boolean isSetCacheResult() {
-    return EncodingUtils.testBit(__isset_bitfield, __CACHERESULT_ISSET_ID);
-  }
-
-  public void setCacheResultIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __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_bitfield = EncodingUtils.clearBit(__isset_bitfield, __STARTTIME_ISSET_ID);
-  }
-
-  /** Returns true if field startTime is set (has been assigned a value) and false otherwise */
-  public boolean isSetStartTime() {
-    return EncodingUtils.testBit(__isset_bitfield, __STARTTIME_ISSET_ID);
-  }
-
-  public void setStartTimeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __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_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MODIFYFILECACHES_ISSET_ID);
-  }
-
-  /** Returns true if field modifyFileCaches is set (has been assigned a value) and false otherwise */
-  public boolean isSetModifyFileCaches() {
-    return EncodingUtils.testBit(__isset_bitfield, __MODIFYFILECACHES_ISSET_ID);
-  }
-
-  public void setModifyFileCachesIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __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 {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @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
-    // check for sub-struct validity
-    if (simpleQuery != null) {
-      simpleQuery.validate();
-    }
-    if (expertQuery != null) {
-      expertQuery.validate();
-    }
-    if (selector != null) {
-      selector.validate();
-    }
-  }
-
-  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_bitfield = 0;
-      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);
-    }
-  }
-
-  private static class BlurQueryStandardSchemeFactory implements SchemeFactory {
-    public BlurQueryStandardScheme getScheme() {
-      return new BlurQueryStandardScheme();
-    }
-  }
-
-  private static class BlurQueryStandardScheme extends StandardScheme<BlurQuery> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, BlurQuery struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // SIMPLE_QUERY
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.simpleQuery = new SimpleQuery();
-              struct.simpleQuery.read(iprot);
-              struct.setSimpleQueryIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // EXPERT_QUERY
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.expertQuery = new ExpertQuery();
-              struct.expertQuery.read(iprot);
-              struct.setExpertQueryIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // FACETS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list42 = iprot.readListBegin();
-                struct.facets = new ArrayList<Facet>(_list42.size);
-                for (int _i43 = 0; _i43 < _list42.size; ++_i43)
-                {
-                  Facet _elem44; // required
-                  _elem44 = new Facet();
-                  _elem44.read(iprot);
-                  struct.facets.add(_elem44);
-                }
-                iprot.readListEnd();
-              }
-              struct.setFacetsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // SELECTOR
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.selector = new Selector();
-              struct.selector.read(iprot);
-              struct.setSelectorIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // ALLOW_STALE_DATA
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.allowStaleData = iprot.readBool();
-              struct.setAllowStaleDataIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // USE_CACHE_IF_PRESENT
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.useCacheIfPresent = iprot.readBool();
-              struct.setUseCacheIfPresentIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // START
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.start = iprot.readI64();
-              struct.setStartIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // FETCH
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.fetch = iprot.readI32();
-              struct.setFetchIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 9: // MINIMUM_NUMBER_OF_RESULTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.minimumNumberOfResults = iprot.readI64();
-              struct.setMinimumNumberOfResultsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 10: // MAX_QUERY_TIME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.maxQueryTime = iprot.readI64();
-              struct.setMaxQueryTimeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 11: // UUID
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.uuid = iprot.readI64();
-              struct.setUuidIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 12: // USER_CONTEXT
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.userContext = iprot.readString();
-              struct.setUserContextIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 13: // CACHE_RESULT
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.cacheResult = iprot.readBool();
-              struct.setCacheResultIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 14: // START_TIME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.startTime = iprot.readI64();
-              struct.setStartTimeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 15: // MODIFY_FILE_CACHES
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.modifyFileCaches = iprot.readBool();
-              struct.setModifyFileCachesIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-
-      // check for required fields of primitive type, which can't be checked in the validate method
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, BlurQuery struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.simpleQuery != null) {
-        oprot.writeFieldBegin(SIMPLE_QUERY_FIELD_DESC);
-        struct.simpleQuery.write(oprot);
-        oprot.writeFieldEnd();
-      }
-      if (struct.expertQuery != null) {
-        oprot.writeFieldBegin(EXPERT_QUERY_FIELD_DESC);
-        struct.expertQuery.write(oprot);
-        oprot.writeFieldEnd();
-      }
-      if (struct.facets != null) {
-        oprot.writeFieldBegin(FACETS_FIELD_DESC);
-        {
-          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.facets.size()));
-          for (Facet _iter45 : struct.facets)
-          {
-            _iter45.write(oprot);
-          }
-          oprot.writeListEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      if (struct.selector != null) {
-        oprot.writeFieldBegin(SELECTOR_FIELD_DESC);
-        struct.selector.write(oprot);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldBegin(ALLOW_STALE_DATA_FIELD_DESC);
-      oprot.writeBool(struct.allowStaleData);
-      oprot.writeFieldEnd();
-      oprot.writeFieldBegin(USE_CACHE_IF_PRESENT_FIELD_DESC);
-      oprot.writeBool(struct.useCacheIfPresent);
-      oprot.writeFieldEnd();
-      oprot.writeFieldBegin(START_FIELD_DESC);
-      oprot.writeI64(struct.start);
-      oprot.writeFieldEnd();
-      oprot.writeFieldBegin(FETCH_FIELD_DESC);
-      oprot.writeI32(struct.fetch);
-      oprot.writeFieldEnd();
-      oprot.writeFieldBegin(MINIMUM_NUMBER_OF_RESULTS_FIELD_DESC);
-      oprot.writeI64(struct.minimumNumberOfResults);
-      oprot.writeFieldEnd();
-      oprot.writeFieldBegin(MAX_QUERY_TIME_FIELD_DESC);
-      oprot.writeI64(struct.maxQueryTime);
-      oprot.writeFieldEnd();
-      oprot.writeFieldBegin(UUID_FIELD_DESC);
-      oprot.writeI64(struct.uuid);
-      oprot.writeFieldEnd();
-      if (struct.userContext != null) {
-        oprot.writeFieldBegin(USER_CONTEXT_FIELD_DESC);
-        oprot.writeString(struct.userContext);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldBegin(CACHE_RESULT_FIELD_DESC);
-      oprot.writeBool(struct.cacheResult);
-      oprot.writeFieldEnd();
-      oprot.writeFieldBegin(START_TIME_FIELD_DESC);
-      oprot.writeI64(struct.startTime);
-      oprot.writeFieldEnd();
-      oprot.writeFieldBegin(MODIFY_FILE_CACHES_FIELD_DESC);
-      oprot.writeBool(struct.modifyFileCaches);
-      oprot.writeFieldEnd();
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class BlurQueryTupleSchemeFactory implements SchemeFactory {
-    public BlurQueryTupleScheme getScheme() {
-      return new BlurQueryTupleScheme();
-    }
-  }
-
-  private static class BlurQueryTupleScheme extends TupleScheme<BlurQuery> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, BlurQuery struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetSimpleQuery()) {
-        optionals.set(0);
-      }
-      if (struct.isSetExpertQuery()) {
-        optionals.set(1);
-      }
-      if (struct.isSetFacets()) {
-        optionals.set(2);
-      }
-      if (struct.isSetSelector()) {
-        optionals.set(3);
-      }
-      if (struct.isSetAllowStaleData()) {
-        optionals.set(4);
-      }
-      if (struct.isSetUseCacheIfPresent()) {
-        optionals.set(5);
-      }
-      if (struct.isSetStart()) {
-        optionals.set(6);
-      }
-      if (struct.isSetFetch()) {
-        optionals.set(7);
-      }
-      if (struct.isSetMinimumNumberOfResults()) {
-        optionals.set(8);
-      }
-      if (struct.isSetMaxQueryTime()) {
-        optionals.set(9);
-      }
-      if (struct.isSetUuid()) {
-        optionals.set(10);
-      }
-      if (struct.isSetUserContext()) {
-        optionals.set(11);
-      }
-      if (struct.isSetCacheResult()) {
-        optionals.set(12);
-      }
-      if (struct.isSetStartTime()) {
-        optionals.set(13);
-      }
-      if (struct.isSetModifyFileCaches()) {
-        optionals.set(14);
-      }
-      oprot.writeBitSet(optionals, 15);
-      if (struct.isSetSimpleQuery()) {
-        struct.simpleQuery.write(oprot);
-      }
-      if (struct.isSetExpertQuery()) {
-        struct.expertQuery.write(oprot);
-      }
-      if (struct.isSetFacets()) {
-        {
-          oprot.writeI32(struct.facets.size());
-          for (Facet _iter46 : struct.facets)
-          {
-            _iter46.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetSelector()) {
-        struct.selector.write(oprot);
-      }
-      if (struct.isSetAllowStaleData()) {
-        oprot.writeBool(struct.allowStaleData);
-      }
-      if (struct.isSetUseCacheIfPresent()) {
-        oprot.writeBool(struct.useCacheIfPresent);
-      }
-      if (struct.isSetStart()) {
-        oprot.writeI64(struct.start);
-      }
-      if (struct.isSetFetch()) {
-        oprot.writeI32(struct.fetch);
-      }
-      if (struct.isSetMinimumNumberOfResults()) {
-        oprot.writeI64(struct.minimumNumberOfResults);
-      }
-      if (struct.isSetMaxQueryTime()) {
-        oprot.writeI64(struct.maxQueryTime);
-      }
-      if (struct.isSetUuid()) {
-        oprot.writeI64(struct.uuid);
-      }
-      if (struct.isSetUserContext()) {
-        oprot.writeString(struct.userContext);
-      }
-      if (struct.isSetCacheResult()) {
-        oprot.writeBool(struct.cacheResult);
-      }
-      if (struct.isSetStartTime()) {
-        oprot.writeI64(struct.startTime);
-      }
-      if (struct.isSetModifyFileCaches()) {
-        oprot.writeBool(struct.modifyFileCaches);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, BlurQuery struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(15);
-      if (incoming.get(0)) {
-        struct.simpleQuery = new SimpleQuery();
-        struct.simpleQuery.read(iprot);
-        struct.setSimpleQueryIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.expertQuery = new ExpertQuery();
-        struct.expertQuery.read(iprot);
-        struct.setExpertQueryIsSet(true);
-      }
-      if (incoming.get(2)) {
-        {
-          org.apache.thrift.protocol.TList _list47 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.facets = new ArrayList<Facet>(_list47.size);
-          for (int _i48 = 0; _i48 < _list47.size; ++_i48)
-          {
-            Facet _elem49; // required
-            _elem49 = new Facet();
-            _elem49.read(iprot);
-            struct.facets.add(_elem49);
-          }
-        }
-        struct.setFacetsIsSet(true);
-      }
-      if (incoming.get(3)) {
-        struct.selector = new Selector();
-        struct.selector.read(iprot);
-        struct.setSelectorIsSet(true);
-      }
-      if (incoming.get(4)) {
-        struct.allowStaleData = iprot.readBool();
-        struct.setAllowStaleDataIsSet(true);
-      }
-      if (incoming.get(5)) {
-        struct.useCacheIfPresent = iprot.readBool();
-        struct.setUseCacheIfPresentIsSet(true);
-      }
-      if (incoming.get(6)) {
-        struct.start = iprot.readI64();
-        struct.setStartIsSet(true);
-      }
-      if (incoming.get(7)) {
-        struct.fetch = iprot.readI32();
-        struct.setFetchIsSet(true);
-      }
-      if (incoming.get(8)) {
-        struct.minimumNumberOfResults = iprot.readI64();
-        struct.setMinimumNumberOfResultsIsSet(true);
-      }
-      if (incoming.get(9)) {
-        struct.maxQueryTime = iprot.readI64();
-        struct.setMaxQueryTimeIsSet(true);
-      }
-      if (incoming.get(10)) {
-        struct.uuid = iprot.readI64();
-        struct.setUuidIsSet(true);
-      }
-      if (incoming.get(11)) {
-        struct.userContext = iprot.readString();
-        struct.setUserContextIsSet(true);
-      }
-      if (incoming.get(12)) {
-        struct.cacheResult = iprot.readBool();
-        struct.setCacheResultIsSet(true);
-      }
-      if (incoming.get(13)) {
-        struct.startTime = iprot.readI64();
-        struct.setStartTimeIsSet(true);
-      }
-      if (incoming.get(14)) {
-        struct.modifyFileCaches = iprot.readBool();
-        struct.setModifyFileCachesIsSet(true);
-      }
-    }
-  }
-
-}
-


Mime
View raw message