incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [25/50] [abbrv] Removed old BlurQuery.
Date Wed, 07 Nov 2012 02:26:55 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/06bb66eb/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQuery.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQuery.java b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQuery.java
deleted file mode 100644
index 9975741..0000000
--- a/src/blur-thrift/src/main/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);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/06bb66eb/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQueryStatus.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQueryStatus.java b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQueryStatus.java
index d7dcb4e..cfa3ff3 100644
--- a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQueryStatus.java
+++ b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurQueryStatus.java
@@ -55,7 +55,6 @@ import org.slf4j.LoggerFactory;
 public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus, BlurQueryStatus._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BlurQueryStatus");
 
-  private static final org.apache.thrift.protocol.TField QUERY_FIELD_DESC = new org.apache.thrift.protocol.TField("query", org.apache.thrift.protocol.TType.STRUCT, (short)1);
   private static final org.apache.thrift.protocol.TField CPU_TIMES_FIELD_DESC = new org.apache.thrift.protocol.TField("cpuTimes", org.apache.thrift.protocol.TType.MAP, (short)2);
   private static final org.apache.thrift.protocol.TField COMPLETE_SHARDS_FIELD_DESC = new org.apache.thrift.protocol.TField("completeShards", org.apache.thrift.protocol.TType.I32, (short)3);
   private static final org.apache.thrift.protocol.TField TOTAL_SHARDS_FIELD_DESC = new org.apache.thrift.protocol.TField("totalShards", org.apache.thrift.protocol.TType.I32, (short)4);
@@ -71,10 +70,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
   /**
    * 
    */
-  public BlurQuery query; // required
-  /**
-   * 
-   */
   public Map<String,CpuTime> cpuTimes; // required
   /**
    * 
@@ -100,10 +95,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
     /**
      * 
      */
