incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [12/18] Removing used dirs.
Date Thu, 28 Mar 2013 23:36:09 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/32e1d176/interface/gen-java/org/apache/blur/thrift/generated/BlurResults.java
----------------------------------------------------------------------
diff --git a/interface/gen-java/org/apache/blur/thrift/generated/BlurResults.java b/interface/gen-java/org/apache/blur/thrift/generated/BlurResults.java
deleted file mode 100644
index 7a40b20..0000000
--- a/interface/gen-java/org/apache/blur/thrift/generated/BlurResults.java
+++ /dev/null
@@ -1,1208 +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 BlurResults implements org.apache.thrift.TBase<BlurResults, BlurResults._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BlurResults");
-
-  private static final org.apache.thrift.protocol.TField TOTAL_RESULTS_FIELD_DESC = new org.apache.thrift.protocol.TField("totalResults", org.apache.thrift.protocol.TType.I64, (short)1);
-  private static final org.apache.thrift.protocol.TField SHARD_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("shardInfo", org.apache.thrift.protocol.TType.MAP, (short)2);
-  private static final org.apache.thrift.protocol.TField RESULTS_FIELD_DESC = new org.apache.thrift.protocol.TField("results", org.apache.thrift.protocol.TType.LIST, (short)3);
-  private static final org.apache.thrift.protocol.TField FACET_COUNTS_FIELD_DESC = new org.apache.thrift.protocol.TField("facetCounts", org.apache.thrift.protocol.TType.LIST, (short)4);
-  private static final org.apache.thrift.protocol.TField EXCEPTIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("exceptions", org.apache.thrift.protocol.TType.LIST, (short)5);
-  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)6);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new BlurResultsStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new BlurResultsTupleSchemeFactory());
-  }
-
-  /**
-   * 
-   */
-  public long totalResults; // required
-  /**
-   * 
-   */
-  public Map<String,Long> shardInfo; // required
-  /**
-   * 
-   */
-  public List<BlurResult> results; // required
-  /**
-   * 
-   */
-  public List<Long> facetCounts; // required
-  /**
-   * 
-   */
-  public List<BlurException> exceptions; // required
-  /**
-   * 
-   */
-  public BlurQuery query; // 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 {
-    /**
-     * 
-     */
-    TOTAL_RESULTS((short)1, "totalResults"),
-    /**
-     * 
-     */
-    SHARD_INFO((short)2, "shardInfo"),
-    /**
-     * 
-     */
-    RESULTS((short)3, "results"),
-    /**
-     * 
-     */
-    FACET_COUNTS((short)4, "facetCounts"),
-    /**
-     * 
-     */
-    EXCEPTIONS((short)5, "exceptions"),
-    /**
-     * 
-     */
-    QUERY((short)6, "query");
-
-    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: // TOTAL_RESULTS
-          return TOTAL_RESULTS;
-        case 2: // SHARD_INFO
-          return SHARD_INFO;
-        case 3: // RESULTS
-          return RESULTS;
-        case 4: // FACET_COUNTS
-          return FACET_COUNTS;
-        case 5: // EXCEPTIONS
-          return EXCEPTIONS;
-        case 6: // QUERY
-          return QUERY;
-        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 __TOTALRESULTS_ISSET_ID = 0;
-  private byte __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.TOTAL_RESULTS, new org.apache.thrift.meta_data.FieldMetaData("totalResults", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    tmpMap.put(_Fields.SHARD_INFO, new org.apache.thrift.meta_data.FieldMetaData("shardInfo", 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), 
-            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-    tmpMap.put(_Fields.RESULTS, new org.apache.thrift.meta_data.FieldMetaData("results", 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, BlurResult.class))));
-    tmpMap.put(_Fields.FACET_COUNTS, new org.apache.thrift.meta_data.FieldMetaData("facetCounts", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-    tmpMap.put(_Fields.EXCEPTIONS, new org.apache.thrift.meta_data.FieldMetaData("exceptions", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))));
-    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)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(BlurResults.class, metaDataMap);
-  }
-
-  public BlurResults() {
-    this.totalResults = 0L;
-
-  }
-
-  public BlurResults(
-    long totalResults,
-    Map<String,Long> shardInfo,
-    List<BlurResult> results,
-    List<Long> facetCounts,
-    List<BlurException> exceptions,
-    BlurQuery query)
-  {
-    this();
-    this.totalResults = totalResults;
-    setTotalResultsIsSet(true);
-    this.shardInfo = shardInfo;
-    this.results = results;
-    this.facetCounts = facetCounts;
-    this.exceptions = exceptions;
-    this.query = query;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public BlurResults(BlurResults other) {
-    __isset_bitfield = other.__isset_bitfield;
-    this.totalResults = other.totalResults;
-    if (other.isSetShardInfo()) {
-      Map<String,Long> __this__shardInfo = new HashMap<String,Long>();
-      for (Map.Entry<String, Long> other_element : other.shardInfo.entrySet()) {
-
-        String other_element_key = other_element.getKey();
-        Long other_element_value = other_element.getValue();
-
-        String __this__shardInfo_copy_key = other_element_key;
-
-        Long __this__shardInfo_copy_value = other_element_value;
-
-        __this__shardInfo.put(__this__shardInfo_copy_key, __this__shardInfo_copy_value);
-      }
-      this.shardInfo = __this__shardInfo;
-    }
-    if (other.isSetResults()) {
-      List<BlurResult> __this__results = new ArrayList<BlurResult>();
-      for (BlurResult other_element : other.results) {
-        __this__results.add(new BlurResult(other_element));
-      }
-      this.results = __this__results;
-    }
-    if (other.isSetFacetCounts()) {
-      List<Long> __this__facetCounts = new ArrayList<Long>();
-      for (Long other_element : other.facetCounts) {
-        __this__facetCounts.add(other_element);
-      }
-      this.facetCounts = __this__facetCounts;
-    }
-    if (other.isSetExceptions()) {
-      List<BlurException> __this__exceptions = new ArrayList<BlurException>();
-      for (BlurException other_element : other.exceptions) {
-        __this__exceptions.add(new BlurException(other_element));
-      }
-      this.exceptions = __this__exceptions;
-    }
-    if (other.isSetQuery()) {
-      this.query = new BlurQuery(other.query);
-    }
-  }
-
-  public BlurResults deepCopy() {
-    return new BlurResults(this);
-  }
-
-  @Override
-  public void clear() {
-    this.totalResults = 0L;
-
-    this.shardInfo = null;
-    this.results = null;
-    this.facetCounts = null;
-    this.exceptions = null;
-    this.query = null;
-  }
-
-  /**
-   * 
-   */
-  public long getTotalResults() {
-    return this.totalResults;
-  }
-
-  /**
-   * 
-   */
-  public BlurResults setTotalResults(long totalResults) {
-    this.totalResults = totalResults;
-    setTotalResultsIsSet(true);
-    return this;
-  }
-
-  public void unsetTotalResults() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TOTALRESULTS_ISSET_ID);
-  }
-
-  /** Returns true if field totalResults is set (has been assigned a value) and false otherwise */
-  public boolean isSetTotalResults() {
-    return EncodingUtils.testBit(__isset_bitfield, __TOTALRESULTS_ISSET_ID);
-  }
-
-  public void setTotalResultsIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TOTALRESULTS_ISSET_ID, value);
-  }
-
-  public int getShardInfoSize() {
-    return (this.shardInfo == null) ? 0 : this.shardInfo.size();
-  }
-
-  public void putToShardInfo(String key, long val) {
-    if (this.shardInfo == null) {
-      this.shardInfo = new HashMap<String,Long>();
-    }
-    this.shardInfo.put(key, val);
-  }
-
-  /**
-   * 
-   */
-  public Map<String,Long> getShardInfo() {
-    return this.shardInfo;
-  }
-
-  /**
-   * 
-   */
-  public BlurResults setShardInfo(Map<String,Long> shardInfo) {
-    this.shardInfo = shardInfo;
-    return this;
-  }
-
-  public void unsetShardInfo() {
-    this.shardInfo = null;
-  }
-
-  /** Returns true if field shardInfo is set (has been assigned a value) and false otherwise */
-  public boolean isSetShardInfo() {
-    return this.shardInfo != null;
-  }
-
-  public void setShardInfoIsSet(boolean value) {
-    if (!value) {
-      this.shardInfo = null;
-    }
-  }
-
-  public int getResultsSize() {
-    return (this.results == null) ? 0 : this.results.size();
-  }
-
-  public java.util.Iterator<BlurResult> getResultsIterator() {
-    return (this.results == null) ? null : this.results.iterator();
-  }
-
-  public void addToResults(BlurResult elem) {
-    if (this.results == null) {
-      this.results = new ArrayList<BlurResult>();
-    }
-    this.results.add(elem);
-  }
-
-  /**
-   * 
-   */
-  public List<BlurResult> getResults() {
-    return this.results;
-  }
-
-  /**
-   * 
-   */
-  public BlurResults setResults(List<BlurResult> results) {
-    this.results = results;
-    return this;
-  }
-
-  public void unsetResults() {
-    this.results = null;
-  }
-
-  /** Returns true if field results is set (has been assigned a value) and false otherwise */
-  public boolean isSetResults() {
-    return this.results != null;
-  }
-
-  public void setResultsIsSet(boolean value) {
-    if (!value) {
-      this.results = null;
-    }
-  }
-
-  public int getFacetCountsSize() {
-    return (this.facetCounts == null) ? 0 : this.facetCounts.size();
-  }
-
-  public java.util.Iterator<Long> getFacetCountsIterator() {
-    return (this.facetCounts == null) ? null : this.facetCounts.iterator();
-  }
-
-  public void addToFacetCounts(long elem) {
-    if (this.facetCounts == null) {
-      this.facetCounts = new ArrayList<Long>();
-    }
-    this.facetCounts.add(elem);
-  }
-
-  /**
-   * 
-   */
-  public List<Long> getFacetCounts() {
-    return this.facetCounts;
-  }
-
-  /**
-   * 
-   */
-  public BlurResults setFacetCounts(List<Long> facetCounts) {
-    this.facetCounts = facetCounts;
-    return this;
-  }
-
-  public void unsetFacetCounts() {
-    this.facetCounts = null;
-  }
-
-  /** Returns true if field facetCounts is set (has been assigned a value) and false otherwise */
-  public boolean isSetFacetCounts() {
-    return this.facetCounts != null;
-  }
-
-  public void setFacetCountsIsSet(boolean value) {
-    if (!value) {
-      this.facetCounts = null;
-    }
-  }
-
-  public int getExceptionsSize() {
-    return (this.exceptions == null) ? 0 : this.exceptions.size();
-  }
-
-  public java.util.Iterator<BlurException> getExceptionsIterator() {
-    return (this.exceptions == null) ? null : this.exceptions.iterator();
-  }
-
-  public void addToExceptions(BlurException elem) {
-    if (this.exceptions == null) {
-      this.exceptions = new ArrayList<BlurException>();
-    }
-    this.exceptions.add(elem);
-  }
-
-  /**
-   * 
-   */
-  public List<BlurException> getExceptions() {
-    return this.exceptions;
-  }
-
-  /**
-   * 
-   */
-  public BlurResults setExceptions(List<BlurException> exceptions) {
-    this.exceptions = exceptions;
-    return this;
-  }
-
-  public void unsetExceptions() {
-    this.exceptions = null;
-  }
-
-  /** Returns true if field exceptions is set (has been assigned a value) and false otherwise */
-  public boolean isSetExceptions() {
-    return this.exceptions != null;
-  }
-
-  public void setExceptionsIsSet(boolean value) {
-    if (!value) {
-      this.exceptions = null;
-    }
-  }
-
-  /**
-   * 
-   */
-  public BlurQuery getQuery() {
-    return this.query;
-  }
-
-  /**
-   * 
-   */
-  public BlurResults 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 void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case TOTAL_RESULTS:
-      if (value == null) {
-        unsetTotalResults();
-      } else {
-        setTotalResults((Long)value);
-      }
-      break;
-
-    case SHARD_INFO:
-      if (value == null) {
-        unsetShardInfo();
-      } else {
-        setShardInfo((Map<String,Long>)value);
-      }
-      break;
-
-    case RESULTS:
-      if (value == null) {
-        unsetResults();
-      } else {
-        setResults((List<BlurResult>)value);
-      }
-      break;
-
-    case FACET_COUNTS:
-      if (value == null) {
-        unsetFacetCounts();
-      } else {
-        setFacetCounts((List<Long>)value);
-      }
-      break;
-
-    case EXCEPTIONS:
-      if (value == null) {
-        unsetExceptions();
-      } else {
-        setExceptions((List<BlurException>)value);
-      }
-      break;
-
-    case QUERY:
-      if (value == null) {
-        unsetQuery();
-      } else {
-        setQuery((BlurQuery)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case TOTAL_RESULTS:
-      return Long.valueOf(getTotalResults());
-
-    case SHARD_INFO:
-      return getShardInfo();
-
-    case RESULTS:
-      return getResults();
-
-    case FACET_COUNTS:
-      return getFacetCounts();
-
-    case EXCEPTIONS:
-      return getExceptions();
-
-    case QUERY:
-      return getQuery();
-
-    }
-    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 TOTAL_RESULTS:
-      return isSetTotalResults();
-    case SHARD_INFO:
-      return isSetShardInfo();
-    case RESULTS:
-      return isSetResults();
-    case FACET_COUNTS:
-      return isSetFacetCounts();
-    case EXCEPTIONS:
-      return isSetExceptions();
-    case QUERY:
-      return isSetQuery();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof BlurResults)
-      return this.equals((BlurResults)that);
-    return false;
-  }
-
-  public boolean equals(BlurResults that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_totalResults = true;
-    boolean that_present_totalResults = true;
-    if (this_present_totalResults || that_present_totalResults) {
-      if (!(this_present_totalResults && that_present_totalResults))
-        return false;
-      if (this.totalResults != that.totalResults)
-        return false;
-    }
-
-    boolean this_present_shardInfo = true && this.isSetShardInfo();
-    boolean that_present_shardInfo = true && that.isSetShardInfo();
-    if (this_present_shardInfo || that_present_shardInfo) {
-      if (!(this_present_shardInfo && that_present_shardInfo))
-        return false;
-      if (!this.shardInfo.equals(that.shardInfo))
-        return false;
-    }
-
-    boolean this_present_results = true && this.isSetResults();
-    boolean that_present_results = true && that.isSetResults();
-    if (this_present_results || that_present_results) {
-      if (!(this_present_results && that_present_results))
-        return false;
-      if (!this.results.equals(that.results))
-        return false;
-    }
-
-    boolean this_present_facetCounts = true && this.isSetFacetCounts();
-    boolean that_present_facetCounts = true && that.isSetFacetCounts();
-    if (this_present_facetCounts || that_present_facetCounts) {
-      if (!(this_present_facetCounts && that_present_facetCounts))
-        return false;
-      if (!this.facetCounts.equals(that.facetCounts))
-        return false;
-    }
-
-    boolean this_present_exceptions = true && this.isSetExceptions();
-    boolean that_present_exceptions = true && that.isSetExceptions();
-    if (this_present_exceptions || that_present_exceptions) {
-      if (!(this_present_exceptions && that_present_exceptions))
-        return false;
-      if (!this.exceptions.equals(that.exceptions))
-        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;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(BlurResults other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    BlurResults typedOther = (BlurResults)other;
-
-    lastComparison = Boolean.valueOf(isSetTotalResults()).compareTo(typedOther.isSetTotalResults());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTotalResults()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.totalResults, typedOther.totalResults);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetShardInfo()).compareTo(typedOther.isSetShardInfo());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetShardInfo()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shardInfo, typedOther.shardInfo);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetResults()).compareTo(typedOther.isSetResults());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetResults()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.results, typedOther.results);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetFacetCounts()).compareTo(typedOther.isSetFacetCounts());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetFacetCounts()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.facetCounts, typedOther.facetCounts);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetExceptions()).compareTo(typedOther.isSetExceptions());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExceptions()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.exceptions, typedOther.exceptions);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    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;
-      }
-    }
-    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("BlurResults(");
-    boolean first = true;
-
-    sb.append("totalResults:");
-    sb.append(this.totalResults);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("shardInfo:");
-    if (this.shardInfo == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.shardInfo);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("results:");
-    if (this.results == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.results);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("facetCounts:");
-    if (this.facetCounts == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.facetCounts);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("exceptions:");
-    if (this.exceptions == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.exceptions);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("query:");
-    if (this.query == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.query);
-    }
-    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 (query != null) {
-      query.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 BlurResultsStandardSchemeFactory implements SchemeFactory {
-    public BlurResultsStandardScheme getScheme() {
-      return new BlurResultsStandardScheme();
-    }
-  }
-
-  private static class BlurResultsStandardScheme extends StandardScheme<BlurResults> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, BlurResults 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: // TOTAL_RESULTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.totalResults = iprot.readI64();
-              struct.setTotalResultsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // SHARD_INFO
-            if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
-              {
-                org.apache.thrift.protocol.TMap _map50 = iprot.readMapBegin();
-                struct.shardInfo = new HashMap<String,Long>(2*_map50.size);
-                for (int _i51 = 0; _i51 < _map50.size; ++_i51)
-                {
-                  String _key52; // required
-                  long _val53; // optional
-                  _key52 = iprot.readString();
-                  _val53 = iprot.readI64();
-                  struct.shardInfo.put(_key52, _val53);
-                }
-                iprot.readMapEnd();
-              }
-              struct.setShardInfoIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // RESULTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list54 = iprot.readListBegin();
-                struct.results = new ArrayList<BlurResult>(_list54.size);
-                for (int _i55 = 0; _i55 < _list54.size; ++_i55)
-                {
-                  BlurResult _elem56; // required
-                  _elem56 = new BlurResult();
-                  _elem56.read(iprot);
-                  struct.results.add(_elem56);
-                }
-                iprot.readListEnd();
-              }
-              struct.setResultsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // FACET_COUNTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list57 = iprot.readListBegin();
-                struct.facetCounts = new ArrayList<Long>(_list57.size);
-                for (int _i58 = 0; _i58 < _list57.size; ++_i58)
-                {
-                  long _elem59; // required
-                  _elem59 = iprot.readI64();
-                  struct.facetCounts.add(_elem59);
-                }
-                iprot.readListEnd();
-              }
-              struct.setFacetCountsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // EXCEPTIONS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list60 = iprot.readListBegin();
-                struct.exceptions = new ArrayList<BlurException>(_list60.size);
-                for (int _i61 = 0; _i61 < _list60.size; ++_i61)
-                {
-                  BlurException _elem62; // required
-                  _elem62 = new BlurException();
-                  _elem62.read(iprot);
-                  struct.exceptions.add(_elem62);
-                }
-                iprot.readListEnd();
-              }
-              struct.setExceptionsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // 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;
-          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, BlurResults struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      oprot.writeFieldBegin(TOTAL_RESULTS_FIELD_DESC);
-      oprot.writeI64(struct.totalResults);
-      oprot.writeFieldEnd();
-      if (struct.shardInfo != null) {
-        oprot.writeFieldBegin(SHARD_INFO_FIELD_DESC);
-        {
-          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, struct.shardInfo.size()));
-          for (Map.Entry<String, Long> _iter63 : struct.shardInfo.entrySet())
-          {
-            oprot.writeString(_iter63.getKey());
-            oprot.writeI64(_iter63.getValue());
-          }
-          oprot.writeMapEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      if (struct.results != null) {
-        oprot.writeFieldBegin(RESULTS_FIELD_DESC);
-        {
-          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.results.size()));
-          for (BlurResult _iter64 : struct.results)
-          {
-            _iter64.write(oprot);
-          }
-          oprot.writeListEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      if (struct.facetCounts != null) {
-        oprot.writeFieldBegin(FACET_COUNTS_FIELD_DESC);
-        {
-          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.facetCounts.size()));
-          for (long _iter65 : struct.facetCounts)
-          {
-            oprot.writeI64(_iter65);
-          }
-          oprot.writeListEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      if (struct.exceptions != null) {
-        oprot.writeFieldBegin(EXCEPTIONS_FIELD_DESC);
-        {
-          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.exceptions.size()));
-          for (BlurException _iter66 : struct.exceptions)
-          {
-            _iter66.write(oprot);
-          }
-          oprot.writeListEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      if (struct.query != null) {
-        oprot.writeFieldBegin(QUERY_FIELD_DESC);
-        struct.query.write(oprot);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class BlurResultsTupleSchemeFactory implements SchemeFactory {
-    public BlurResultsTupleScheme getScheme() {
-      return new BlurResultsTupleScheme();
-    }
-  }
-
-  private static class BlurResultsTupleScheme extends TupleScheme<BlurResults> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, BlurResults struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetTotalResults()) {
-        optionals.set(0);
-      }
-      if (struct.isSetShardInfo()) {
-        optionals.set(1);
-      }
-      if (struct.isSetResults()) {
-        optionals.set(2);
-      }
-      if (struct.isSetFacetCounts()) {
-        optionals.set(3);
-      }
-      if (struct.isSetExceptions()) {
-        optionals.set(4);
-      }
-      if (struct.isSetQuery()) {
-        optionals.set(5);
-      }
-      oprot.writeBitSet(optionals, 6);
-      if (struct.isSetTotalResults()) {
-        oprot.writeI64(struct.totalResults);
-      }
-      if (struct.isSetShardInfo()) {
-        {
-          oprot.writeI32(struct.shardInfo.size());
-          for (Map.Entry<String, Long> _iter67 : struct.shardInfo.entrySet())
-          {
-            oprot.writeString(_iter67.getKey());
-            oprot.writeI64(_iter67.getValue());
-          }
-        }
-      }
-      if (struct.isSetResults()) {
-        {
-          oprot.writeI32(struct.results.size());
-          for (BlurResult _iter68 : struct.results)
-          {
-            _iter68.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetFacetCounts()) {
-        {
-          oprot.writeI32(struct.facetCounts.size());
-          for (long _iter69 : struct.facetCounts)
-          {
-            oprot.writeI64(_iter69);
-          }
-        }
-      }
-      if (struct.isSetExceptions()) {
-        {
-          oprot.writeI32(struct.exceptions.size());
-          for (BlurException _iter70 : struct.exceptions)
-          {
-            _iter70.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetQuery()) {
-        struct.query.write(oprot);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, BlurResults struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(6);
-      if (incoming.get(0)) {
-        struct.totalResults = iprot.readI64();
-        struct.setTotalResultsIsSet(true);
-      }
-      if (incoming.get(1)) {
-        {
-          org.apache.thrift.protocol.TMap _map71 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, iprot.readI32());
-          struct.shardInfo = new HashMap<String,Long>(2*_map71.size);
-          for (int _i72 = 0; _i72 < _map71.size; ++_i72)
-          {
-            String _key73; // required
-            long _val74; // optional
-            _key73 = iprot.readString();
-            _val74 = iprot.readI64();
-            struct.shardInfo.put(_key73, _val74);
-          }
-        }
-        struct.setShardInfoIsSet(true);
-      }
-      if (incoming.get(2)) {
-        {
-          org.apache.thrift.protocol.TList _list75 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.results = new ArrayList<BlurResult>(_list75.size);
-          for (int _i76 = 0; _i76 < _list75.size; ++_i76)
-          {
-            BlurResult _elem77; // required
-            _elem77 = new BlurResult();
-            _elem77.read(iprot);
-            struct.results.add(_elem77);
-          }
-        }
-        struct.setResultsIsSet(true);
-      }
-      if (incoming.get(3)) {
-        {
-          org.apache.thrift.protocol.TList _list78 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
-          struct.facetCounts = new ArrayList<Long>(_list78.size);
-          for (int _i79 = 0; _i79 < _list78.size; ++_i79)
-          {
-            long _elem80; // required
-            _elem80 = iprot.readI64();
-            struct.facetCounts.add(_elem80);
-          }
-        }
-        struct.setFacetCountsIsSet(true);
-      }
-      if (incoming.get(4)) {
-        {
-          org.apache.thrift.protocol.TList _list81 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.exceptions = new ArrayList<BlurException>(_list81.size);
-          for (int _i82 = 0; _i82 < _list81.size; ++_i82)
-          {
-            BlurException _elem83; // required
-            _elem83 = new BlurException();
-            _elem83.read(iprot);
-            struct.exceptions.add(_elem83);
-          }
-        }
-        struct.setExceptionsIsSet(true);
-      }
-      if (incoming.get(5)) {
-        struct.query = new BlurQuery();
-        struct.query.read(iprot);
-        struct.setQueryIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/32e1d176/interface/gen-java/org/apache/blur/thrift/generated/Column.java
----------------------------------------------------------------------
diff --git a/interface/gen-java/org/apache/blur/thrift/generated/Column.java b/interface/gen-java/org/apache/blur/thrift/generated/Column.java
deleted file mode 100644
index 850f546..0000000
--- a/interface/gen-java/org/apache/blur/thrift/generated/Column.java
+++ /dev/null
@@ -1,532 +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;
-
-/**
- * Column is the lowest storage element in Blur, it stores a single name and value pair.
- */
-public class Column implements org.apache.thrift.TBase<Column, Column._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Column");
-
-  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", 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 ColumnStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ColumnTupleSchemeFactory());
-  }
-
-  /**
-   * The name of the column.
-   */
-  public String name; // required
-  /**
-   * The value to be indexed and stored.
-   */
-  public String value; // 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 name of the column.
-     */
-    NAME((short)1, "name"),
-    /**
-     * The value to be indexed and stored.
-     */
-    VALUE((short)2, "value");
-
-    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: // NAME
-          return NAME;
-        case 2: // VALUE
-          return VALUE;
-        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.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", 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(Column.class, metaDataMap);
-  }
-
-  public Column() {
-  }
-
-  public Column(
-    String name,
-    String value)
-  {
-    this();
-    this.name = name;
-    this.value = value;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public Column(Column other) {
-    if (other.isSetName()) {
-      this.name = other.name;
-    }
-    if (other.isSetValue()) {
-      this.value = other.value;
-    }
-  }
-
-  public Column deepCopy() {
-    return new Column(this);
-  }
-
-  @Override
-  public void clear() {
-    this.name = null;
-    this.value = null;
-  }
-
-  /**
-   * The name of the column.
-   */
-  public String getName() {
-    return this.name;
-  }
-
-  /**
-   * The name of the column.
-   */
-  public Column setName(String name) {
-    this.name = name;
-    return this;
-  }
-
-  public void unsetName() {
-    this.name = null;
-  }
-
-  /** Returns true if field name is set (has been assigned a value) and false otherwise */
-  public boolean isSetName() {
-    return this.name != null;
-  }
-
-  public void setNameIsSet(boolean value) {
-    if (!value) {
-      this.name = null;
-    }
-  }
-
-  /**
-   * The value to be indexed and stored.
-   */
-  public String getValue() {
-    return this.value;
-  }
-
-  /**
-   * The value to be indexed and stored.
-   */
-  public Column setValue(String value) {
-    this.value = value;
-    return this;
-  }
-
-  public void unsetValue() {
-    this.value = null;
-  }
-
-  /** Returns true if field value is set (has been assigned a value) and false otherwise */
-  public boolean isSetValue() {
-    return this.value != null;
-  }
-
-  public void setValueIsSet(boolean value) {
-    if (!value) {
-      this.value = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case NAME:
-      if (value == null) {
-        unsetName();
-      } else {
-        setName((String)value);
-      }
-      break;
-
-    case VALUE:
-      if (value == null) {
-        unsetValue();
-      } else {
-        setValue((String)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case NAME:
-      return getName();
-
-    case VALUE:
-      return getValue();
-
-    }
-    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 NAME:
-      return isSetName();
-    case VALUE:
-      return isSetValue();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof Column)
-      return this.equals((Column)that);
-    return false;
-  }
-
-  public boolean equals(Column that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_name = true && this.isSetName();
-    boolean that_present_name = true && that.isSetName();
-    if (this_present_name || that_present_name) {
-      if (!(this_present_name && that_present_name))
-        return false;
-      if (!this.name.equals(that.name))
-        return false;
-    }
-
-    boolean this_present_value = true && this.isSetValue();
-    boolean that_present_value = true && that.isSetValue();
-    if (this_present_value || that_present_value) {
-      if (!(this_present_value && that_present_value))
-        return false;
-      if (!this.value.equals(that.value))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(Column other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    Column typedOther = (Column)other;
-
-    lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetValue()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value);
-      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("Column(");
-    boolean first = true;
-
-    sb.append("name:");
-    if (this.name == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.name);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("value:");
-    if (this.value == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.value);
-    }
-    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 ColumnStandardSchemeFactory implements SchemeFactory {
-    public ColumnStandardScheme getScheme() {
-      return new ColumnStandardScheme();
-    }
-  }
-
-  private static class ColumnStandardScheme extends StandardScheme<Column> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, Column 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: // NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.name = iprot.readString();
-              struct.setNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // VALUE
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.value = iprot.readString();
-              struct.setValueIsSet(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, Column struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.name != null) {
-        oprot.writeFieldBegin(NAME_FIELD_DESC);
-        oprot.writeString(struct.name);
-        oprot.writeFieldEnd();
-      }
-      if (struct.value != null) {
-        oprot.writeFieldBegin(VALUE_FIELD_DESC);
-        oprot.writeString(struct.value);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ColumnTupleSchemeFactory implements SchemeFactory {
-    public ColumnTupleScheme getScheme() {
-      return new ColumnTupleScheme();
-    }
-  }
-
-  private static class ColumnTupleScheme extends TupleScheme<Column> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, Column struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetName()) {
-        optionals.set(0);
-      }
-      if (struct.isSetValue()) {
-        optionals.set(1);
-      }
-      oprot.writeBitSet(optionals, 2);
-      if (struct.isSetName()) {
-        oprot.writeString(struct.name);
-      }
-      if (struct.isSetValue()) {
-        oprot.writeString(struct.value);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, Column struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(2);
-      if (incoming.get(0)) {
-        struct.name = iprot.readString();
-        struct.setNameIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.value = iprot.readString();
-        struct.setValueIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/32e1d176/interface/gen-java/org/apache/blur/thrift/generated/ColumnDefinition.java
----------------------------------------------------------------------
diff --git a/interface/gen-java/org/apache/blur/thrift/generated/ColumnDefinition.java b/interface/gen-java/org/apache/blur/thrift/generated/ColumnDefinition.java
deleted file mode 100644
index 9c48485..0000000
--- a/interface/gen-java/org/apache/blur/thrift/generated/ColumnDefinition.java
+++ /dev/null
@@ -1,674 +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 ColumnDefinition implements org.apache.thrift.TBase<ColumnDefinition, ColumnDefinition._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnDefinition");
-
-  private static final org.apache.thrift.protocol.TField ANALYZER_CLASS_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("analyzerClassName", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField FULL_TEXT_INDEX_FIELD_DESC = new org.apache.thrift.protocol.TField("fullTextIndex", org.apache.thrift.protocol.TType.BOOL, (short)2);
-  private static final org.apache.thrift.protocol.TField ALTERNATE_COLUMN_DEFINITIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("alternateColumnDefinitions", org.apache.thrift.protocol.TType.MAP, (short)3);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ColumnDefinitionStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ColumnDefinitionTupleSchemeFactory());
-  }
-
-  public String analyzerClassName; // required
-  public boolean fullTextIndex; // required
-  public Map<String,AlternateColumnDefinition> alternateColumnDefinitions; // 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 {
-    ANALYZER_CLASS_NAME((short)1, "analyzerClassName"),
-    FULL_TEXT_INDEX((short)2, "fullTextIndex"),
-    ALTERNATE_COLUMN_DEFINITIONS((short)3, "alternateColumnDefinitions");
-
-    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: // ANALYZER_CLASS_NAME
-          return ANALYZER_CLASS_NAME;
-        case 2: // FULL_TEXT_INDEX
-          return FULL_TEXT_INDEX;
-        case 3: // ALTERNATE_COLUMN_DEFINITIONS
-          return ALTERNATE_COLUMN_DEFINITIONS;
-        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 __FULLTEXTINDEX_ISSET_ID = 0;
-  private byte __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.ANALYZER_CLASS_NAME, new org.apache.thrift.meta_data.FieldMetaData("analyzerClassName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.FULL_TEXT_INDEX, new org.apache.thrift.meta_data.FieldMetaData("fullTextIndex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.ALTERNATE_COLUMN_DEFINITIONS, new org.apache.thrift.meta_data.FieldMetaData("alternateColumnDefinitions", 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), 
-            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AlternateColumnDefinition.class))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ColumnDefinition.class, metaDataMap);
-  }
-
-  public ColumnDefinition() {
-    this.analyzerClassName = "org.apache.lucene.analysis.standard.StandardAnalyzer";
-
-  }
-
-  public ColumnDefinition(
-    String analyzerClassName,
-    boolean fullTextIndex,
-    Map<String,AlternateColumnDefinition> alternateColumnDefinitions)
-  {
-    this();
-    this.analyzerClassName = analyzerClassName;
-    this.fullTextIndex = fullTextIndex;
-    setFullTextIndexIsSet(true);
-    this.alternateColumnDefinitions = alternateColumnDefinitions;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ColumnDefinition(ColumnDefinition other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetAnalyzerClassName()) {
-      this.analyzerClassName = other.analyzerClassName;
-    }
-    this.fullTextIndex = other.fullTextIndex;
-    if (other.isSetAlternateColumnDefinitions()) {
-      Map<String,AlternateColumnDefinition> __this__alternateColumnDefinitions = new HashMap<String,AlternateColumnDefinition>();
-      for (Map.Entry<String, AlternateColumnDefinition> other_element : other.alternateColumnDefinitions.entrySet()) {
-
-        String other_element_key = other_element.getKey();
-        AlternateColumnDefinition other_element_value = other_element.getValue();
-
-        String __this__alternateColumnDefinitions_copy_key = other_element_key;
-
-        AlternateColumnDefinition __this__alternateColumnDefinitions_copy_value = new AlternateColumnDefinition(other_element_value);
-
-        __this__alternateColumnDefinitions.put(__this__alternateColumnDefinitions_copy_key, __this__alternateColumnDefinitions_copy_value);
-      }
-      this.alternateColumnDefinitions = __this__alternateColumnDefinitions;
-    }
-  }
-
-  public ColumnDefinition deepCopy() {
-    return new ColumnDefinition(this);
-  }
-
-  @Override
-  public void clear() {
-    this.analyzerClassName = "org.apache.lucene.analysis.standard.StandardAnalyzer";
-
-    setFullTextIndexIsSet(false);
-    this.fullTextIndex = false;
-    this.alternateColumnDefinitions = null;
-  }
-
-  public String getAnalyzerClassName() {
-    return this.analyzerClassName;
-  }
-
-  public ColumnDefinition setAnalyzerClassName(String analyzerClassName) {
-    this.analyzerClassName = analyzerClassName;
-    return this;
-  }
-
-  public void unsetAnalyzerClassName() {
-    this.analyzerClassName = null;
-  }
-
-  /** Returns true if field analyzerClassName is set (has been assigned a value) and false otherwise */
-  public boolean isSetAnalyzerClassName() {
-    return this.analyzerClassName != null;
-  }
-
-  public void setAnalyzerClassNameIsSet(boolean value) {
-    if (!value) {
-      this.analyzerClassName = null;
-    }
-  }
-
-  public boolean isFullTextIndex() {
-    return this.fullTextIndex;
-  }
-
-  public ColumnDefinition setFullTextIndex(boolean fullTextIndex) {
-    this.fullTextIndex = fullTextIndex;
-    setFullTextIndexIsSet(true);
-    return this;
-  }
-
-  public void unsetFullTextIndex() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __FULLTEXTINDEX_ISSET_ID);
-  }
-
-  /** Returns true if field fullTextIndex is set (has been assigned a value) and false otherwise */
-  public boolean isSetFullTextIndex() {
-    return EncodingUtils.testBit(__isset_bitfield, __FULLTEXTINDEX_ISSET_ID);
-  }
-
-  public void setFullTextIndexIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __FULLTEXTINDEX_ISSET_ID, value);
-  }
-
-  public int getAlternateColumnDefinitionsSize() {
-    return (this.alternateColumnDefinitions == null) ? 0 : this.alternateColumnDefinitions.size();
-  }
-
-  public void putToAlternateColumnDefinitions(String key, AlternateColumnDefinition val) {
-    if (this.alternateColumnDefinitions == null) {
-      this.alternateColumnDefinitions = new HashMap<String,AlternateColumnDefinition>();
-    }
-    this.alternateColumnDefinitions.put(key, val);
-  }
-
-  public Map<String,AlternateColumnDefinition> getAlternateColumnDefinitions() {
-    return this.alternateColumnDefinitions;
-  }
-
-  public ColumnDefinition setAlternateColumnDefinitions(Map<String,AlternateColumnDefinition> alternateColumnDefinitions) {
-    this.alternateColumnDefinitions = alternateColumnDefinitions;
-    return this;
-  }
-
-  public void unsetAlternateColumnDefinitions() {
-    this.alternateColumnDefinitions = null;
-  }
-
-  /** Returns true if field alternateColumnDefinitions is set (has been assigned a value) and false otherwise */
-  public boolean isSetAlternateColumnDefinitions() {
-    return this.alternateColumnDefinitions != null;
-  }
-
-  public void setAlternateColumnDefinitionsIsSet(boolean value) {
-    if (!value) {
-      this.alternateColumnDefinitions = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case ANALYZER_CLASS_NAME:
-      if (value == null) {
-        unsetAnalyzerClassName();
-      } else {
-        setAnalyzerClassName((String)value);
-      }
-      break;
-
-    case FULL_TEXT_INDEX:
-      if (value == null) {
-        unsetFullTextIndex();
-      } else {
-        setFullTextIndex((Boolean)value);
-      }
-      break;
-
-    case ALTERNATE_COLUMN_DEFINITIONS:
-      if (value == null) {
-        unsetAlternateColumnDefinitions();
-      } else {
-        setAlternateColumnDefinitions((Map<String,AlternateColumnDefinition>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case ANALYZER_CLASS_NAME:
-      return getAnalyzerClassName();
-
-    case FULL_TEXT_INDEX:
-      return Boolean.valueOf(isFullTextIndex());
-
-    case ALTERNATE_COLUMN_DEFINITIONS:
-      return getAlternateColumnDefinitions();
-
-    }
-    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 ANALYZER_CLASS_NAME:
-      return isSetAnalyzerClassName();
-    case FULL_TEXT_INDEX:
-      return isSetFullTextIndex();
-    case ALTERNATE_COLUMN_DEFINITIONS:
-      return isSetAlternateColumnDefinitions();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ColumnDefinition)
-      return this.equals((ColumnDefinition)that);
-    return false;
-  }
-
-  public boolean equals(ColumnDefinition that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_analyzerClassName = true && this.isSetAnalyzerClassName();
-    boolean that_present_analyzerClassName = true && that.isSetAnalyzerClassName();
-    if (this_present_analyzerClassName || that_present_analyzerClassName) {
-      if (!(this_present_analyzerClassName && that_present_analyzerClassName))
-        return false;
-      if (!this.analyzerClassName.equals(that.analyzerClassName))
-        return false;
-    }
-
-    boolean this_present_fullTextIndex = true;
-    boolean that_present_fullTextIndex = true;
-    if (this_present_fullTextIndex || that_present_fullTextIndex) {
-      if (!(this_present_fullTextIndex && that_present_fullTextIndex))
-        return false;
-      if (this.fullTextIndex != that.fullTextIndex)
-        return false;
-    }
-
-    boolean this_present_alternateColumnDefinitions = true && this.isSetAlternateColumnDefinitions();
-    boolean that_present_alternateColumnDefinitions = true && that.isSetAlternateColumnDefinitions();
-    if (this_present_alternateColumnDefinitions || that_present_alternateColumnDefinitions) {
-      if (!(this_present_alternateColumnDefinitions && that_present_alternateColumnDefinitions))
-        return false;
-      if (!this.alternateColumnDefinitions.equals(that.alternateColumnDefinitions))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(ColumnDefinition other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    ColumnDefinition typedOther = (ColumnDefinition)other;
-
-    lastComparison = Boolean.valueOf(isSetAnalyzerClassName()).compareTo(typedOther.isSetAnalyzerClassName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetAnalyzerClassName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.analyzerClassName, typedOther.analyzerClassName);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetFullTextIndex()).compareTo(typedOther.isSetFullTextIndex());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetFullTextIndex()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fullTextIndex, typedOther.fullTextIndex);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetAlternateColumnDefinitions()).compareTo(typedOther.isSetAlternateColumnDefinitions());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetAlternateColumnDefinitions()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.alternateColumnDefinitions, typedOther.alternateColumnDefinitions);
-      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("ColumnDefinition(");
-    boolean first = true;
-
-    sb.append("analyzerClassName:");
-    if (this.analyzerClassName == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.analyzerClassName);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("fullTextIndex:");
-    sb.append(this.fullTextIndex);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("alternateColumnDefinitions:");
-    if (this.alternateColumnDefinitions == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.alternateColumnDefinitions);
-    }
-    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 {
-      // 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 ColumnDefinitionStandardSchemeFactory implements SchemeFactory {
-    public ColumnDefinitionStandardScheme getScheme() {
-      return new ColumnDefinitionStandardScheme();
-    }
-  }
-
-  private static class ColumnDefinitionStandardScheme extends StandardScheme<ColumnDefinition> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ColumnDefinition 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: // ANALYZER_CLASS_NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.analyzerClassName = iprot.readString();
-              struct.setAnalyzerClassNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // FULL_TEXT_INDEX
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.fullTextIndex = iprot.readBool();
-              struct.setFullTextIndexIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // ALTERNATE_COLUMN_DEFINITIONS
-            if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
-              {
-                org.apache.thrift.protocol.TMap _map120 = iprot.readMapBegin();
-                struct.alternateColumnDefinitions = new HashMap<String,AlternateColumnDefinition>(2*_map120.size);
-                for (int _i121 = 0; _i121 < _map120.size; ++_i121)
-                {
-                  String _key122; // required
-                  AlternateColumnDefinition _val123; // optional
-                  _key122 = iprot.readString();
-                  _val123 = new AlternateColumnDefinition();
-                  _val123.read(iprot);
-                  struct.alternateColumnDefinitions.put(_key122, _val123);
-                }
-                iprot.readMapEnd();
-              }
-              struct.setAlternateColumnDefinitionsIsSet(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, ColumnDefinition struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.analyzerClassName != null) {
-        oprot.writeFieldBegin(ANALYZER_CLASS_NAME_FIELD_DESC);
-        oprot.writeString(struct.analyzerClassName);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldBegin(FULL_TEXT_INDEX_FIELD_DESC);
-      oprot.writeBool(struct.fullTextIndex);
-      oprot.writeFieldEnd();
-      if (struct.alternateColumnDefinitions != null) {
-        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> _iter124 : struct.alternateColumnDefinitions.entrySet())
-          {
-            oprot.writeString(_iter124.getKey());
-            _iter124.getValue().write(oprot);
-          }
-          oprot.writeMapEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ColumnDefinitionTupleSchemeFactory implements SchemeFactory {
-    public ColumnDefinitionTupleScheme getScheme() {
-      return new ColumnDefinitionTupleScheme();
-    }
-  }
-
-  private static class ColumnDefinitionTupleScheme extends TupleScheme<ColumnDefinition> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ColumnDefinition struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetAnalyzerClassName()) {
-        optionals.set(0);
-      }
-      if (struct.isSetFullTextIndex()) {
-        optionals.set(1);
-      }
-      if (struct.isSetAlternateColumnDefinitions()) {
-        optionals.set(2);
-      }
-      oprot.writeBitSet(optionals, 3);
-      if (struct.isSetAnalyzerClassName()) {
-        oprot.writeString(struct.analyzerClassName);
-      }
-      if (struct.isSetFullTextIndex()) {
-        oprot.writeBool(struct.fullTextIndex);
-      }
-      if (struct.isSetAlternateColumnDefinitions()) {
-        {
-          oprot.writeI32(struct.alternateColumnDefinitions.size());
-          for (Map.Entry<String, AlternateColumnDefinition> _iter125 : struct.alternateColumnDefinitions.entrySet())
-          {
-            oprot.writeString(_iter125.getKey());
-            _iter125.getValue().write(oprot);
-          }
-        }
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ColumnDefinition struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(3);
-      if (incoming.get(0)) {
-        struct.analyzerClassName = iprot.readString();
-        struct.setAnalyzerClassNameIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.fullTextIndex = iprot.readBool();
-        struct.setFullTextIndexIsSet(true);
-      }
-      if (incoming.get(2)) {
-        {
-          org.apache.thrift.protocol.TMap _map126 = 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*_map126.size);
-          for (int _i127 = 0; _i127 < _map126.size; ++_i127)
-          {
-            String _key128; // required
-            AlternateColumnDefinition _val129; // optional
-            _key128 = iprot.readString();
-            _val129 = new AlternateColumnDefinition();
-            _val129.read(iprot);
-            struct.alternateColumnDefinitions.put(_key128, _val129);
-          }
-        }
-        struct.setAlternateColumnDefinitionsIsSet(true);
-      }
-    }
-  }
-
-}
-


Mime
View raw message