incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [11/18] Removing used dirs.
Date Thu, 28 Mar 2013 23:36:08 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/32e1d176/interface/gen-java/org/apache/blur/thrift/generated/ColumnFamilyDefinition.java
----------------------------------------------------------------------
diff --git a/interface/gen-java/org/apache/blur/thrift/generated/ColumnFamilyDefinition.java b/interface/gen-java/org/apache/blur/thrift/generated/ColumnFamilyDefinition.java
deleted file mode 100644
index 926b7a2..0000000
--- a/interface/gen-java/org/apache/blur/thrift/generated/ColumnFamilyDefinition.java
+++ /dev/null
@@ -1,602 +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 ColumnFamilyDefinition implements org.apache.thrift.TBase<ColumnFamilyDefinition, ColumnFamilyDefinition._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnFamilyDefinition");
-
-  private static final org.apache.thrift.protocol.TField DEFAULT_DEFINITION_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultDefinition", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-  private static final org.apache.thrift.protocol.TField COLUMN_DEFINITIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("columnDefinitions", org.apache.thrift.protocol.TType.MAP, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ColumnFamilyDefinitionStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ColumnFamilyDefinitionTupleSchemeFactory());
-  }
-
-  /**
-   * 
-   */
-  public ColumnDefinition defaultDefinition; // required
-  /**
-   * 
-   */
-  public Map<String,ColumnDefinition> columnDefinitions; // 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 {
-    /**
-     * 
-     */
-    DEFAULT_DEFINITION((short)1, "defaultDefinition"),
-    /**
-     * 
-     */
-    COLUMN_DEFINITIONS((short)2, "columnDefinitions");
-
-    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: // DEFAULT_DEFINITION
-          return DEFAULT_DEFINITION;
-        case 2: // COLUMN_DEFINITIONS
-          return 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
-  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.DEFAULT_DEFINITION, new org.apache.thrift.meta_data.FieldMetaData("defaultDefinition", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnDefinition.class)));
-    tmpMap.put(_Fields.COLUMN_DEFINITIONS, new org.apache.thrift.meta_data.FieldMetaData("columnDefinitions", 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, ColumnDefinition.class))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ColumnFamilyDefinition.class, metaDataMap);
-  }
-
-  public ColumnFamilyDefinition() {
-  }
-
-  public ColumnFamilyDefinition(
-    ColumnDefinition defaultDefinition,
-    Map<String,ColumnDefinition> columnDefinitions)
-  {
-    this();
-    this.defaultDefinition = defaultDefinition;
-    this.columnDefinitions = columnDefinitions;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ColumnFamilyDefinition(ColumnFamilyDefinition other) {
-    if (other.isSetDefaultDefinition()) {
-      this.defaultDefinition = new ColumnDefinition(other.defaultDefinition);
-    }
-    if (other.isSetColumnDefinitions()) {
-      Map<String,ColumnDefinition> __this__columnDefinitions = new HashMap<String,ColumnDefinition>();
-      for (Map.Entry<String, ColumnDefinition> other_element : other.columnDefinitions.entrySet()) {
-
-        String other_element_key = other_element.getKey();
-        ColumnDefinition other_element_value = other_element.getValue();
-
-        String __this__columnDefinitions_copy_key = other_element_key;
-
-        ColumnDefinition __this__columnDefinitions_copy_value = new ColumnDefinition(other_element_value);
-
-        __this__columnDefinitions.put(__this__columnDefinitions_copy_key, __this__columnDefinitions_copy_value);
-      }
-      this.columnDefinitions = __this__columnDefinitions;
-    }
-  }
-
-  public ColumnFamilyDefinition deepCopy() {
-    return new ColumnFamilyDefinition(this);
-  }
-
-  @Override
-  public void clear() {
-    this.defaultDefinition = null;
-    this.columnDefinitions = null;
-  }
-
-  /**
-   * 
-   */
-  public ColumnDefinition getDefaultDefinition() {
-    return this.defaultDefinition;
-  }
-
-  /**
-   * 
-   */
-  public ColumnFamilyDefinition setDefaultDefinition(ColumnDefinition defaultDefinition) {
-    this.defaultDefinition = defaultDefinition;
-    return this;
-  }
-
-  public void unsetDefaultDefinition() {
-    this.defaultDefinition = null;
-  }
-
-  /** Returns true if field defaultDefinition is set (has been assigned a value) and false otherwise */
-  public boolean isSetDefaultDefinition() {
-    return this.defaultDefinition != null;
-  }
-
-  public void setDefaultDefinitionIsSet(boolean value) {
-    if (!value) {
-      this.defaultDefinition = null;
-    }
-  }
-
-  public int getColumnDefinitionsSize() {
-    return (this.columnDefinitions == null) ? 0 : this.columnDefinitions.size();
-  }
-
-  public void putToColumnDefinitions(String key, ColumnDefinition val) {
-    if (this.columnDefinitions == null) {
-      this.columnDefinitions = new HashMap<String,ColumnDefinition>();
-    }
-    this.columnDefinitions.put(key, val);
-  }
-
-  /**
-   * 
-   */
-  public Map<String,ColumnDefinition> getColumnDefinitions() {
-    return this.columnDefinitions;
-  }
-
-  /**
-   * 
-   */
-  public ColumnFamilyDefinition setColumnDefinitions(Map<String,ColumnDefinition> columnDefinitions) {
-    this.columnDefinitions = columnDefinitions;
-    return this;
-  }
-
-  public void unsetColumnDefinitions() {
-    this.columnDefinitions = null;
-  }
-
-  /** Returns true if field columnDefinitions is set (has been assigned a value) and false otherwise */
-  public boolean isSetColumnDefinitions() {
-    return this.columnDefinitions != null;
-  }
-
-  public void setColumnDefinitionsIsSet(boolean value) {
-    if (!value) {
-      this.columnDefinitions = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case DEFAULT_DEFINITION:
-      if (value == null) {
-        unsetDefaultDefinition();
-      } else {
-        setDefaultDefinition((ColumnDefinition)value);
-      }
-      break;
-
-    case COLUMN_DEFINITIONS:
-      if (value == null) {
-        unsetColumnDefinitions();
-      } else {
-        setColumnDefinitions((Map<String,ColumnDefinition>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case DEFAULT_DEFINITION:
-      return getDefaultDefinition();
-
-    case COLUMN_DEFINITIONS:
-      return getColumnDefinitions();
-
-    }
-    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 DEFAULT_DEFINITION:
-      return isSetDefaultDefinition();
-    case COLUMN_DEFINITIONS:
-      return isSetColumnDefinitions();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ColumnFamilyDefinition)
-      return this.equals((ColumnFamilyDefinition)that);
-    return false;
-  }
-
-  public boolean equals(ColumnFamilyDefinition that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_defaultDefinition = true && this.isSetDefaultDefinition();
-    boolean that_present_defaultDefinition = true && that.isSetDefaultDefinition();
-    if (this_present_defaultDefinition || that_present_defaultDefinition) {
-      if (!(this_present_defaultDefinition && that_present_defaultDefinition))
-        return false;
-      if (!this.defaultDefinition.equals(that.defaultDefinition))
-        return false;
-    }
-
-    boolean this_present_columnDefinitions = true && this.isSetColumnDefinitions();
-    boolean that_present_columnDefinitions = true && that.isSetColumnDefinitions();
-    if (this_present_columnDefinitions || that_present_columnDefinitions) {
-      if (!(this_present_columnDefinitions && that_present_columnDefinitions))
-        return false;
-      if (!this.columnDefinitions.equals(that.columnDefinitions))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(ColumnFamilyDefinition other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    ColumnFamilyDefinition typedOther = (ColumnFamilyDefinition)other;
-
-    lastComparison = Boolean.valueOf(isSetDefaultDefinition()).compareTo(typedOther.isSetDefaultDefinition());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetDefaultDefinition()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultDefinition, typedOther.defaultDefinition);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetColumnDefinitions()).compareTo(typedOther.isSetColumnDefinitions());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetColumnDefinitions()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnDefinitions, typedOther.columnDefinitions);
-      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("ColumnFamilyDefinition(");
-    boolean first = true;
-
-    sb.append("defaultDefinition:");
-    if (this.defaultDefinition == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.defaultDefinition);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("columnDefinitions:");
-    if (this.columnDefinitions == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.columnDefinitions);
-    }
-    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 (defaultDefinition != null) {
-      defaultDefinition.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 {
-      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 ColumnFamilyDefinitionStandardSchemeFactory implements SchemeFactory {
-    public ColumnFamilyDefinitionStandardScheme getScheme() {
-      return new ColumnFamilyDefinitionStandardScheme();
-    }
-  }
-
-  private static class ColumnFamilyDefinitionStandardScheme extends StandardScheme<ColumnFamilyDefinition> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ColumnFamilyDefinition 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: // DEFAULT_DEFINITION
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.defaultDefinition = new ColumnDefinition();
-              struct.defaultDefinition.read(iprot);
-              struct.setDefaultDefinitionIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // COLUMN_DEFINITIONS
-            if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
-              {
-                org.apache.thrift.protocol.TMap _map130 = iprot.readMapBegin();
-                struct.columnDefinitions = new HashMap<String,ColumnDefinition>(2*_map130.size);
-                for (int _i131 = 0; _i131 < _map130.size; ++_i131)
-                {
-                  String _key132; // required
-                  ColumnDefinition _val133; // optional
-                  _key132 = iprot.readString();
-                  _val133 = new ColumnDefinition();
-                  _val133.read(iprot);
-                  struct.columnDefinitions.put(_key132, _val133);
-                }
-                iprot.readMapEnd();
-              }
-              struct.setColumnDefinitionsIsSet(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, ColumnFamilyDefinition struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.defaultDefinition != null) {
-        oprot.writeFieldBegin(DEFAULT_DEFINITION_FIELD_DESC);
-        struct.defaultDefinition.write(oprot);
-        oprot.writeFieldEnd();
-      }
-      if (struct.columnDefinitions != null) {
-        oprot.writeFieldBegin(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.columnDefinitions.size()));
-          for (Map.Entry<String, ColumnDefinition> _iter134 : struct.columnDefinitions.entrySet())
-          {
-            oprot.writeString(_iter134.getKey());
-            _iter134.getValue().write(oprot);
-          }
-          oprot.writeMapEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ColumnFamilyDefinitionTupleSchemeFactory implements SchemeFactory {
-    public ColumnFamilyDefinitionTupleScheme getScheme() {
-      return new ColumnFamilyDefinitionTupleScheme();
-    }
-  }
-
-  private static class ColumnFamilyDefinitionTupleScheme extends TupleScheme<ColumnFamilyDefinition> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ColumnFamilyDefinition struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetDefaultDefinition()) {
-        optionals.set(0);
-      }
-      if (struct.isSetColumnDefinitions()) {
-        optionals.set(1);
-      }
-      oprot.writeBitSet(optionals, 2);
-      if (struct.isSetDefaultDefinition()) {
-        struct.defaultDefinition.write(oprot);
-      }
-      if (struct.isSetColumnDefinitions()) {
-        {
-          oprot.writeI32(struct.columnDefinitions.size());
-          for (Map.Entry<String, ColumnDefinition> _iter135 : struct.columnDefinitions.entrySet())
-          {
-            oprot.writeString(_iter135.getKey());
-            _iter135.getValue().write(oprot);
-          }
-        }
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ColumnFamilyDefinition struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(2);
-      if (incoming.get(0)) {
-        struct.defaultDefinition = new ColumnDefinition();
-        struct.defaultDefinition.read(iprot);
-        struct.setDefaultDefinitionIsSet(true);
-      }
-      if (incoming.get(1)) {
-        {
-          org.apache.thrift.protocol.TMap _map136 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.columnDefinitions = new HashMap<String,ColumnDefinition>(2*_map136.size);
-          for (int _i137 = 0; _i137 < _map136.size; ++_i137)
-          {
-            String _key138; // required
-            ColumnDefinition _val139; // optional
-            _key138 = iprot.readString();
-            _val139 = new ColumnDefinition();
-            _val139.read(iprot);
-            struct.columnDefinitions.put(_key138, _val139);
-          }
-        }
-        struct.setColumnDefinitionsIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/32e1d176/interface/gen-java/org/apache/blur/thrift/generated/ColumnPreCache.java
----------------------------------------------------------------------
diff --git a/interface/gen-java/org/apache/blur/thrift/generated/ColumnPreCache.java b/interface/gen-java/org/apache/blur/thrift/generated/ColumnPreCache.java
deleted file mode 100644
index 482acfb..0000000
--- a/interface/gen-java/org/apache/blur/thrift/generated/ColumnPreCache.java
+++ /dev/null
@@ -1,472 +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 ColumnPreCache implements org.apache.thrift.TBase<ColumnPreCache, ColumnPreCache._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnPreCache");
-
-  private static final org.apache.thrift.protocol.TField PRE_CACHE_COLS_FIELD_DESC = new org.apache.thrift.protocol.TField("preCacheCols", org.apache.thrift.protocol.TType.LIST, (short)1);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ColumnPreCacheStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ColumnPreCacheTupleSchemeFactory());
-  }
-
-  /**
-   * This map sets what column families and columns to prefetch into block cache on shard open.
-   */
-  public List<String> preCacheCols; // 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 {
-    /**
-     * This map sets what column families and columns to prefetch into block cache on shard open.
-     */
-    PRE_CACHE_COLS((short)1, "preCacheCols");
-
-    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: // PRE_CACHE_COLS
-          return PRE_CACHE_COLS;
-        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.PRE_CACHE_COLS, new org.apache.thrift.meta_data.FieldMetaData("preCacheCols", 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.STRING))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ColumnPreCache.class, metaDataMap);
-  }
-
-  public ColumnPreCache() {
-  }
-
-  public ColumnPreCache(
-    List<String> preCacheCols)
-  {
-    this();
-    this.preCacheCols = preCacheCols;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ColumnPreCache(ColumnPreCache other) {
-    if (other.isSetPreCacheCols()) {
-      List<String> __this__preCacheCols = new ArrayList<String>();
-      for (String other_element : other.preCacheCols) {
-        __this__preCacheCols.add(other_element);
-      }
-      this.preCacheCols = __this__preCacheCols;
-    }
-  }
-
-  public ColumnPreCache deepCopy() {
-    return new ColumnPreCache(this);
-  }
-
-  @Override
-  public void clear() {
-    this.preCacheCols = null;
-  }
-
-  public int getPreCacheColsSize() {
-    return (this.preCacheCols == null) ? 0 : this.preCacheCols.size();
-  }
-
-  public java.util.Iterator<String> getPreCacheColsIterator() {
-    return (this.preCacheCols == null) ? null : this.preCacheCols.iterator();
-  }
-
-  public void addToPreCacheCols(String elem) {
-    if (this.preCacheCols == null) {
-      this.preCacheCols = new ArrayList<String>();
-    }
-    this.preCacheCols.add(elem);
-  }
-
-  /**
-   * This map sets what column families and columns to prefetch into block cache on shard open.
-   */
-  public List<String> getPreCacheCols() {
-    return this.preCacheCols;
-  }
-
-  /**
-   * This map sets what column families and columns to prefetch into block cache on shard open.
-   */
-  public ColumnPreCache setPreCacheCols(List<String> preCacheCols) {
-    this.preCacheCols = preCacheCols;
-    return this;
-  }
-
-  public void unsetPreCacheCols() {
-    this.preCacheCols = null;
-  }
-
-  /** Returns true if field preCacheCols is set (has been assigned a value) and false otherwise */
-  public boolean isSetPreCacheCols() {
-    return this.preCacheCols != null;
-  }
-
-  public void setPreCacheColsIsSet(boolean value) {
-    if (!value) {
-      this.preCacheCols = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case PRE_CACHE_COLS:
-      if (value == null) {
-        unsetPreCacheCols();
-      } else {
-        setPreCacheCols((List<String>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case PRE_CACHE_COLS:
-      return getPreCacheCols();
-
-    }
-    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 PRE_CACHE_COLS:
-      return isSetPreCacheCols();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ColumnPreCache)
-      return this.equals((ColumnPreCache)that);
-    return false;
-  }
-
-  public boolean equals(ColumnPreCache that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_preCacheCols = true && this.isSetPreCacheCols();
-    boolean that_present_preCacheCols = true && that.isSetPreCacheCols();
-    if (this_present_preCacheCols || that_present_preCacheCols) {
-      if (!(this_present_preCacheCols && that_present_preCacheCols))
-        return false;
-      if (!this.preCacheCols.equals(that.preCacheCols))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(ColumnPreCache other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    ColumnPreCache typedOther = (ColumnPreCache)other;
-
-    lastComparison = Boolean.valueOf(isSetPreCacheCols()).compareTo(typedOther.isSetPreCacheCols());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetPreCacheCols()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.preCacheCols, typedOther.preCacheCols);
-      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("ColumnPreCache(");
-    boolean first = true;
-
-    sb.append("preCacheCols:");
-    if (this.preCacheCols == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.preCacheCols);
-    }
-    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 ColumnPreCacheStandardSchemeFactory implements SchemeFactory {
-    public ColumnPreCacheStandardScheme getScheme() {
-      return new ColumnPreCacheStandardScheme();
-    }
-  }
-
-  private static class ColumnPreCacheStandardScheme extends StandardScheme<ColumnPreCache> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ColumnPreCache 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: // PRE_CACHE_COLS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list150 = iprot.readListBegin();
-                struct.preCacheCols = new ArrayList<String>(_list150.size);
-                for (int _i151 = 0; _i151 < _list150.size; ++_i151)
-                {
-                  String _elem152; // required
-                  _elem152 = iprot.readString();
-                  struct.preCacheCols.add(_elem152);
-                }
-                iprot.readListEnd();
-              }
-              struct.setPreCacheColsIsSet(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, ColumnPreCache struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.preCacheCols != null) {
-        oprot.writeFieldBegin(PRE_CACHE_COLS_FIELD_DESC);
-        {
-          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.preCacheCols.size()));
-          for (String _iter153 : struct.preCacheCols)
-          {
-            oprot.writeString(_iter153);
-          }
-          oprot.writeListEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ColumnPreCacheTupleSchemeFactory implements SchemeFactory {
-    public ColumnPreCacheTupleScheme getScheme() {
-      return new ColumnPreCacheTupleScheme();
-    }
-  }
-
-  private static class ColumnPreCacheTupleScheme extends TupleScheme<ColumnPreCache> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ColumnPreCache struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetPreCacheCols()) {
-        optionals.set(0);
-      }
-      oprot.writeBitSet(optionals, 1);
-      if (struct.isSetPreCacheCols()) {
-        {
-          oprot.writeI32(struct.preCacheCols.size());
-          for (String _iter154 : struct.preCacheCols)
-          {
-            oprot.writeString(_iter154);
-          }
-        }
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ColumnPreCache struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(1);
-      if (incoming.get(0)) {
-        {
-          org.apache.thrift.protocol.TList _list155 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
-          struct.preCacheCols = new ArrayList<String>(_list155.size);
-          for (int _i156 = 0; _i156 < _list155.size; ++_i156)
-          {
-            String _elem157; // required
-            _elem157 = iprot.readString();
-            struct.preCacheCols.add(_elem157);
-          }
-        }
-        struct.setPreCacheColsIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/32e1d176/interface/gen-java/org/apache/blur/thrift/generated/CpuTime.java
----------------------------------------------------------------------
diff --git a/interface/gen-java/org/apache/blur/thrift/generated/CpuTime.java b/interface/gen-java/org/apache/blur/thrift/generated/CpuTime.java
deleted file mode 100644
index 02f457f..0000000
--- a/interface/gen-java/org/apache/blur/thrift/generated/CpuTime.java
+++ /dev/null
@@ -1,524 +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 CpuTime implements org.apache.thrift.TBase<CpuTime, CpuTime._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CpuTime");
-
-  private static final org.apache.thrift.protocol.TField CPU_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("cpuTime", org.apache.thrift.protocol.TType.I64, (short)1);
-  private static final org.apache.thrift.protocol.TField REAL_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("realTime", org.apache.thrift.protocol.TType.I64, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new CpuTimeStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new CpuTimeTupleSchemeFactory());
-  }
-
-  /**
-   * 
-   */
-  public long cpuTime; // required
-  /**
-   * 
-   */
-  public long realTime; // 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 {
-    /**
-     * 
-     */
-    CPU_TIME((short)1, "cpuTime"),
-    /**
-     * 
-     */
-    REAL_TIME((short)2, "realTime");
-
-    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: // CPU_TIME
-          return CPU_TIME;
-        case 2: // REAL_TIME
-          return REAL_TIME;
-        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 __CPUTIME_ISSET_ID = 0;
-  private static final int __REALTIME_ISSET_ID = 1;
-  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.CPU_TIME, new org.apache.thrift.meta_data.FieldMetaData("cpuTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    tmpMap.put(_Fields.REAL_TIME, new org.apache.thrift.meta_data.FieldMetaData("realTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CpuTime.class, metaDataMap);
-  }
-
-  public CpuTime() {
-  }
-
-  public CpuTime(
-    long cpuTime,
-    long realTime)
-  {
-    this();
-    this.cpuTime = cpuTime;
-    setCpuTimeIsSet(true);
-    this.realTime = realTime;
-    setRealTimeIsSet(true);
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public CpuTime(CpuTime other) {
-    __isset_bitfield = other.__isset_bitfield;
-    this.cpuTime = other.cpuTime;
-    this.realTime = other.realTime;
-  }
-
-  public CpuTime deepCopy() {
-    return new CpuTime(this);
-  }
-
-  @Override
-  public void clear() {
-    setCpuTimeIsSet(false);
-    this.cpuTime = 0;
-    setRealTimeIsSet(false);
-    this.realTime = 0;
-  }
-
-  /**
-   * 
-   */
-  public long getCpuTime() {
-    return this.cpuTime;
-  }
-
-  /**
-   * 
-   */
-  public CpuTime setCpuTime(long cpuTime) {
-    this.cpuTime = cpuTime;
-    setCpuTimeIsSet(true);
-    return this;
-  }
-
-  public void unsetCpuTime() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CPUTIME_ISSET_ID);
-  }
-
-  /** Returns true if field cpuTime is set (has been assigned a value) and false otherwise */
-  public boolean isSetCpuTime() {
-    return EncodingUtils.testBit(__isset_bitfield, __CPUTIME_ISSET_ID);
-  }
-
-  public void setCpuTimeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CPUTIME_ISSET_ID, value);
-  }
-
-  /**
-   * 
-   */
-  public long getRealTime() {
-    return this.realTime;
-  }
-
-  /**
-   * 
-   */
-  public CpuTime setRealTime(long realTime) {
-    this.realTime = realTime;
-    setRealTimeIsSet(true);
-    return this;
-  }
-
-  public void unsetRealTime() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __REALTIME_ISSET_ID);
-  }
-
-  /** Returns true if field realTime is set (has been assigned a value) and false otherwise */
-  public boolean isSetRealTime() {
-    return EncodingUtils.testBit(__isset_bitfield, __REALTIME_ISSET_ID);
-  }
-
-  public void setRealTimeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __REALTIME_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case CPU_TIME:
-      if (value == null) {
-        unsetCpuTime();
-      } else {
-        setCpuTime((Long)value);
-      }
-      break;
-
-    case REAL_TIME:
-      if (value == null) {
-        unsetRealTime();
-      } else {
-        setRealTime((Long)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case CPU_TIME:
-      return Long.valueOf(getCpuTime());
-
-    case REAL_TIME:
-      return Long.valueOf(getRealTime());
-
-    }
-    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 CPU_TIME:
-      return isSetCpuTime();
-    case REAL_TIME:
-      return isSetRealTime();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof CpuTime)
-      return this.equals((CpuTime)that);
-    return false;
-  }
-
-  public boolean equals(CpuTime that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_cpuTime = true;
-    boolean that_present_cpuTime = true;
-    if (this_present_cpuTime || that_present_cpuTime) {
-      if (!(this_present_cpuTime && that_present_cpuTime))
-        return false;
-      if (this.cpuTime != that.cpuTime)
-        return false;
-    }
-
-    boolean this_present_realTime = true;
-    boolean that_present_realTime = true;
-    if (this_present_realTime || that_present_realTime) {
-      if (!(this_present_realTime && that_present_realTime))
-        return false;
-      if (this.realTime != that.realTime)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(CpuTime other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    CpuTime typedOther = (CpuTime)other;
-
-    lastComparison = Boolean.valueOf(isSetCpuTime()).compareTo(typedOther.isSetCpuTime());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCpuTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cpuTime, typedOther.cpuTime);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetRealTime()).compareTo(typedOther.isSetRealTime());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetRealTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.realTime, typedOther.realTime);
-      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("CpuTime(");
-    boolean first = true;
-
-    sb.append("cpuTime:");
-    sb.append(this.cpuTime);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("realTime:");
-    sb.append(this.realTime);
-    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 CpuTimeStandardSchemeFactory implements SchemeFactory {
-    public CpuTimeStandardScheme getScheme() {
-      return new CpuTimeStandardScheme();
-    }
-  }
-
-  private static class CpuTimeStandardScheme extends StandardScheme<CpuTime> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, CpuTime 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: // CPU_TIME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.cpuTime = iprot.readI64();
-              struct.setCpuTimeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // REAL_TIME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.realTime = iprot.readI64();
-              struct.setRealTimeIsSet(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, CpuTime struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      oprot.writeFieldBegin(CPU_TIME_FIELD_DESC);
-      oprot.writeI64(struct.cpuTime);
-      oprot.writeFieldEnd();
-      oprot.writeFieldBegin(REAL_TIME_FIELD_DESC);
-      oprot.writeI64(struct.realTime);
-      oprot.writeFieldEnd();
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class CpuTimeTupleSchemeFactory implements SchemeFactory {
-    public CpuTimeTupleScheme getScheme() {
-      return new CpuTimeTupleScheme();
-    }
-  }
-
-  private static class CpuTimeTupleScheme extends TupleScheme<CpuTime> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, CpuTime struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetCpuTime()) {
-        optionals.set(0);
-      }
-      if (struct.isSetRealTime()) {
-        optionals.set(1);
-      }
-      oprot.writeBitSet(optionals, 2);
-      if (struct.isSetCpuTime()) {
-        oprot.writeI64(struct.cpuTime);
-      }
-      if (struct.isSetRealTime()) {
-        oprot.writeI64(struct.realTime);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, CpuTime struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(2);
-      if (incoming.get(0)) {
-        struct.cpuTime = iprot.readI64();
-        struct.setCpuTimeIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.realTime = iprot.readI64();
-        struct.setRealTimeIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/32e1d176/interface/gen-java/org/apache/blur/thrift/generated/ExpertQuery.java
----------------------------------------------------------------------
diff --git a/interface/gen-java/org/apache/blur/thrift/generated/ExpertQuery.java b/interface/gen-java/org/apache/blur/thrift/generated/ExpertQuery.java
deleted file mode 100644
index a9f823e..0000000
--- a/interface/gen-java/org/apache/blur/thrift/generated/ExpertQuery.java
+++ /dev/null
@@ -1,554 +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;
-
-/**
- * The expert query allows for submission of a serialized query and filter object to be executed against all the queries.
- */
-public class ExpertQuery implements org.apache.thrift.TBase<ExpertQuery, ExpertQuery._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ExpertQuery");
-
-  private static final org.apache.thrift.protocol.TField QUERY_FIELD_DESC = new org.apache.thrift.protocol.TField("query", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField FILTER_FIELD_DESC = new org.apache.thrift.protocol.TField("filter", 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 ExpertQueryStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ExpertQueryTupleSchemeFactory());
-  }
-
-  /**
-   * The serialized query.
-   */
-  public ByteBuffer query; // required
-  /**
-   * The serialized filter.
-   */
-  public ByteBuffer filter; // 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 serialized query.
-     */
-    QUERY((short)1, "query"),
-    /**
-     * The serialized filter.
-     */
-    FILTER((short)2, "filter");
-
-    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: // QUERY
-          return QUERY;
-        case 2: // FILTER
-          return FILTER;
-        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.QUERY, new org.apache.thrift.meta_data.FieldMetaData("query", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING        , true)));
-    tmpMap.put(_Fields.FILTER, new org.apache.thrift.meta_data.FieldMetaData("filter", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING        , true)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ExpertQuery.class, metaDataMap);
-  }
-
-  public ExpertQuery() {
-  }
-
-  public ExpertQuery(
-    ByteBuffer query,
-    ByteBuffer filter)
-  {
-    this();
-    this.query = query;
-    this.filter = filter;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ExpertQuery(ExpertQuery other) {
-    if (other.isSetQuery()) {
-      this.query = org.apache.thrift.TBaseHelper.copyBinary(other.query);
-;
-    }
-    if (other.isSetFilter()) {
-      this.filter = org.apache.thrift.TBaseHelper.copyBinary(other.filter);
-;
-    }
-  }
-
-  public ExpertQuery deepCopy() {
-    return new ExpertQuery(this);
-  }
-
-  @Override
-  public void clear() {
-    this.query = null;
-    this.filter = null;
-  }
-
-  /**
-   * The serialized query.
-   */
-  public byte[] getQuery() {
-    setQuery(org.apache.thrift.TBaseHelper.rightSize(query));
-    return query == null ? null : query.array();
-  }
-
-  public ByteBuffer bufferForQuery() {
-    return query;
-  }
-
-  /**
-   * The serialized query.
-   */
-  public ExpertQuery setQuery(byte[] query) {
-    setQuery(query == null ? (ByteBuffer)null : ByteBuffer.wrap(query));
-    return this;
-  }
-
-  public ExpertQuery setQuery(ByteBuffer 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;
-    }
-  }
-
-  /**
-   * The serialized filter.
-   */
-  public byte[] getFilter() {
-    setFilter(org.apache.thrift.TBaseHelper.rightSize(filter));
-    return filter == null ? null : filter.array();
-  }
-
-  public ByteBuffer bufferForFilter() {
-    return filter;
-  }
-
-  /**
-   * The serialized filter.
-   */
-  public ExpertQuery setFilter(byte[] filter) {
-    setFilter(filter == null ? (ByteBuffer)null : ByteBuffer.wrap(filter));
-    return this;
-  }
-
-  public ExpertQuery setFilter(ByteBuffer filter) {
-    this.filter = filter;
-    return this;
-  }
-
-  public void unsetFilter() {
-    this.filter = null;
-  }
-
-  /** Returns true if field filter is set (has been assigned a value) and false otherwise */
-  public boolean isSetFilter() {
-    return this.filter != null;
-  }
-
-  public void setFilterIsSet(boolean value) {
-    if (!value) {
-      this.filter = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case QUERY:
-      if (value == null) {
-        unsetQuery();
-      } else {
-        setQuery((ByteBuffer)value);
-      }
-      break;
-
-    case FILTER:
-      if (value == null) {
-        unsetFilter();
-      } else {
-        setFilter((ByteBuffer)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case QUERY:
-      return getQuery();
-
-    case FILTER:
-      return getFilter();
-
-    }
-    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 QUERY:
-      return isSetQuery();
-    case FILTER:
-      return isSetFilter();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ExpertQuery)
-      return this.equals((ExpertQuery)that);
-    return false;
-  }
-
-  public boolean equals(ExpertQuery that) {
-    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_filter = true && this.isSetFilter();
-    boolean that_present_filter = true && that.isSetFilter();
-    if (this_present_filter || that_present_filter) {
-      if (!(this_present_filter && that_present_filter))
-        return false;
-      if (!this.filter.equals(that.filter))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(ExpertQuery other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    ExpertQuery typedOther = (ExpertQuery)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(isSetFilter()).compareTo(typedOther.isSetFilter());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetFilter()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filter, typedOther.filter);
-      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("ExpertQuery(");
-    boolean first = true;
-
-    sb.append("query:");
-    if (this.query == null) {
-      sb.append("null");
-    } else {
-      org.apache.thrift.TBaseHelper.toString(this.query, sb);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("filter:");
-    if (this.filter == null) {
-      sb.append("null");
-    } else {
-      org.apache.thrift.TBaseHelper.toString(this.filter, sb);
-    }
-    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 ExpertQueryStandardSchemeFactory implements SchemeFactory {
-    public ExpertQueryStandardScheme getScheme() {
-      return new ExpertQueryStandardScheme();
-    }
-  }
-
-  private static class ExpertQueryStandardScheme extends StandardScheme<ExpertQuery> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ExpertQuery 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: // QUERY
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.query = iprot.readBinary();
-              struct.setQueryIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // FILTER
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.filter = iprot.readBinary();
-              struct.setFilterIsSet(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, ExpertQuery struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.query != null) {
-        oprot.writeFieldBegin(QUERY_FIELD_DESC);
-        oprot.writeBinary(struct.query);
-        oprot.writeFieldEnd();
-      }
-      if (struct.filter != null) {
-        oprot.writeFieldBegin(FILTER_FIELD_DESC);
-        oprot.writeBinary(struct.filter);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ExpertQueryTupleSchemeFactory implements SchemeFactory {
-    public ExpertQueryTupleScheme getScheme() {
-      return new ExpertQueryTupleScheme();
-    }
-  }
-
-  private static class ExpertQueryTupleScheme extends TupleScheme<ExpertQuery> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ExpertQuery struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetQuery()) {
-        optionals.set(0);
-      }
-      if (struct.isSetFilter()) {
-        optionals.set(1);
-      }
-      oprot.writeBitSet(optionals, 2);
-      if (struct.isSetQuery()) {
-        oprot.writeBinary(struct.query);
-      }
-      if (struct.isSetFilter()) {
-        oprot.writeBinary(struct.filter);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ExpertQuery struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(2);
-      if (incoming.get(0)) {
-        struct.query = iprot.readBinary();
-        struct.setQueryIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.filter = iprot.readBinary();
-        struct.setFilterIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/32e1d176/interface/gen-java/org/apache/blur/thrift/generated/Facet.java
----------------------------------------------------------------------
diff --git a/interface/gen-java/org/apache/blur/thrift/generated/Facet.java b/interface/gen-java/org/apache/blur/thrift/generated/Facet.java
deleted file mode 100644
index b294cc3..0000000
--- a/interface/gen-java/org/apache/blur/thrift/generated/Facet.java
+++ /dev/null
@@ -1,508 +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;
-
-/**
- * Blur facet.
- */
-public class Facet implements org.apache.thrift.TBase<Facet, Facet._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Facet");
-
-  private static final org.apache.thrift.protocol.TField QUERY_STR_FIELD_DESC = new org.apache.thrift.protocol.TField("queryStr", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField MINIMUM_NUMBER_OF_BLUR_RESULTS_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumNumberOfBlurResults", org.apache.thrift.protocol.TType.I64, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new FacetStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new FacetTupleSchemeFactory());
-  }
-
-  public String queryStr; // required
-  public long minimumNumberOfBlurResults; // 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 {
-    QUERY_STR((short)1, "queryStr"),
-    MINIMUM_NUMBER_OF_BLUR_RESULTS((short)2, "minimumNumberOfBlurResults");
-
-    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: // QUERY_STR
-          return QUERY_STR;
-        case 2: // MINIMUM_NUMBER_OF_BLUR_RESULTS
-          return MINIMUM_NUMBER_OF_BLUR_RESULTS;
-        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 __MINIMUMNUMBEROFBLURRESULTS_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.QUERY_STR, new org.apache.thrift.meta_data.FieldMetaData("queryStr", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.MINIMUM_NUMBER_OF_BLUR_RESULTS, new org.apache.thrift.meta_data.FieldMetaData("minimumNumberOfBlurResults", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Facet.class, metaDataMap);
-  }
-
-  public Facet() {
-    this.minimumNumberOfBlurResults = 9223372036854775807L;
-
-  }
-
-  public Facet(
-    String queryStr,
-    long minimumNumberOfBlurResults)
-  {
-    this();
-    this.queryStr = queryStr;
-    this.minimumNumberOfBlurResults = minimumNumberOfBlurResults;
-    setMinimumNumberOfBlurResultsIsSet(true);
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public Facet(Facet other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetQueryStr()) {
-      this.queryStr = other.queryStr;
-    }
-    this.minimumNumberOfBlurResults = other.minimumNumberOfBlurResults;
-  }
-
-  public Facet deepCopy() {
-    return new Facet(this);
-  }
-
-  @Override
-  public void clear() {
-    this.queryStr = null;
-    this.minimumNumberOfBlurResults = 9223372036854775807L;
-
-  }
-
-  public String getQueryStr() {
-    return this.queryStr;
-  }
-
-  public Facet setQueryStr(String queryStr) {
-    this.queryStr = queryStr;
-    return this;
-  }
-
-  public void unsetQueryStr() {
-    this.queryStr = null;
-  }
-
-  /** Returns true if field queryStr is set (has been assigned a value) and false otherwise */
-  public boolean isSetQueryStr() {
-    return this.queryStr != null;
-  }
-
-  public void setQueryStrIsSet(boolean value) {
-    if (!value) {
-      this.queryStr = null;
-    }
-  }
-
-  public long getMinimumNumberOfBlurResults() {
-    return this.minimumNumberOfBlurResults;
-  }
-
-  public Facet setMinimumNumberOfBlurResults(long minimumNumberOfBlurResults) {
-    this.minimumNumberOfBlurResults = minimumNumberOfBlurResults;
-    setMinimumNumberOfBlurResultsIsSet(true);
-    return this;
-  }
-
-  public void unsetMinimumNumberOfBlurResults() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MINIMUMNUMBEROFBLURRESULTS_ISSET_ID);
-  }
-
-  /** Returns true if field minimumNumberOfBlurResults is set (has been assigned a value) and false otherwise */
-  public boolean isSetMinimumNumberOfBlurResults() {
-    return EncodingUtils.testBit(__isset_bitfield, __MINIMUMNUMBEROFBLURRESULTS_ISSET_ID);
-  }
-
-  public void setMinimumNumberOfBlurResultsIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MINIMUMNUMBEROFBLURRESULTS_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case QUERY_STR:
-      if (value == null) {
-        unsetQueryStr();
-      } else {
-        setQueryStr((String)value);
-      }
-      break;
-
-    case MINIMUM_NUMBER_OF_BLUR_RESULTS:
-      if (value == null) {
-        unsetMinimumNumberOfBlurResults();
-      } else {
-        setMinimumNumberOfBlurResults((Long)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case QUERY_STR:
-      return getQueryStr();
-
-    case MINIMUM_NUMBER_OF_BLUR_RESULTS:
-      return Long.valueOf(getMinimumNumberOfBlurResults());
-
-    }
-    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 QUERY_STR:
-      return isSetQueryStr();
-    case MINIMUM_NUMBER_OF_BLUR_RESULTS:
-      return isSetMinimumNumberOfBlurResults();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof Facet)
-      return this.equals((Facet)that);
-    return false;
-  }
-
-  public boolean equals(Facet that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_queryStr = true && this.isSetQueryStr();
-    boolean that_present_queryStr = true && that.isSetQueryStr();
-    if (this_present_queryStr || that_present_queryStr) {
-      if (!(this_present_queryStr && that_present_queryStr))
-        return false;
-      if (!this.queryStr.equals(that.queryStr))
-        return false;
-    }
-
-    boolean this_present_minimumNumberOfBlurResults = true;
-    boolean that_present_minimumNumberOfBlurResults = true;
-    if (this_present_minimumNumberOfBlurResults || that_present_minimumNumberOfBlurResults) {
-      if (!(this_present_minimumNumberOfBlurResults && that_present_minimumNumberOfBlurResults))
-        return false;
-      if (this.minimumNumberOfBlurResults != that.minimumNumberOfBlurResults)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(Facet other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    Facet typedOther = (Facet)other;
-
-    lastComparison = Boolean.valueOf(isSetQueryStr()).compareTo(typedOther.isSetQueryStr());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetQueryStr()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryStr, typedOther.queryStr);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetMinimumNumberOfBlurResults()).compareTo(typedOther.isSetMinimumNumberOfBlurResults());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetMinimumNumberOfBlurResults()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minimumNumberOfBlurResults, typedOther.minimumNumberOfBlurResults);
-      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("Facet(");
-    boolean first = true;
-
-    sb.append("queryStr:");
-    if (this.queryStr == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.queryStr);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("minimumNumberOfBlurResults:");
-    sb.append(this.minimumNumberOfBlurResults);
-    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 FacetStandardSchemeFactory implements SchemeFactory {
-    public FacetStandardScheme getScheme() {
-      return new FacetStandardScheme();
-    }
-  }
-
-  private static class FacetStandardScheme extends StandardScheme<Facet> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, Facet 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: // QUERY_STR
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.queryStr = iprot.readString();
-              struct.setQueryStrIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // MINIMUM_NUMBER_OF_BLUR_RESULTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.minimumNumberOfBlurResults = iprot.readI64();
-              struct.setMinimumNumberOfBlurResultsIsSet(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, Facet struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.queryStr != null) {
-        oprot.writeFieldBegin(QUERY_STR_FIELD_DESC);
-        oprot.writeString(struct.queryStr);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldBegin(MINIMUM_NUMBER_OF_BLUR_RESULTS_FIELD_DESC);
-      oprot.writeI64(struct.minimumNumberOfBlurResults);
-      oprot.writeFieldEnd();
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class FacetTupleSchemeFactory implements SchemeFactory {
-    public FacetTupleScheme getScheme() {
-      return new FacetTupleScheme();
-    }
-  }
-
-  private static class FacetTupleScheme extends TupleScheme<Facet> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, Facet struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetQueryStr()) {
-        optionals.set(0);
-      }
-      if (struct.isSetMinimumNumberOfBlurResults()) {
-        optionals.set(1);
-      }
-      oprot.writeBitSet(optionals, 2);
-      if (struct.isSetQueryStr()) {
-        oprot.writeString(struct.queryStr);
-      }
-      if (struct.isSetMinimumNumberOfBlurResults()) {
-        oprot.writeI64(struct.minimumNumberOfBlurResults);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, Facet struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(2);
-      if (incoming.get(0)) {
-        struct.queryStr = iprot.readString();
-        struct.setQueryStrIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.minimumNumberOfBlurResults = iprot.readI64();
-        struct.setMinimumNumberOfBlurResultsIsSet(true);
-      }
-    }
-  }
-
-}
-


Mime
View raw message