-    QUERY((short)1, "query"),
-    /**
-     * 
-     */
     CPU_TIMES((short)2, "cpuTimes"),
     /**
      * 
@@ -137,8 +128,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
      */
     public static _Fields findByThriftId(int fieldId) {
       switch(fieldId) {
-        case 1: // QUERY
-          return QUERY;
         case 2: // CPU_TIMES
           return CPU_TIMES;
         case 3: // COMPLETE_SHARDS
@@ -196,8 +185,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
   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.QUERY, new org.apache.thrift.meta_data.FieldMetaData("query", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, BlurQuery.class)));
     tmpMap.put(_Fields.CPU_TIMES, new org.apache.thrift.meta_data.FieldMetaData("cpuTimes", org.apache.thrift.TFieldRequirementType.DEFAULT, 
         new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
             new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
@@ -218,7 +205,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
   }
 
   public BlurQueryStatus(
-    BlurQuery query,
     Map<String,CpuTime> cpuTimes,
     int completeShards,
     int totalShards,
@@ -226,7 +212,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
     long uuid)
   {
     this();
-    this.query = query;
     this.cpuTimes = cpuTimes;
     this.completeShards = completeShards;
     setCompleteShardsIsSet(true);
@@ -242,9 +227,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
    */
   public BlurQueryStatus(BlurQueryStatus other) {
     __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetQuery()) {
-      this.query = new BlurQuery(other.query);
-    }
     if (other.isSetCpuTimes()) {
       Map<String,CpuTime> __this__cpuTimes = new HashMap<String,CpuTime>();
       for (Map.Entry<String, CpuTime> other_element : other.cpuTimes.entrySet()) {
@@ -274,7 +256,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
 
   @Override
   public void clear() {
-    this.query = null;
     this.cpuTimes = null;
     setCompleteShardsIsSet(false);
     this.completeShards = 0;
@@ -285,36 +266,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
     this.uuid = 0;
   }
 
-  /**
-   * 
-   */
-  public BlurQuery getQuery() {
-    return this.query;
-  }
-
-  /**
-   * 
-   */
-  public BlurQueryStatus setQuery(BlurQuery query) {
-    this.query = query;
-    return this;
-  }
-
-  public void unsetQuery() {
-    this.query = null;
-  }
-
-  /** Returns true if field query is set (has been assigned a value) and false otherwise */
-  public boolean isSetQuery() {
-    return this.query != null;
-  }
-
-  public void setQueryIsSet(boolean value) {
-    if (!value) {
-      this.query = null;
-    }
-  }
-
   public int getCpuTimesSize() {
     return (this.cpuTimes == null) ? 0 : this.cpuTimes.size();
   }
@@ -479,14 +430,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
 
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
-    case QUERY:
-      if (value == null) {
-        unsetQuery();
-      } else {
-        setQuery((BlurQuery)value);
-      }
-      break;
-
     case CPU_TIMES:
       if (value == null) {
         unsetCpuTimes();
@@ -532,9 +475,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
 
   public Object getFieldValue(_Fields field) {
     switch (field) {
-    case QUERY:
-      return getQuery();
-
     case CPU_TIMES:
       return getCpuTimes();
 
@@ -561,8 +501,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
     }
 
     switch (field) {
-    case QUERY:
-      return isSetQuery();
     case CPU_TIMES:
       return isSetCpuTimes();
     case COMPLETE_SHARDS:
@@ -590,15 +528,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
     if (that == null)
       return false;
 
-    boolean this_present_query = true && this.isSetQuery();
-    boolean that_present_query = true && that.isSetQuery();
-    if (this_present_query || that_present_query) {
-      if (!(this_present_query && that_present_query))
-        return false;
-      if (!this.query.equals(that.query))
-        return false;
-    }
-
     boolean this_present_cpuTimes = true && this.isSetCpuTimes();
     boolean that_present_cpuTimes = true && that.isSetCpuTimes();
     if (this_present_cpuTimes || that_present_cpuTimes) {
@@ -660,16 +589,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
     int lastComparison = 0;
     BlurQueryStatus typedOther = (BlurQueryStatus)other;
 
-    lastComparison = Boolean.valueOf(isSetQuery()).compareTo(typedOther.isSetQuery());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetQuery()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.query, typedOther.query);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
     lastComparison = Boolean.valueOf(isSetCpuTimes()).compareTo(typedOther.isSetCpuTimes());
     if (lastComparison != 0) {
       return lastComparison;
@@ -740,14 +659,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
     StringBuilder sb = new StringBuilder("BlurQueryStatus(");
     boolean first = true;
 
-    sb.append("query:");
-    if (this.query == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.query);
-    }
-    first = false;
-    if (!first) sb.append(", ");
     sb.append("cpuTimes:");
     if (this.cpuTimes == null) {
       sb.append("null");
@@ -782,9 +693,6 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
   public void validate() throws org.apache.thrift.TException {
     // check for required fields
     // check for sub-struct validity
-    if (query != null) {
-      query.validate();
-    }
   }
 
   private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -823,28 +731,19 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
           break;
         }
         switch (schemeField.id) {
-          case 1: // QUERY
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.query = new BlurQuery();
-              struct.query.read(iprot);
-              struct.setQueryIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
           case 2: // CPU_TIMES
             if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
               {
-                org.apache.thrift.protocol.TMap _map50 = iprot.readMapBegin();
-                struct.cpuTimes = new HashMap<String,CpuTime>(2*_map50.size);
-                for (int _i51 = 0; _i51 < _map50.size; ++_i51)
+                org.apache.thrift.protocol.TMap _map42 = iprot.readMapBegin();
+                struct.cpuTimes = new HashMap<String,CpuTime>(2*_map42.size);
+                for (int _i43 = 0; _i43 < _map42.size; ++_i43)
                 {
-                  String _key52; // required
-                  CpuTime _val53; // optional
-                  _key52 = iprot.readString();
-                  _val53 = new CpuTime();
-                  _val53.read(iprot);
-                  struct.cpuTimes.put(_key52, _val53);
+                  String _key44; // required
+                  CpuTime _val45; // optional
+                  _key44 = iprot.readString();
+                  _val45 = new CpuTime();
+                  _val45.read(iprot);
+                  struct.cpuTimes.put(_key44, _val45);
                 }
                 iprot.readMapEnd();
               }
@@ -900,19 +799,14 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
       struct.validate();
 
       oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.query != null) {
-        oprot.writeFieldBegin(QUERY_FIELD_DESC);
-        struct.query.write(oprot);
-        oprot.writeFieldEnd();
-      }
       if (struct.cpuTimes != null) {
         oprot.writeFieldBegin(CPU_TIMES_FIELD_DESC);
         {
           oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.cpuTimes.size()));
-          for (Map.Entry<String, CpuTime> _iter54 : struct.cpuTimes.entrySet())
+          for (Map.Entry<String, CpuTime> _iter46 : struct.cpuTimes.entrySet())
           {
-            oprot.writeString(_iter54.getKey());
-            _iter54.getValue().write(oprot);
+            oprot.writeString(_iter46.getKey());
+            _iter46.getValue().write(oprot);
           }
           oprot.writeMapEnd();
         }
@@ -950,35 +844,29 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
     public void write(org.apache.thrift.protocol.TProtocol prot, BlurQueryStatus struct) throws org.apache.thrift.TException {
       TTupleProtocol oprot = (TTupleProtocol) prot;
       BitSet optionals = new BitSet();
-      if (struct.isSetQuery()) {
-        optionals.set(0);
-      }
       if (struct.isSetCpuTimes()) {
-        optionals.set(1);
+        optionals.set(0);
       }
       if (struct.isSetCompleteShards()) {
-        optionals.set(2);
+        optionals.set(1);
       }
       if (struct.isSetTotalShards()) {
-        optionals.set(3);
+        optionals.set(2);
       }
       if (struct.isSetState()) {
-        optionals.set(4);
+        optionals.set(3);
       }
       if (struct.isSetUuid()) {
-        optionals.set(5);
-      }
-      oprot.writeBitSet(optionals, 6);
-      if (struct.isSetQuery()) {
-        struct.query.write(oprot);
+        optionals.set(4);
       }
+      oprot.writeBitSet(optionals, 5);
       if (struct.isSetCpuTimes()) {
         {
           oprot.writeI32(struct.cpuTimes.size());
-          for (Map.Entry<String, CpuTime> _iter55 : struct.cpuTimes.entrySet())
+          for (Map.Entry<String, CpuTime> _iter47 : struct.cpuTimes.entrySet())
           {
-            oprot.writeString(_iter55.getKey());
-            _iter55.getValue().write(oprot);
+            oprot.writeString(_iter47.getKey());
+            _iter47.getValue().write(oprot);
           }
         }
       }
@@ -999,41 +887,36 @@ public class BlurQueryStatus implements org.apache.thrift.TBase<BlurQueryStatus,
     @Override
     public void read(org.apache.thrift.protocol.TProtocol prot, BlurQueryStatus struct) throws org.apache.thrift.TException {
       TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(6);
+      BitSet incoming = iprot.readBitSet(5);
       if (incoming.get(0)) {
-        struct.query = new BlurQuery();
-        struct.query.read(iprot);
-        struct.setQueryIsSet(true);
-      }
-      if (incoming.get(1)) {
         {
-          org.apache.thrift.protocol.TMap _map56 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.cpuTimes = new HashMap<String,CpuTime>(2*_map56.size);
-          for (int _i57 = 0; _i57 < _map56.size; ++_i57)
+          org.apache.thrift.protocol.TMap _map48 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.cpuTimes = new HashMap<String,CpuTime>(2*_map48.size);
+          for (int _i49 = 0; _i49 < _map48.size; ++_i49)
           {
-            String _key58; // required
-            CpuTime _val59; // optional
-            _key58 = iprot.readString();
-            _val59 = new CpuTime();
-            _val59.read(iprot);
-            struct.cpuTimes.put(_key58, _val59);
+            String _key50; // required
+            CpuTime _val51; // optional
+            _key50 = iprot.readString();
+            _val51 = new CpuTime();
+            _val51.read(iprot);
+            struct.cpuTimes.put(_key50, _val51);
           }
         }
         struct.setCpuTimesIsSet(true);
       }
-      if (incoming.get(2)) {
+      if (incoming.get(1)) {
         struct.completeShards = iprot.readI32();
         struct.setCompleteShardsIsSet(true);
       }
-      if (incoming.get(3)) {
+      if (incoming.get(2)) {
         struct.totalShards = iprot.readI32();
         struct.setTotalShardsIsSet(true);
       }
-      if (incoming.get(4)) {
+      if (incoming.get(3)) {
         struct.state = QueryState.findByValue(iprot.readI32());
         struct.setStateIsSet(true);
       }
-      if (incoming.get(5)) {
+      if (incoming.get(4)) {
         struct.uuid = iprot.readI64();
         struct.setUuidIsSet(true);
       }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/06bb66eb/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/ColumnDefinition.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/ColumnDefinition.java b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/ColumnDefinition.java
index 9c9f8a9..36c9b70 100644
--- a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/ColumnDefinition.java
+++ b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/ColumnDefinition.java
@@ -539,16 +539,16 @@ public class ColumnDefinition implements org.apache.thrift.TBase<ColumnDefinitio
           case 3: // ALTERNATE_COLUMN_DEFINITIONS
             if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
               {
-                org.apache.thrift.protocol.TMap _map78 = iprot.readMapBegin();
-                struct.alternateColumnDefinitions = new HashMap<String,AlternateColumnDefinition>(2*_map78.size);
-                for (int _i79 = 0; _i79 < _map78.size; ++_i79)
+                org.apache.thrift.protocol.TMap _map70 = iprot.readMapBegin();
+                struct.alternateColumnDefinitions = new HashMap<String,AlternateColumnDefinition>(2*_map70.size);
+                for (int _i71 = 0; _i71 < _map70.size; ++_i71)
                 {
-                  String _key80; // required
-                  AlternateColumnDefinition _val81; // optional
-                  _key80 = iprot.readString();
-                  _val81 = new AlternateColumnDefinition();
-                  _val81.read(iprot);
-                  struct.alternateColumnDefinitions.put(_key80, _val81);
+                  String _key72; // required
+                  AlternateColumnDefinition _val73; // optional
+                  _key72 = iprot.readString();
+                  _val73 = new AlternateColumnDefinition();
+                  _val73.read(iprot);
+                  struct.alternateColumnDefinitions.put(_key72, _val73);
                 }
                 iprot.readMapEnd();
               }
@@ -584,10 +584,10 @@ public class ColumnDefinition implements org.apache.thrift.TBase<ColumnDefinitio
         oprot.writeFieldBegin(ALTERNATE_COLUMN_DEFINITIONS_FIELD_DESC);
         {
           oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.alternateColumnDefinitions.size()));
-          for (Map.Entry<String, AlternateColumnDefinition> _iter82 : struct.alternateColumnDefinitions.entrySet())
+          for (Map.Entry<String, AlternateColumnDefinition> _iter74 : struct.alternateColumnDefinitions.entrySet())
           {
-            oprot.writeString(_iter82.getKey());
-            _iter82.getValue().write(oprot);
+            oprot.writeString(_iter74.getKey());
+            _iter74.getValue().write(oprot);
           }
           oprot.writeMapEnd();
         }
@@ -630,10 +630,10 @@ public class ColumnDefinition implements org.apache.thrift.TBase<ColumnDefinitio
       if (struct.isSetAlternateColumnDefinitions()) {
         {
           oprot.writeI32(struct.alternateColumnDefinitions.size());
-          for (Map.Entry<String, AlternateColumnDefinition> _iter83 : struct.alternateColumnDefinitions.entrySet())
+          for (Map.Entry<String, AlternateColumnDefinition> _iter75 : struct.alternateColumnDefinitions.entrySet())
           {
-            oprot.writeString(_iter83.getKey());
-            _iter83.getValue().write(oprot);
+            oprot.writeString(_iter75.getKey());
+            _iter75.getValue().write(oprot);
           }
         }
       }
@@ -653,16 +653,16 @@ public class ColumnDefinition implements org.apache.thrift.TBase<ColumnDefinitio
       }
       if (incoming.get(2)) {
         {
-          org.apache.thrift.protocol.TMap _map84 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.alternateColumnDefinitions = new HashMap<String,AlternateColumnDefinition>(2*_map84.size);
-          for (int _i85 = 0; _i85 < _map84.size; ++_i85)
+          org.apache.thrift.protocol.TMap _map76 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.alternateColumnDefinitions = new HashMap<String,AlternateColumnDefinition>(2*_map76.size);
+          for (int _i77 = 0; _i77 < _map76.size; ++_i77)
           {
-            String _key86; // required
-            AlternateColumnDefinition _val87; // optional
-            _key86 = iprot.readString();
-            _val87 = new AlternateColumnDefinition();
-            _val87.read(iprot);
-            struct.alternateColumnDefinitions.put(_key86, _val87);
+            String _key78; // required
+            AlternateColumnDefinition _val79; // optional
+            _key78 = iprot.readString();
+            _val79 = new AlternateColumnDefinition();
+            _val79.read(iprot);
+            struct.alternateColumnDefinitions.put(_key78, _val79);
           }
         }
         struct.setAlternateColumnDefinitionsIsSet(true);


Mime
View raw message