incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [39/51] [partial] Initial repackage to org.apache.
Date Mon, 03 Sep 2012 03:17:14 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/33df9310/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/FetchRecordResult.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/FetchRecordResult.java b/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/FetchRecordResult.java
deleted file mode 100644
index 644d15a..0000000
--- a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/FetchRecordResult.java
+++ /dev/null
@@ -1,436 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.7.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- */
-package com.nearinfinity.blur.thrift.generated;
-
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.EnumMap;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.EnumSet;
-import java.util.Collections;
-import java.util.BitSet;
-import java.nio.ByteBuffer;
-import java.util.Arrays;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * FetchRecordResult contains rowid of the record and the record result from a fetch.
- */
-public class FetchRecordResult implements org.apache.thrift.TBase<FetchRecordResult, FetchRecordResult._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FetchRecordResult");
-
-  private static final org.apache.thrift.protocol.TField ROWID_FIELD_DESC = new org.apache.thrift.protocol.TField("rowid", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField("record", org.apache.thrift.protocol.TType.STRUCT, (short)2);
-
-  /**
-   * The row id of the record being fetched.
-   */
-  public String rowid; // required
-  /**
-   * The record fetched.
-   */
-  public Record record; // 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 row id of the record being fetched.
-     */
-    ROWID((short)1, "rowid"),
-    /**
-     * The record fetched.
-     */
-    RECORD((short)2, "record");
-
-    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: // ROWID
-          return ROWID;
-        case 2: // RECORD
-          return RECORD;
-        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.ROWID, new org.apache.thrift.meta_data.FieldMetaData("rowid", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.RECORD, new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Record.class)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(FetchRecordResult.class, metaDataMap);
-  }
-
-  public FetchRecordResult() {
-  }
-
-  public FetchRecordResult(
-    String rowid,
-    Record record)
-  {
-    this();
-    this.rowid = rowid;
-    this.record = record;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public FetchRecordResult(FetchRecordResult other) {
-    if (other.isSetRowid()) {
-      this.rowid = other.rowid;
-    }
-    if (other.isSetRecord()) {
-      this.record = new Record(other.record);
-    }
-  }
-
-  public FetchRecordResult deepCopy() {
-    return new FetchRecordResult(this);
-  }
-
-  @Override
-  public void clear() {
-    this.rowid = null;
-    this.record = null;
-  }
-
-  /**
-   * The row id of the record being fetched.
-   */
-  public String getRowid() {
-    return this.rowid;
-  }
-
-  /**
-   * The row id of the record being fetched.
-   */
-  public FetchRecordResult setRowid(String rowid) {
-    this.rowid = rowid;
-    return this;
-  }
-
-  public void unsetRowid() {
-    this.rowid = null;
-  }
-
-  /** Returns true if field rowid is set (has been assigned a value) and false otherwise */
-  public boolean isSetRowid() {
-    return this.rowid != null;
-  }
-
-  public void setRowidIsSet(boolean value) {
-    if (!value) {
-      this.rowid = null;
-    }
-  }
-
-  /**
-   * The record fetched.
-   */
-  public Record getRecord() {
-    return this.record;
-  }
-
-  /**
-   * The record fetched.
-   */
-  public FetchRecordResult setRecord(Record record) {
-    this.record = record;
-    return this;
-  }
-
-  public void unsetRecord() {
-    this.record = null;
-  }
-
-  /** Returns true if field record is set (has been assigned a value) and false otherwise */
-  public boolean isSetRecord() {
-    return this.record != null;
-  }
-
-  public void setRecordIsSet(boolean value) {
-    if (!value) {
-      this.record = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case ROWID:
-      if (value == null) {
-        unsetRowid();
-      } else {
-        setRowid((String)value);
-      }
-      break;
-
-    case RECORD:
-      if (value == null) {
-        unsetRecord();
-      } else {
-        setRecord((Record)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case ROWID:
-      return getRowid();
-
-    case RECORD:
-      return getRecord();
-
-    }
-    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 ROWID:
-      return isSetRowid();
-    case RECORD:
-      return isSetRecord();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof FetchRecordResult)
-      return this.equals((FetchRecordResult)that);
-    return false;
-  }
-
-  public boolean equals(FetchRecordResult that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_rowid = true && this.isSetRowid();
-    boolean that_present_rowid = true && that.isSetRowid();
-    if (this_present_rowid || that_present_rowid) {
-      if (!(this_present_rowid && that_present_rowid))
-        return false;
-      if (!this.rowid.equals(that.rowid))
-        return false;
-    }
-
-    boolean this_present_record = true && this.isSetRecord();
-    boolean that_present_record = true && that.isSetRecord();
-    if (this_present_record || that_present_record) {
-      if (!(this_present_record && that_present_record))
-        return false;
-      if (!this.record.equals(that.record))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(FetchRecordResult other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    FetchRecordResult typedOther = (FetchRecordResult)other;
-
-    lastComparison = Boolean.valueOf(isSetRowid()).compareTo(typedOther.isSetRowid());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetRowid()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rowid, typedOther.rowid);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetRecord()).compareTo(typedOther.isSetRecord());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetRecord()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.record, typedOther.record);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    org.apache.thrift.protocol.TField field;
-    iprot.readStructBegin();
-    while (true)
-    {
-      field = iprot.readFieldBegin();
-      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-        break;
-      }
-      switch (field.id) {
-        case 1: // ROWID
-          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-            this.rowid = iprot.readString();
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 2: // RECORD
-          if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-            this.record = new Record();
-            this.record.read(iprot);
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        default:
-          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-      }
-      iprot.readFieldEnd();
-    }
-    iprot.readStructEnd();
-
-    // check for required fields of primitive type, which can't be checked in the validate method
-    validate();
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    validate();
-
-    oprot.writeStructBegin(STRUCT_DESC);
-    if (this.rowid != null) {
-      oprot.writeFieldBegin(ROWID_FIELD_DESC);
-      oprot.writeString(this.rowid);
-      oprot.writeFieldEnd();
-    }
-    if (this.record != null) {
-      oprot.writeFieldBegin(RECORD_FIELD_DESC);
-      this.record.write(oprot);
-      oprot.writeFieldEnd();
-    }
-    oprot.writeFieldStop();
-    oprot.writeStructEnd();
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("FetchRecordResult(");
-    boolean first = true;
-
-    sb.append("rowid:");
-    if (this.rowid == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.rowid);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("record:");
-    if (this.record == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.record);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/33df9310/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/FetchResult.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/FetchResult.java b/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/FetchResult.java
deleted file mode 100644
index 03d5516..0000000
--- a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/FetchResult.java
+++ /dev/null
@@ -1,735 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.7.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- */
-package com.nearinfinity.blur.thrift.generated;
-
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.EnumMap;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.EnumSet;
-import java.util.Collections;
-import java.util.BitSet;
-import java.nio.ByteBuffer;
-import java.util.Arrays;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * FetchResult contains the row or record fetch result based if the Selector was going to fetch the entire row or a single record.
- */
-public class FetchResult implements org.apache.thrift.TBase<FetchResult, FetchResult._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FetchResult");
-
-  private static final org.apache.thrift.protocol.TField EXISTS_FIELD_DESC = new org.apache.thrift.protocol.TField("exists", org.apache.thrift.protocol.TType.BOOL, (short)1);
-  private static final org.apache.thrift.protocol.TField DELETED_FIELD_DESC = new org.apache.thrift.protocol.TField("deleted", org.apache.thrift.protocol.TType.BOOL, (short)2);
-  private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)3);
-  private static final org.apache.thrift.protocol.TField ROW_RESULT_FIELD_DESC = new org.apache.thrift.protocol.TField("rowResult", org.apache.thrift.protocol.TType.STRUCT, (short)4);
-  private static final org.apache.thrift.protocol.TField RECORD_RESULT_FIELD_DESC = new org.apache.thrift.protocol.TField("recordResult", org.apache.thrift.protocol.TType.STRUCT, (short)5);
-
-  /**
-   * True if the result exists, false if it doesn't.
-   */
-  public boolean exists; // required
-  /**
-   * If the row was marked as deleted.
-   */
-  public boolean deleted; // required
-  /**
-   * The table the fetch result came from.
-   */
-  public String table; // required
-  /**
-   * The row result if a row was selected form the Selector.
-   */
-  public FetchRowResult rowResult; // required
-  /**
-   * The record result if a record was selected form the Selector.
-   */
-  public FetchRecordResult recordResult; // 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 {
-    /**
-     * True if the result exists, false if it doesn't.
-     */
-    EXISTS((short)1, "exists"),
-    /**
-     * If the row was marked as deleted.
-     */
-    DELETED((short)2, "deleted"),
-    /**
-     * The table the fetch result came from.
-     */
-    TABLE((short)3, "table"),
-    /**
-     * The row result if a row was selected form the Selector.
-     */
-    ROW_RESULT((short)4, "rowResult"),
-    /**
-     * The record result if a record was selected form the Selector.
-     */
-    RECORD_RESULT((short)5, "recordResult");
-
-    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: // EXISTS
-          return EXISTS;
-        case 2: // DELETED
-          return DELETED;
-        case 3: // TABLE
-          return TABLE;
-        case 4: // ROW_RESULT
-          return ROW_RESULT;
-        case 5: // RECORD_RESULT
-          return RECORD_RESULT;
-        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 __EXISTS_ISSET_ID = 0;
-  private static final int __DELETED_ISSET_ID = 1;
-  private BitSet __isset_bit_vector = new BitSet(2);
-
-  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.EXISTS, new org.apache.thrift.meta_data.FieldMetaData("exists", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.DELETED, new org.apache.thrift.meta_data.FieldMetaData("deleted", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.ROW_RESULT, new org.apache.thrift.meta_data.FieldMetaData("rowResult", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FetchRowResult.class)));
-    tmpMap.put(_Fields.RECORD_RESULT, new org.apache.thrift.meta_data.FieldMetaData("recordResult", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FetchRecordResult.class)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(FetchResult.class, metaDataMap);
-  }
-
-  public FetchResult() {
-  }
-
-  public FetchResult(
-    boolean exists,
-    boolean deleted,
-    String table,
-    FetchRowResult rowResult,
-    FetchRecordResult recordResult)
-  {
-    this();
-    this.exists = exists;
-    setExistsIsSet(true);
-    this.deleted = deleted;
-    setDeletedIsSet(true);
-    this.table = table;
-    this.rowResult = rowResult;
-    this.recordResult = recordResult;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public FetchResult(FetchResult other) {
-    __isset_bit_vector.clear();
-    __isset_bit_vector.or(other.__isset_bit_vector);
-    this.exists = other.exists;
-    this.deleted = other.deleted;
-    if (other.isSetTable()) {
-      this.table = other.table;
-    }
-    if (other.isSetRowResult()) {
-      this.rowResult = new FetchRowResult(other.rowResult);
-    }
-    if (other.isSetRecordResult()) {
-      this.recordResult = new FetchRecordResult(other.recordResult);
-    }
-  }
-
-  public FetchResult deepCopy() {
-    return new FetchResult(this);
-  }
-
-  @Override
-  public void clear() {
-    setExistsIsSet(false);
-    this.exists = false;
-    setDeletedIsSet(false);
-    this.deleted = false;
-    this.table = null;
-    this.rowResult = null;
-    this.recordResult = null;
-  }
-
-  /**
-   * True if the result exists, false if it doesn't.
-   */
-  public boolean isExists() {
-    return this.exists;
-  }
-
-  /**
-   * True if the result exists, false if it doesn't.
-   */
-  public FetchResult setExists(boolean exists) {
-    this.exists = exists;
-    setExistsIsSet(true);
-    return this;
-  }
-
-  public void unsetExists() {
-    __isset_bit_vector.clear(__EXISTS_ISSET_ID);
-  }
-
-  /** Returns true if field exists is set (has been assigned a value) and false otherwise */
-  public boolean isSetExists() {
-    return __isset_bit_vector.get(__EXISTS_ISSET_ID);
-  }
-
-  public void setExistsIsSet(boolean value) {
-    __isset_bit_vector.set(__EXISTS_ISSET_ID, value);
-  }
-
-  /**
-   * If the row was marked as deleted.
-   */
-  public boolean isDeleted() {
-    return this.deleted;
-  }
-
-  /**
-   * If the row was marked as deleted.
-   */
-  public FetchResult setDeleted(boolean deleted) {
-    this.deleted = deleted;
-    setDeletedIsSet(true);
-    return this;
-  }
-
-  public void unsetDeleted() {
-    __isset_bit_vector.clear(__DELETED_ISSET_ID);
-  }
-
-  /** Returns true if field deleted is set (has been assigned a value) and false otherwise */
-  public boolean isSetDeleted() {
-    return __isset_bit_vector.get(__DELETED_ISSET_ID);
-  }
-
-  public void setDeletedIsSet(boolean value) {
-    __isset_bit_vector.set(__DELETED_ISSET_ID, value);
-  }
-
-  /**
-   * The table the fetch result came from.
-   */
-  public String getTable() {
-    return this.table;
-  }
-
-  /**
-   * The table the fetch result came from.
-   */
-  public FetchResult setTable(String table) {
-    this.table = table;
-    return this;
-  }
-
-  public void unsetTable() {
-    this.table = null;
-  }
-
-  /** Returns true if field table is set (has been assigned a value) and false otherwise */
-  public boolean isSetTable() {
-    return this.table != null;
-  }
-
-  public void setTableIsSet(boolean value) {
-    if (!value) {
-      this.table = null;
-    }
-  }
-
-  /**
-   * The row result if a row was selected form the Selector.
-   */
-  public FetchRowResult getRowResult() {
-    return this.rowResult;
-  }
-
-  /**
-   * The row result if a row was selected form the Selector.
-   */
-  public FetchResult setRowResult(FetchRowResult rowResult) {
-    this.rowResult = rowResult;
-    return this;
-  }
-
-  public void unsetRowResult() {
-    this.rowResult = null;
-  }
-
-  /** Returns true if field rowResult is set (has been assigned a value) and false otherwise */
-  public boolean isSetRowResult() {
-    return this.rowResult != null;
-  }
-
-  public void setRowResultIsSet(boolean value) {
-    if (!value) {
-      this.rowResult = null;
-    }
-  }
-
-  /**
-   * The record result if a record was selected form the Selector.
-   */
-  public FetchRecordResult getRecordResult() {
-    return this.recordResult;
-  }
-
-  /**
-   * The record result if a record was selected form the Selector.
-   */
-  public FetchResult setRecordResult(FetchRecordResult recordResult) {
-    this.recordResult = recordResult;
-    return this;
-  }
-
-  public void unsetRecordResult() {
-    this.recordResult = null;
-  }
-
-  /** Returns true if field recordResult is set (has been assigned a value) and false otherwise */
-  public boolean isSetRecordResult() {
-    return this.recordResult != null;
-  }
-
-  public void setRecordResultIsSet(boolean value) {
-    if (!value) {
-      this.recordResult = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case EXISTS:
-      if (value == null) {
-        unsetExists();
-      } else {
-        setExists((Boolean)value);
-      }
-      break;
-
-    case DELETED:
-      if (value == null) {
-        unsetDeleted();
-      } else {
-        setDeleted((Boolean)value);
-      }
-      break;
-
-    case TABLE:
-      if (value == null) {
-        unsetTable();
-      } else {
-        setTable((String)value);
-      }
-      break;
-
-    case ROW_RESULT:
-      if (value == null) {
-        unsetRowResult();
-      } else {
-        setRowResult((FetchRowResult)value);
-      }
-      break;
-
-    case RECORD_RESULT:
-      if (value == null) {
-        unsetRecordResult();
-      } else {
-        setRecordResult((FetchRecordResult)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case EXISTS:
-      return Boolean.valueOf(isExists());
-
-    case DELETED:
-      return Boolean.valueOf(isDeleted());
-
-    case TABLE:
-      return getTable();
-
-    case ROW_RESULT:
-      return getRowResult();
-
-    case RECORD_RESULT:
-      return getRecordResult();
-
-    }
-    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 EXISTS:
-      return isSetExists();
-    case DELETED:
-      return isSetDeleted();
-    case TABLE:
-      return isSetTable();
-    case ROW_RESULT:
-      return isSetRowResult();
-    case RECORD_RESULT:
-      return isSetRecordResult();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof FetchResult)
-      return this.equals((FetchResult)that);
-    return false;
-  }
-
-  public boolean equals(FetchResult that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_exists = true;
-    boolean that_present_exists = true;
-    if (this_present_exists || that_present_exists) {
-      if (!(this_present_exists && that_present_exists))
-        return false;
-      if (this.exists != that.exists)
-        return false;
-    }
-
-    boolean this_present_deleted = true;
-    boolean that_present_deleted = true;
-    if (this_present_deleted || that_present_deleted) {
-      if (!(this_present_deleted && that_present_deleted))
-        return false;
-      if (this.deleted != that.deleted)
-        return false;
-    }
-
-    boolean this_present_table = true && this.isSetTable();
-    boolean that_present_table = true && that.isSetTable();
-    if (this_present_table || that_present_table) {
-      if (!(this_present_table && that_present_table))
-        return false;
-      if (!this.table.equals(that.table))
-        return false;
-    }
-
-    boolean this_present_rowResult = true && this.isSetRowResult();
-    boolean that_present_rowResult = true && that.isSetRowResult();
-    if (this_present_rowResult || that_present_rowResult) {
-      if (!(this_present_rowResult && that_present_rowResult))
-        return false;
-      if (!this.rowResult.equals(that.rowResult))
-        return false;
-    }
-
-    boolean this_present_recordResult = true && this.isSetRecordResult();
-    boolean that_present_recordResult = true && that.isSetRecordResult();
-    if (this_present_recordResult || that_present_recordResult) {
-      if (!(this_present_recordResult && that_present_recordResult))
-        return false;
-      if (!this.recordResult.equals(that.recordResult))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(FetchResult other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    FetchResult typedOther = (FetchResult)other;
-
-    lastComparison = Boolean.valueOf(isSetExists()).compareTo(typedOther.isSetExists());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExists()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.exists, typedOther.exists);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetDeleted()).compareTo(typedOther.isSetDeleted());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetDeleted()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleted, typedOther.deleted);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTable()).compareTo(typedOther.isSetTable());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTable()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, typedOther.table);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetRowResult()).compareTo(typedOther.isSetRowResult());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetRowResult()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rowResult, typedOther.rowResult);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetRecordResult()).compareTo(typedOther.isSetRecordResult());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetRecordResult()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.recordResult, typedOther.recordResult);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    org.apache.thrift.protocol.TField field;
-    iprot.readStructBegin();
-    while (true)
-    {
-      field = iprot.readFieldBegin();
-      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-        break;
-      }
-      switch (field.id) {
-        case 1: // EXISTS
-          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-            this.exists = iprot.readBool();
-            setExistsIsSet(true);
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 2: // DELETED
-          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-            this.deleted = iprot.readBool();
-            setDeletedIsSet(true);
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 3: // TABLE
-          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-            this.table = iprot.readString();
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 4: // ROW_RESULT
-          if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-            this.rowResult = new FetchRowResult();
-            this.rowResult.read(iprot);
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 5: // RECORD_RESULT
-          if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-            this.recordResult = new FetchRecordResult();
-            this.recordResult.read(iprot);
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        default:
-          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-      }
-      iprot.readFieldEnd();
-    }
-    iprot.readStructEnd();
-
-    // check for required fields of primitive type, which can't be checked in the validate method
-    validate();
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    validate();
-
-    oprot.writeStructBegin(STRUCT_DESC);
-    oprot.writeFieldBegin(EXISTS_FIELD_DESC);
-    oprot.writeBool(this.exists);
-    oprot.writeFieldEnd();
-    oprot.writeFieldBegin(DELETED_FIELD_DESC);
-    oprot.writeBool(this.deleted);
-    oprot.writeFieldEnd();
-    if (this.table != null) {
-      oprot.writeFieldBegin(TABLE_FIELD_DESC);
-      oprot.writeString(this.table);
-      oprot.writeFieldEnd();
-    }
-    if (this.rowResult != null) {
-      oprot.writeFieldBegin(ROW_RESULT_FIELD_DESC);
-      this.rowResult.write(oprot);
-      oprot.writeFieldEnd();
-    }
-    if (this.recordResult != null) {
-      oprot.writeFieldBegin(RECORD_RESULT_FIELD_DESC);
-      this.recordResult.write(oprot);
-      oprot.writeFieldEnd();
-    }
-    oprot.writeFieldStop();
-    oprot.writeStructEnd();
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("FetchResult(");
-    boolean first = true;
-
-    sb.append("exists:");
-    sb.append(this.exists);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("deleted:");
-    sb.append(this.deleted);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("table:");
-    if (this.table == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.table);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("rowResult:");
-    if (this.rowResult == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.rowResult);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("recordResult:");
-    if (this.recordResult == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.recordResult);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bit_vector = new BitSet(1);
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/33df9310/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/FetchRowResult.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/FetchRowResult.java b/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/FetchRowResult.java
deleted file mode 100644
index d13bcbc..0000000
--- a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/FetchRowResult.java
+++ /dev/null
@@ -1,335 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.7.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- */
-package com.nearinfinity.blur.thrift.generated;
-
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.EnumMap;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.EnumSet;
-import java.util.Collections;
-import java.util.BitSet;
-import java.nio.ByteBuffer;
-import java.util.Arrays;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * FetchRowResult contains row result from a fetch.
- */
-public class FetchRowResult implements org.apache.thrift.TBase<FetchRowResult, FetchRowResult._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FetchRowResult");
-
-  private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
-  /**
-   * The row fetched.
-   */
-  public Row row; // 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 row fetched.
-     */
-    ROW((short)1, "row");
-
-    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: // ROW
-          return ROW;
-        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.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Row.class)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(FetchRowResult.class, metaDataMap);
-  }
-
-  public FetchRowResult() {
-  }
-
-  public FetchRowResult(
-    Row row)
-  {
-    this();
-    this.row = row;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public FetchRowResult(FetchRowResult other) {
-    if (other.isSetRow()) {
-      this.row = new Row(other.row);
-    }
-  }
-
-  public FetchRowResult deepCopy() {
-    return new FetchRowResult(this);
-  }
-
-  @Override
-  public void clear() {
-    this.row = null;
-  }
-
-  /**
-   * The row fetched.
-   */
-  public Row getRow() {
-    return this.row;
-  }
-
-  /**
-   * The row fetched.
-   */
-  public FetchRowResult setRow(Row row) {
-    this.row = row;
-    return this;
-  }
-
-  public void unsetRow() {
-    this.row = null;
-  }
-
-  /** Returns true if field row is set (has been assigned a value) and false otherwise */
-  public boolean isSetRow() {
-    return this.row != null;
-  }
-
-  public void setRowIsSet(boolean value) {
-    if (!value) {
-      this.row = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case ROW:
-      if (value == null) {
-        unsetRow();
-      } else {
-        setRow((Row)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case ROW:
-      return getRow();
-
-    }
-    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 ROW:
-      return isSetRow();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof FetchRowResult)
-      return this.equals((FetchRowResult)that);
-    return false;
-  }
-
-  public boolean equals(FetchRowResult that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_row = true && this.isSetRow();
-    boolean that_present_row = true && that.isSetRow();
-    if (this_present_row || that_present_row) {
-      if (!(this_present_row && that_present_row))
-        return false;
-      if (!this.row.equals(that.row))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(FetchRowResult other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    FetchRowResult typedOther = (FetchRowResult)other;
-
-    lastComparison = Boolean.valueOf(isSetRow()).compareTo(typedOther.isSetRow());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetRow()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, typedOther.row);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    org.apache.thrift.protocol.TField field;
-    iprot.readStructBegin();
-    while (true)
-    {
-      field = iprot.readFieldBegin();
-      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-        break;
-      }
-      switch (field.id) {
-        case 1: // ROW
-          if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-            this.row = new Row();
-            this.row.read(iprot);
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        default:
-          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-      }
-      iprot.readFieldEnd();
-    }
-    iprot.readStructEnd();
-
-    // check for required fields of primitive type, which can't be checked in the validate method
-    validate();
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    validate();
-
-    oprot.writeStructBegin(STRUCT_DESC);
-    if (this.row != null) {
-      oprot.writeFieldBegin(ROW_FIELD_DESC);
-      this.row.write(oprot);
-      oprot.writeFieldEnd();
-    }
-    oprot.writeFieldStop();
-    oprot.writeStructEnd();
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("FetchRowResult(");
-    boolean first = true;
-
-    sb.append("row:");
-    if (this.row == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.row);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/33df9310/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/QueryState.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/QueryState.java b/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/QueryState.java
deleted file mode 100644
index 515d806..0000000
--- a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/QueryState.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.7.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- */
-package com.nearinfinity.blur.thrift.generated;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-/**
- * The state of a query.<br/><br/>
- * RUNNING - Query is running.<br/><br/>
- * INTERRUPTED - Query has been interrupted.<br/><br/>
- * COMPLETE - Query is complete.<br/>
- */
-public enum QueryState implements org.apache.thrift.TEnum {
-  RUNNING(0),
-  INTERRUPTED(1),
-  COMPLETE(2);
-
-  private final int value;
-
-  private QueryState(int value) {
-    this.value = value;
-  }
-
-  /**
-   * Get the integer value of this enum value, as defined in the Thrift IDL.
-   */
-  public int getValue() {
-    return value;
-  }
-
-  /**
-   * Find a the enum type by its integer value, as defined in the Thrift IDL.
-   * @return null if the value is not found.
-   */
-  public static QueryState findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return RUNNING;
-      case 1:
-        return INTERRUPTED;
-      case 2:
-        return COMPLETE;
-      default:
-        return null;
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/33df9310/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/Record.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/Record.java b/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/Record.java
deleted file mode 100644
index d1597a4..0000000
--- a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/Record.java
+++ /dev/null
@@ -1,574 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.7.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- */
-package com.nearinfinity.blur.thrift.generated;
-
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.EnumMap;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.EnumSet;
-import java.util.Collections;
-import java.util.BitSet;
-import java.nio.ByteBuffer;
-import java.util.Arrays;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * Records contain a list of columns, multiple columns with the same name are allowed.
- */
-public class Record implements org.apache.thrift.TBase<Record, Record._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Record");
-
-  private static final org.apache.thrift.protocol.TField RECORD_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("recordId", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField FAMILY_FIELD_DESC = new org.apache.thrift.protocol.TField("family", org.apache.thrift.protocol.TType.STRING, (short)2);
-  private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)3);
-
-  /**
-   * Record id uniquely identifies a record within a single row.
-   */
-  public String recordId; // required
-  /**
-   * The family in which this record resides.
-   */
-  public String family; // required
-  /**
-   * A list of columns, multiple columns with the same name are allowed.
-   */
-  public List<Column> columns; // 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 {
-    /**
-     * Record id uniquely identifies a record within a single row.
-     */
-    RECORD_ID((short)1, "recordId"),
-    /**
-     * The family in which this record resides.
-     */
-    FAMILY((short)2, "family"),
-    /**
-     * A list of columns, multiple columns with the same name are allowed.
-     */
-    COLUMNS((short)3, "columns");
-
-    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: // RECORD_ID
-          return RECORD_ID;
-        case 2: // FAMILY
-          return FAMILY;
-        case 3: // COLUMNS
-          return COLUMNS;
-        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.RECORD_ID, new org.apache.thrift.meta_data.FieldMetaData("recordId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.FAMILY, new org.apache.thrift.meta_data.FieldMetaData("family", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", 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, Column.class))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Record.class, metaDataMap);
-  }
-
-  public Record() {
-  }
-
-  public Record(
-    String recordId,
-    String family,
-    List<Column> columns)
-  {
-    this();
-    this.recordId = recordId;
-    this.family = family;
-    this.columns = columns;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public Record(Record other) {
-    if (other.isSetRecordId()) {
-      this.recordId = other.recordId;
-    }
-    if (other.isSetFamily()) {
-      this.family = other.family;
-    }
-    if (other.isSetColumns()) {
-      List<Column> __this__columns = new ArrayList<Column>();
-      for (Column other_element : other.columns) {
-        __this__columns.add(new Column(other_element));
-      }
-      this.columns = __this__columns;
-    }
-  }
-
-  public Record deepCopy() {
-    return new Record(this);
-  }
-
-  @Override
-  public void clear() {
-    this.recordId = null;
-    this.family = null;
-    this.columns = null;
-  }
-
-  /**
-   * Record id uniquely identifies a record within a single row.
-   */
-  public String getRecordId() {
-    return this.recordId;
-  }
-
-  /**
-   * Record id uniquely identifies a record within a single row.
-   */
-  public Record setRecordId(String recordId) {
-    this.recordId = recordId;
-    return this;
-  }
-
-  public void unsetRecordId() {
-    this.recordId = null;
-  }
-
-  /** Returns true if field recordId is set (has been assigned a value) and false otherwise */
-  public boolean isSetRecordId() {
-    return this.recordId != null;
-  }
-
-  public void setRecordIdIsSet(boolean value) {
-    if (!value) {
-      this.recordId = null;
-    }
-  }
-
-  /**
-   * The family in which this record resides.
-   */
-  public String getFamily() {
-    return this.family;
-  }
-
-  /**
-   * The family in which this record resides.
-   */
-  public Record setFamily(String family) {
-    this.family = family;
-    return this;
-  }
-
-  public void unsetFamily() {
-    this.family = null;
-  }
-
-  /** Returns true if field family is set (has been assigned a value) and false otherwise */
-  public boolean isSetFamily() {
-    return this.family != null;
-  }
-
-  public void setFamilyIsSet(boolean value) {
-    if (!value) {
-      this.family = null;
-    }
-  }
-
-  public int getColumnsSize() {
-    return (this.columns == null) ? 0 : this.columns.size();
-  }
-
-  public java.util.Iterator<Column> getColumnsIterator() {
-    return (this.columns == null) ? null : this.columns.iterator();
-  }
-
-  public void addToColumns(Column elem) {
-    if (this.columns == null) {
-      this.columns = new ArrayList<Column>();
-    }
-    this.columns.add(elem);
-  }
-
-  /**
-   * A list of columns, multiple columns with the same name are allowed.
-   */
-  public List<Column> getColumns() {
-    return this.columns;
-  }
-
-  /**
-   * A list of columns, multiple columns with the same name are allowed.
-   */
-  public Record setColumns(List<Column> columns) {
-    this.columns = columns;
-    return this;
-  }
-
-  public void unsetColumns() {
-    this.columns = null;
-  }
-
-  /** Returns true if field columns is set (has been assigned a value) and false otherwise */
-  public boolean isSetColumns() {
-    return this.columns != null;
-  }
-
-  public void setColumnsIsSet(boolean value) {
-    if (!value) {
-      this.columns = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case RECORD_ID:
-      if (value == null) {
-        unsetRecordId();
-      } else {
-        setRecordId((String)value);
-      }
-      break;
-
-    case FAMILY:
-      if (value == null) {
-        unsetFamily();
-      } else {
-        setFamily((String)value);
-      }
-      break;
-
-    case COLUMNS:
-      if (value == null) {
-        unsetColumns();
-      } else {
-        setColumns((List<Column>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case RECORD_ID:
-      return getRecordId();
-
-    case FAMILY:
-      return getFamily();
-
-    case COLUMNS:
-      return getColumns();
-
-    }
-    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 RECORD_ID:
-      return isSetRecordId();
-    case FAMILY:
-      return isSetFamily();
-    case COLUMNS:
-      return isSetColumns();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof Record)
-      return this.equals((Record)that);
-    return false;
-  }
-
-  public boolean equals(Record that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_recordId = true && this.isSetRecordId();
-    boolean that_present_recordId = true && that.isSetRecordId();
-    if (this_present_recordId || that_present_recordId) {
-      if (!(this_present_recordId && that_present_recordId))
-        return false;
-      if (!this.recordId.equals(that.recordId))
-        return false;
-    }
-
-    boolean this_present_family = true && this.isSetFamily();
-    boolean that_present_family = true && that.isSetFamily();
-    if (this_present_family || that_present_family) {
-      if (!(this_present_family && that_present_family))
-        return false;
-      if (!this.family.equals(that.family))
-        return false;
-    }
-
-    boolean this_present_columns = true && this.isSetColumns();
-    boolean that_present_columns = true && that.isSetColumns();
-    if (this_present_columns || that_present_columns) {
-      if (!(this_present_columns && that_present_columns))
-        return false;
-      if (!this.columns.equals(that.columns))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(Record other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    Record typedOther = (Record)other;
-
-    lastComparison = Boolean.valueOf(isSetRecordId()).compareTo(typedOther.isSetRecordId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetRecordId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.recordId, typedOther.recordId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetFamily()).compareTo(typedOther.isSetFamily());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetFamily()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.family, typedOther.family);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetColumns()).compareTo(typedOther.isSetColumns());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetColumns()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, typedOther.columns);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    org.apache.thrift.protocol.TField field;
-    iprot.readStructBegin();
-    while (true)
-    {
-      field = iprot.readFieldBegin();
-      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-        break;
-      }
-      switch (field.id) {
-        case 1: // RECORD_ID
-          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-            this.recordId = iprot.readString();
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 2: // FAMILY
-          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-            this.family = iprot.readString();
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 3: // COLUMNS
-          if (field.type == org.apache.thrift.protocol.TType.LIST) {
-            {
-              org.apache.thrift.protocol.TList _list0 = iprot.readListBegin();
-              this.columns = new ArrayList<Column>(_list0.size);
-              for (int _i1 = 0; _i1 < _list0.size; ++_i1)
-              {
-                Column _elem2; // required
-                _elem2 = new Column();
-                _elem2.read(iprot);
-                this.columns.add(_elem2);
-              }
-              iprot.readListEnd();
-            }
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        default:
-          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-      }
-      iprot.readFieldEnd();
-    }
-    iprot.readStructEnd();
-
-    // check for required fields of primitive type, which can't be checked in the validate method
-    validate();
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    validate();
-
-    oprot.writeStructBegin(STRUCT_DESC);
-    if (this.recordId != null) {
-      oprot.writeFieldBegin(RECORD_ID_FIELD_DESC);
-      oprot.writeString(this.recordId);
-      oprot.writeFieldEnd();
-    }
-    if (this.family != null) {
-      oprot.writeFieldBegin(FAMILY_FIELD_DESC);
-      oprot.writeString(this.family);
-      oprot.writeFieldEnd();
-    }
-    if (this.columns != null) {
-      oprot.writeFieldBegin(COLUMNS_FIELD_DESC);
-      {
-        oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.columns.size()));
-        for (Column _iter3 : this.columns)
-        {
-          _iter3.write(oprot);
-        }
-        oprot.writeListEnd();
-      }
-      oprot.writeFieldEnd();
-    }
-    oprot.writeFieldStop();
-    oprot.writeStructEnd();
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("Record(");
-    boolean first = true;
-
-    sb.append("recordId:");
-    if (this.recordId == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.recordId);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("family:");
-    if (this.family == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.family);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("columns:");
-    if (this.columns == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.columns);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/33df9310/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/RecordMutation.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/RecordMutation.java b/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/RecordMutation.java
deleted file mode 100644
index 3a4b6a8..0000000
--- a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/RecordMutation.java
+++ /dev/null
@@ -1,444 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.7.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- */
-package com.nearinfinity.blur.thrift.generated;
-
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.EnumMap;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.EnumSet;
-import java.util.Collections;
-import java.util.BitSet;
-import java.nio.ByteBuffer;
-import java.util.Arrays;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * 
- */
-public class RecordMutation implements org.apache.thrift.TBase<RecordMutation, RecordMutation._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("RecordMutation");
-
-  private static final org.apache.thrift.protocol.TField RECORD_MUTATION_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("recordMutationType", org.apache.thrift.protocol.TType.I32, (short)1);
-  private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField("record", org.apache.thrift.protocol.TType.STRUCT, (short)2);
-
-  /**
-   * 
-   * 
-   * @see RecordMutationType
-   */
-  public RecordMutationType recordMutationType; // required
-  /**
-   * 
-   */
-  public Record record; // 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 {
-    /**
-     * 
-     * 
-     * @see RecordMutationType
-     */
-    RECORD_MUTATION_TYPE((short)1, "recordMutationType"),
-    /**
-     * 
-     */
-    RECORD((short)2, "record");
-
-    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: // RECORD_MUTATION_TYPE
-          return RECORD_MUTATION_TYPE;
-        case 2: // RECORD
-          return RECORD;
-        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.RECORD_MUTATION_TYPE, new org.apache.thrift.meta_data.FieldMetaData("recordMutationType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, RecordMutationType.class)));
-    tmpMap.put(_Fields.RECORD, new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Record.class)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(RecordMutation.class, metaDataMap);
-  }
-
-  public RecordMutation() {
-  }
-
-  public RecordMutation(
-    RecordMutationType recordMutationType,
-    Record record)
-  {
-    this();
-    this.recordMutationType = recordMutationType;
-    this.record = record;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public RecordMutation(RecordMutation other) {
-    if (other.isSetRecordMutationType()) {
-      this.recordMutationType = other.recordMutationType;
-    }
-    if (other.isSetRecord()) {
-      this.record = new Record(other.record);
-    }
-  }
-
-  public RecordMutation deepCopy() {
-    return new RecordMutation(this);
-  }
-
-  @Override
-  public void clear() {
-    this.recordMutationType = null;
-    this.record = null;
-  }
-
-  /**
-   * 
-   * 
-   * @see RecordMutationType
-   */
-  public RecordMutationType getRecordMutationType() {
-    return this.recordMutationType;
-  }
-
-  /**
-   * 
-   * 
-   * @see RecordMutationType
-   */
-  public RecordMutation setRecordMutationType(RecordMutationType recordMutationType) {
-    this.recordMutationType = recordMutationType;
-    return this;
-  }
-
-  public void unsetRecordMutationType() {
-    this.recordMutationType = null;
-  }
-
-  /** Returns true if field recordMutationType is set (has been assigned a value) and false otherwise */
-  public boolean isSetRecordMutationType() {
-    return this.recordMutationType != null;
-  }
-
-  public void setRecordMutationTypeIsSet(boolean value) {
-    if (!value) {
-      this.recordMutationType = null;
-    }
-  }
-
-  /**
-   * 
-   */
-  public Record getRecord() {
-    return this.record;
-  }
-
-  /**
-   * 
-   */
-  public RecordMutation setRecord(Record record) {
-    this.record = record;
-    return this;
-  }
-
-  public void unsetRecord() {
-    this.record = null;
-  }
-
-  /** Returns true if field record is set (has been assigned a value) and false otherwise */
-  public boolean isSetRecord() {
-    return this.record != null;
-  }
-
-  public void setRecordIsSet(boolean value) {
-    if (!value) {
-      this.record = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case RECORD_MUTATION_TYPE:
-      if (value == null) {
-        unsetRecordMutationType();
-      } else {
-        setRecordMutationType((RecordMutationType)value);
-      }
-      break;
-
-    case RECORD:
-      if (value == null) {
-        unsetRecord();
-      } else {
-        setRecord((Record)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case RECORD_MUTATION_TYPE:
-      return getRecordMutationType();
-
-    case RECORD:
-      return getRecord();
-
-    }
-    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 RECORD_MUTATION_TYPE:
-      return isSetRecordMutationType();
-    case RECORD:
-      return isSetRecord();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof RecordMutation)
-      return this.equals((RecordMutation)that);
-    return false;
-  }
-
-  public boolean equals(RecordMutation that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_recordMutationType = true && this.isSetRecordMutationType();
-    boolean that_present_recordMutationType = true && that.isSetRecordMutationType();
-    if (this_present_recordMutationType || that_present_recordMutationType) {
-      if (!(this_present_recordMutationType && that_present_recordMutationType))
-        return false;
-      if (!this.recordMutationType.equals(that.recordMutationType))
-        return false;
-    }
-
-    boolean this_present_record = true && this.isSetRecord();
-    boolean that_present_record = true && that.isSetRecord();
-    if (this_present_record || that_present_record) {
-      if (!(this_present_record && that_present_record))
-        return false;
-      if (!this.record.equals(that.record))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(RecordMutation other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    RecordMutation typedOther = (RecordMutation)other;
-
-    lastComparison = Boolean.valueOf(isSetRecordMutationType()).compareTo(typedOther.isSetRecordMutationType());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetRecordMutationType()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.recordMutationType, typedOther.recordMutationType);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetRecord()).compareTo(typedOther.isSetRecord());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetRecord()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.record, typedOther.record);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    org.apache.thrift.protocol.TField field;
-    iprot.readStructBegin();
-    while (true)
-    {
-      field = iprot.readFieldBegin();
-      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-        break;
-      }
-      switch (field.id) {
-        case 1: // RECORD_MUTATION_TYPE
-          if (field.type == org.apache.thrift.protocol.TType.I32) {
-            this.recordMutationType = RecordMutationType.findByValue(iprot.readI32());
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 2: // RECORD
-          if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-            this.record = new Record();
-            this.record.read(iprot);
-          } else { 
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        default:
-          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-      }
-      iprot.readFieldEnd();
-    }
-    iprot.readStructEnd();
-
-    // check for required fields of primitive type, which can't be checked in the validate method
-    validate();
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    validate();
-
-    oprot.writeStructBegin(STRUCT_DESC);
-    if (this.recordMutationType != null) {
-      oprot.writeFieldBegin(RECORD_MUTATION_TYPE_FIELD_DESC);
-      oprot.writeI32(this.recordMutationType.getValue());
-      oprot.writeFieldEnd();
-    }
-    if (this.record != null) {
-      oprot.writeFieldBegin(RECORD_FIELD_DESC);
-      this.record.write(oprot);
-      oprot.writeFieldEnd();
-    }
-    oprot.writeFieldStop();
-    oprot.writeStructEnd();
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("RecordMutation(");
-    boolean first = true;
-
-    sb.append("recordMutationType:");
-    if (this.recordMutationType == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.recordMutationType);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("record:");
-    if (this.record == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.record);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/33df9310/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/RecordMutationType.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/RecordMutationType.java b/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/RecordMutationType.java
deleted file mode 100644
index f59eaa6..0000000
--- a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/generated/RecordMutationType.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.7.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- */
-package com.nearinfinity.blur.thrift.generated;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-/**
- * Specifies the type of Record mutation that should occur during a mutation of a given Record.<br/><br/>
- * DELETE_ENTIRE_RECORD -  Indicates the Record with the given recordId in the given Row is to be deleted.  If the target record does not exist, then no changes are made.<br/><br/>
- * REPLACE_ENTIRE_RECORD - Indicates the Record with the given recordId in the given Row is to be deleted, and a new Record with the same id is to be added. If the specified record does not exist the new record is still added.<br/><br/>
- * REPLACE_COLUMNS - Replace the columns that are specified in the Record mutation.  If the target record does not exist then this mutation will result in a BlurException.<br/><br/>
- * APPEND_COLUMN_VALUES - Append the columns in the Record mutation to the Record that could already exist.  If the target record does not exist then this mutation will result in a BlurException.<br/>
- */
-public enum RecordMutationType implements org.apache.thrift.TEnum {
-  DELETE_ENTIRE_RECORD(0),
-  REPLACE_ENTIRE_RECORD(1),
-  REPLACE_COLUMNS(2),
-  APPEND_COLUMN_VALUES(3);
-
-  private final int value;
-
-  private RecordMutationType(int value) {
-    this.value = value;
-  }
-
-  /**
-   * Get the integer value of this enum value, as defined in the Thrift IDL.
-   */
-  public int getValue() {
-    return value;
-  }
-
-  /**
-   * Find a the enum type by its integer value, as defined in the Thrift IDL.
-   * @return null if the value is not found.
-   */
-  public static RecordMutationType findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return DELETE_ENTIRE_RECORD;
-      case 1:
-        return REPLACE_ENTIRE_RECORD;
-      case 2:
-        return REPLACE_COLUMNS;
-      case 3:
-        return APPEND_COLUMN_VALUES;
-      default:
-        return null;
-    }
-  }
-}


Mime
View raw message