incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [4/5] Adding logger level changer plus shell commands.
Date Tue, 25 Feb 2014 13:07:10 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b726909c/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Blur.java
----------------------------------------------------------------------
diff --git a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Blur.java b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Blur.java
index cacc0cf..7246966 100644
--- a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Blur.java
+++ b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Blur.java
@@ -411,6 +411,20 @@ public class Blur {
      */
     public void ping() throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
+    /**
+     * Changes the logging level for the given instance dynamically at runtime.
+     * 
+     * @param classNameOrLoggerName the className or Logger Name of the Logger to be changed.
+     * 
+     * @param level the logging level.
+     */
+    public void logging(String classNameOrLoggerName, Level level) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
+    /**
+     * Resets the logging for this instance to match the log4j file.  NOTE: This will allow for dynamically changing to logging file at runtime.
+     */
+    public void resetLogging() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
   }
 
   public interface AsyncIface {
@@ -495,6 +509,10 @@ public class Blur {
 
     public void ping(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.ping_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
+    public void logging(String classNameOrLoggerName, Level level, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.logging_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
+    public void resetLogging(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.resetLogging_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
   }
 
   public static class Client extends org.apache.blur.thirdparty.thrift_0_9_0.TServiceClient implements Iface {
@@ -1504,6 +1522,52 @@ public class Blur {
       return;
     }
 
+    public void logging(String classNameOrLoggerName, Level level) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    {
+      send_logging(classNameOrLoggerName, level);
+      recv_logging();
+    }
+
+    public void send_logging(String classNameOrLoggerName, Level level) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    {
+      logging_args args = new logging_args();
+      args.setClassNameOrLoggerName(classNameOrLoggerName);
+      args.setLevel(level);
+      sendBase("logging", args);
+    }
+
+    public void recv_logging() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    {
+      logging_result result = new logging_result();
+      receiveBase(result, "logging");
+      if (result.ex != null) {
+        throw result.ex;
+      }
+      return;
+    }
+
+    public void resetLogging() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    {
+      send_resetLogging();
+      recv_resetLogging();
+    }
+
+    public void send_resetLogging() throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    {
+      resetLogging_args args = new resetLogging_args();
+      sendBase("resetLogging", args);
+    }
+
+    public void recv_resetLogging() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    {
+      resetLogging_result result = new resetLogging_result();
+      receiveBase(result, "resetLogging");
+      if (result.ex != null) {
+        throw result.ex;
+      }
+      return;
+    }
+
   }
   public static class AsyncClient extends org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncClient implements AsyncIface {
     public static class Factory implements org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncClientFactory<AsyncClient> {
@@ -2842,6 +2906,70 @@ public class Blur {
       }
     }
 
+    public void logging(String classNameOrLoggerName, Level level, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<logging_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      checkReady();
+      logging_call method_call = new logging_call(classNameOrLoggerName, level, resultHandler, this, ___protocolFactory, ___transport);
+      this.___currentMethod = method_call;
+      ___manager.call(method_call);
+    }
+
+    public static class logging_call extends org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncMethodCall {
+      private String classNameOrLoggerName;
+      private Level level;
+      public logging_call(String classNameOrLoggerName, Level level, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<logging_call> resultHandler, org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncClient client, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolFactory protocolFactory, org.apache.blur.thirdparty.thrift_0_9_0.transport.TNonblockingTransport transport) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+        super(client, protocolFactory, transport, resultHandler, false);
+        this.classNameOrLoggerName = classNameOrLoggerName;
+        this.level = level;
+      }
+
+      public void write_args(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+        prot.writeMessageBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessage("logging", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessageType.CALL, 0));
+        logging_args args = new logging_args();
+        args.setClassNameOrLoggerName(classNameOrLoggerName);
+        args.setLevel(level);
+        args.write(prot);
+        prot.writeMessageEnd();
+      }
+
+      public void getResult() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException {
+        if (getState() != org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncMethodCall.State.RESPONSE_READ) {
+          throw new IllegalStateException("Method call not finished!");
+        }
+        org.apache.blur.thirdparty.thrift_0_9_0.transport.TMemoryInputTransport memoryTransport = new org.apache.blur.thirdparty.thrift_0_9_0.transport.TMemoryInputTransport(getFrameBuffer().array());
+        org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
+        (new Client(prot)).recv_logging();
+      }
+    }
+
+    public void resetLogging(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<resetLogging_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      checkReady();
+      resetLogging_call method_call = new resetLogging_call(resultHandler, this, ___protocolFactory, ___transport);
+      this.___currentMethod = method_call;
+      ___manager.call(method_call);
+    }
+
+    public static class resetLogging_call extends org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncMethodCall {
+      public resetLogging_call(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<resetLogging_call> resultHandler, org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncClient client, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolFactory protocolFactory, org.apache.blur.thirdparty.thrift_0_9_0.transport.TNonblockingTransport transport) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+        super(client, protocolFactory, transport, resultHandler, false);
+      }
+
+      public void write_args(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+        prot.writeMessageBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessage("resetLogging", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessageType.CALL, 0));
+        resetLogging_args args = new resetLogging_args();
+        args.write(prot);
+        prot.writeMessageEnd();
+      }
+
+      public void getResult() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException {
+        if (getState() != org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncMethodCall.State.RESPONSE_READ) {
+          throw new IllegalStateException("Method call not finished!");
+        }
+        org.apache.blur.thirdparty.thrift_0_9_0.transport.TMemoryInputTransport memoryTransport = new org.apache.blur.thirdparty.thrift_0_9_0.transport.TMemoryInputTransport(getFrameBuffer().array());
+        org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
+        (new Client(prot)).recv_resetLogging();
+      }
+    }
+
   }
 
   public static class Processor<I extends Iface> extends org.apache.blur.thirdparty.thrift_0_9_0.TBaseProcessor<I> implements org.apache.blur.thirdparty.thrift_0_9_0.TProcessor {
@@ -2895,6 +3023,8 @@ public class Blur {
       processMap.put("traceRequestFetch", new traceRequestFetch());
       processMap.put("traceRemove", new traceRemove());
       processMap.put("ping", new ping());
+      processMap.put("logging", new logging());
+      processMap.put("resetLogging", new resetLogging());
       return processMap;
     }
 
@@ -3847,395 +3977,78 @@ public class Blur {
       }
     }
 
-  }
-
-  public static class createTable_args implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<createTable_args, createTable_args._Fields>, java.io.Serializable, Cloneable   {
-    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("createTable_args");
-
-    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField TABLE_DESCRIPTOR_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("tableDescriptor", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, (short)1);
-
-    private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-    static {
-      schemes.put(StandardScheme.class, new createTable_argsStandardSchemeFactory());
-      schemes.put(TupleScheme.class, new createTable_argsTupleSchemeFactory());
-    }
-
-    /**
-     * the TableDescriptor.
-     */
-    public TableDescriptor tableDescriptor; // required
-
-    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-    public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
-      /**
-       * the TableDescriptor.
-       */
-      TABLE_DESCRIPTOR((short)1, "tableDescriptor");
-
-      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-      static {
-        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-          byName.put(field.getFieldName(), field);
-        }
+    public static class logging<I extends Iface> extends org.apache.blur.thirdparty.thrift_0_9_0.ProcessFunction<I, logging_args> {
+      public logging() {
+        super("logging");
       }
 
-      /**
-       * Find the _Fields constant that matches fieldId, or null if its not found.
-       */
-      public static _Fields findByThriftId(int fieldId) {
-        switch(fieldId) {
-          case 1: // TABLE_DESCRIPTOR
-            return TABLE_DESCRIPTOR;
-          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.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> metaDataMap;
-    static {
-      Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData>(_Fields.class);
-      tmpMap.put(_Fields.TABLE_DESCRIPTOR, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("tableDescriptor", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-          new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.StructMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, TableDescriptor.class)));
-      metaDataMap = Collections.unmodifiableMap(tmpMap);
-      org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(createTable_args.class, metaDataMap);
-    }
-
-    public createTable_args() {
-    }
-
-    public createTable_args(
-      TableDescriptor tableDescriptor)
-    {
-      this();
-      this.tableDescriptor = tableDescriptor;
-    }
-
-    /**
-     * Performs a deep copy on <i>other</i>.
-     */
-    public createTable_args(createTable_args other) {
-      if (other.isSetTableDescriptor()) {
-        this.tableDescriptor = new TableDescriptor(other.tableDescriptor);
-      }
-    }
-
-    public createTable_args deepCopy() {
-      return new createTable_args(this);
-    }
-
-    @Override
-    public void clear() {
-      this.tableDescriptor = null;
-    }
-
-    /**
-     * the TableDescriptor.
-     */
-    public TableDescriptor getTableDescriptor() {
-      return this.tableDescriptor;
-    }
-
-    /**
-     * the TableDescriptor.
-     */
-    public createTable_args setTableDescriptor(TableDescriptor tableDescriptor) {
-      this.tableDescriptor = tableDescriptor;
-      return this;
-    }
-
-    public void unsetTableDescriptor() {
-      this.tableDescriptor = null;
-    }
-
-    /** Returns true if field tableDescriptor is set (has been assigned a value) and false otherwise */
-    public boolean isSetTableDescriptor() {
-      return this.tableDescriptor != null;
-    }
-
-    public void setTableDescriptorIsSet(boolean value) {
-      if (!value) {
-        this.tableDescriptor = null;
+      public logging_args getEmptyArgsInstance() {
+        return new logging_args();
       }
-    }
-
-    public void setFieldValue(_Fields field, Object value) {
-      switch (field) {
-      case TABLE_DESCRIPTOR:
-        if (value == null) {
-          unsetTableDescriptor();
-        } else {
-          setTableDescriptor((TableDescriptor)value);
-        }
-        break;
 
-      }
-    }
-
-    public Object getFieldValue(_Fields field) {
-      switch (field) {
-      case TABLE_DESCRIPTOR:
-        return getTableDescriptor();
-
-      }
-      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 TABLE_DESCRIPTOR:
-        return isSetTableDescriptor();
-      }
-      throw new IllegalStateException();
-    }
-
-    @Override
-    public boolean equals(Object that) {
-      if (that == null)
-        return false;
-      if (that instanceof createTable_args)
-        return this.equals((createTable_args)that);
-      return false;
-    }
-
-    public boolean equals(createTable_args that) {
-      if (that == null)
+      protected boolean isOneway() {
         return false;
-
-      boolean this_present_tableDescriptor = true && this.isSetTableDescriptor();
-      boolean that_present_tableDescriptor = true && that.isSetTableDescriptor();
-      if (this_present_tableDescriptor || that_present_tableDescriptor) {
-        if (!(this_present_tableDescriptor && that_present_tableDescriptor))
-          return false;
-        if (!this.tableDescriptor.equals(that.tableDescriptor))
-          return false;
-      }
-
-      return true;
-    }
-
-    @Override
-    public int hashCode() {
-      return 0;
-    }
-
-    public int compareTo(createTable_args other) {
-      if (!getClass().equals(other.getClass())) {
-        return getClass().getName().compareTo(other.getClass().getName());
       }
 
-      int lastComparison = 0;
-      createTable_args typedOther = (createTable_args)other;
-
-      lastComparison = Boolean.valueOf(isSetTableDescriptor()).compareTo(typedOther.isSetTableDescriptor());
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-      if (isSetTableDescriptor()) {
-        lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.tableDescriptor, typedOther.tableDescriptor);
-        if (lastComparison != 0) {
-          return lastComparison;
+      public logging_result getResult(I iface, logging_args args) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+        logging_result result = new logging_result();
+        try {
+          iface.logging(args.classNameOrLoggerName, args.level);
+        } catch (BlurException ex) {
+          result.ex = ex;
         }
-      }
-      return 0;
-    }
-
-    public _Fields fieldForId(int fieldId) {
-      return _Fields.findByThriftId(fieldId);
-    }
-
-    public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-      schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-    }
-
-    public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-      schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-    }
-
-    @Override
-    public String toString() {
-      StringBuilder sb = new StringBuilder("createTable_args(");
-      boolean first = true;
-
-      sb.append("tableDescriptor:");
-      if (this.tableDescriptor == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.tableDescriptor);
-      }
-      first = false;
-      sb.append(")");
-      return sb.toString();
-    }
-
-    public void validate() throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-      // check for required fields
-      // check for sub-struct validity
-      if (tableDescriptor != null) {
-        tableDescriptor.validate();
-      }
-    }
-
-    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-      try {
-        write(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TCompactProtocol(new org.apache.blur.thirdparty.thrift_0_9_0.transport.TIOStreamTransport(out)));
-      } catch (org.apache.blur.thirdparty.thrift_0_9_0.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.blur.thirdparty.thrift_0_9_0.protocol.TCompactProtocol(new org.apache.blur.thirdparty.thrift_0_9_0.transport.TIOStreamTransport(in)));
-      } catch (org.apache.blur.thirdparty.thrift_0_9_0.TException te) {
-        throw new java.io.IOException(te);
-      }
-    }
-
-    private static class createTable_argsStandardSchemeFactory implements SchemeFactory {
-      public createTable_argsStandardScheme getScheme() {
-        return new createTable_argsStandardScheme();
+        return result;
       }
     }
 
-    private static class createTable_argsStandardScheme extends StandardScheme<createTable_args> {
-
-      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot, createTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-        org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField schemeField;
-        iprot.readStructBegin();
-        while (true)
-        {
-          schemeField = iprot.readFieldBegin();
-          if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STOP) { 
-            break;
-          }
-          switch (schemeField.id) {
-            case 1: // TABLE_DESCRIPTOR
-              if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT) {
-                struct.tableDescriptor = new TableDescriptor();
-                struct.tableDescriptor.read(iprot);
-                struct.setTableDescriptorIsSet(true);
-              } else { 
-                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-              }
-              break;
-            default:
-              org.apache.blur.thirdparty.thrift_0_9_0.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.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot, createTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-        struct.validate();
-
-        oprot.writeStructBegin(STRUCT_DESC);
-        if (struct.tableDescriptor != null) {
-          oprot.writeFieldBegin(TABLE_DESCRIPTOR_FIELD_DESC);
-          struct.tableDescriptor.write(oprot);
-          oprot.writeFieldEnd();
-        }
-        oprot.writeFieldStop();
-        oprot.writeStructEnd();
+    public static class resetLogging<I extends Iface> extends org.apache.blur.thirdparty.thrift_0_9_0.ProcessFunction<I, resetLogging_args> {
+      public resetLogging() {
+        super("resetLogging");
       }
 
-    }
-
-    private static class createTable_argsTupleSchemeFactory implements SchemeFactory {
-      public createTable_argsTupleScheme getScheme() {
-        return new createTable_argsTupleScheme();
+      public resetLogging_args getEmptyArgsInstance() {
+        return new resetLogging_args();
       }
-    }
 
-    private static class createTable_argsTupleScheme extends TupleScheme<createTable_args> {
-
-      @Override
-      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, createTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-        TTupleProtocol oprot = (TTupleProtocol) prot;
-        BitSet optionals = new BitSet();
-        if (struct.isSetTableDescriptor()) {
-          optionals.set(0);
-        }
-        oprot.writeBitSet(optionals, 1);
-        if (struct.isSetTableDescriptor()) {
-          struct.tableDescriptor.write(oprot);
-        }
+      protected boolean isOneway() {
+        return false;
       }
 
-      @Override
-      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, createTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-        TTupleProtocol iprot = (TTupleProtocol) prot;
-        BitSet incoming = iprot.readBitSet(1);
-        if (incoming.get(0)) {
-          struct.tableDescriptor = new TableDescriptor();
-          struct.tableDescriptor.read(iprot);
-          struct.setTableDescriptorIsSet(true);
+      public resetLogging_result getResult(I iface, resetLogging_args args) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+        resetLogging_result result = new resetLogging_result();
+        try {
+          iface.resetLogging();
+        } catch (BlurException ex) {
+          result.ex = ex;
         }
+        return result;
       }
     }
 
   }
 
-  public static class createTable_result implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<createTable_result, createTable_result._Fields>, java.io.Serializable, Cloneable   {
-    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("createTable_result");
+  public static class createTable_args implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<createTable_args, createTable_args._Fields>, java.io.Serializable, Cloneable   {
+    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("createTable_args");
 
-    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField EX_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("ex", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, (short)1);
+    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField TABLE_DESCRIPTOR_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("tableDescriptor", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, (short)1);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
-      schemes.put(StandardScheme.class, new createTable_resultStandardSchemeFactory());
-      schemes.put(TupleScheme.class, new createTable_resultTupleSchemeFactory());
+      schemes.put(StandardScheme.class, new createTable_argsStandardSchemeFactory());
+      schemes.put(TupleScheme.class, new createTable_argsTupleSchemeFactory());
     }
 
-    public BlurException ex; // required
+    /**
+     * the TableDescriptor.
+     */
+    public TableDescriptor tableDescriptor; // required
 
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
-      EX((short)1, "ex");
+      /**
+       * the TableDescriptor.
+       */
+      TABLE_DESCRIPTOR((short)1, "tableDescriptor");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -4250,8 +4063,8 @@ public class Blur {
        */
       public static _Fields findByThriftId(int fieldId) {
         switch(fieldId) {
-          case 1: // EX
-            return EX;
+          case 1: // TABLE_DESCRIPTOR
+            return TABLE_DESCRIPTOR;
           default:
             return null;
         }
@@ -4295,71 +4108,77 @@ public class Blur {
     public static final Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> metaDataMap;
     static {
       Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData>(_Fields.class);
-      tmpMap.put(_Fields.EX, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("ex", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-          new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT)));
+      tmpMap.put(_Fields.TABLE_DESCRIPTOR, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("tableDescriptor", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
+          new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.StructMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, TableDescriptor.class)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
-      org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(createTable_result.class, metaDataMap);
+      org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(createTable_args.class, metaDataMap);
     }
 
-    public createTable_result() {
+    public createTable_args() {
     }
 
-    public createTable_result(
-      BlurException ex)
+    public createTable_args(
+      TableDescriptor tableDescriptor)
     {
       this();
-      this.ex = ex;
+      this.tableDescriptor = tableDescriptor;
     }
 
     /**
      * Performs a deep copy on <i>other</i>.
      */
-    public createTable_result(createTable_result other) {
-      if (other.isSetEx()) {
-        this.ex = new BlurException(other.ex);
+    public createTable_args(createTable_args other) {
+      if (other.isSetTableDescriptor()) {
+        this.tableDescriptor = new TableDescriptor(other.tableDescriptor);
       }
     }
 
-    public createTable_result deepCopy() {
-      return new createTable_result(this);
+    public createTable_args deepCopy() {
+      return new createTable_args(this);
     }
 
     @Override
     public void clear() {
-      this.ex = null;
+      this.tableDescriptor = null;
     }
 
-    public BlurException getEx() {
-      return this.ex;
+    /**
+     * the TableDescriptor.
+     */
+    public TableDescriptor getTableDescriptor() {
+      return this.tableDescriptor;
     }
 
-    public createTable_result setEx(BlurException ex) {
-      this.ex = ex;
+    /**
+     * the TableDescriptor.
+     */
+    public createTable_args setTableDescriptor(TableDescriptor tableDescriptor) {
+      this.tableDescriptor = tableDescriptor;
       return this;
     }
 
-    public void unsetEx() {
-      this.ex = null;
+    public void unsetTableDescriptor() {
+      this.tableDescriptor = null;
     }
 
-    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-    public boolean isSetEx() {
-      return this.ex != null;
+    /** Returns true if field tableDescriptor is set (has been assigned a value) and false otherwise */
+    public boolean isSetTableDescriptor() {
+      return this.tableDescriptor != null;
     }
 
-    public void setExIsSet(boolean value) {
+    public void setTableDescriptorIsSet(boolean value) {
       if (!value) {
-        this.ex = null;
+        this.tableDescriptor = null;
       }
     }
 
     public void setFieldValue(_Fields field, Object value) {
       switch (field) {
-      case EX:
+      case TABLE_DESCRIPTOR:
         if (value == null) {
-          unsetEx();
+          unsetTableDescriptor();
         } else {
-          setEx((BlurException)value);
+          setTableDescriptor((TableDescriptor)value);
         }
         break;
 
@@ -4368,8 +4187,8 @@ public class Blur {
 
     public Object getFieldValue(_Fields field) {
       switch (field) {
-      case EX:
-        return getEx();
+      case TABLE_DESCRIPTOR:
+        return getTableDescriptor();
 
       }
       throw new IllegalStateException();
@@ -4382,8 +4201,8 @@ public class Blur {
       }
 
       switch (field) {
-      case EX:
-        return isSetEx();
+      case TABLE_DESCRIPTOR:
+        return isSetTableDescriptor();
       }
       throw new IllegalStateException();
     }
@@ -4392,21 +4211,21 @@ public class Blur {
     public boolean equals(Object that) {
       if (that == null)
         return false;
-      if (that instanceof createTable_result)
-        return this.equals((createTable_result)that);
+      if (that instanceof createTable_args)
+        return this.equals((createTable_args)that);
       return false;
     }
 
-    public boolean equals(createTable_result that) {
+    public boolean equals(createTable_args that) {
       if (that == null)
         return false;
 
-      boolean this_present_ex = true && this.isSetEx();
-      boolean that_present_ex = true && that.isSetEx();
-      if (this_present_ex || that_present_ex) {
-        if (!(this_present_ex && that_present_ex))
+      boolean this_present_tableDescriptor = true && this.isSetTableDescriptor();
+      boolean that_present_tableDescriptor = true && that.isSetTableDescriptor();
+      if (this_present_tableDescriptor || that_present_tableDescriptor) {
+        if (!(this_present_tableDescriptor && that_present_tableDescriptor))
           return false;
-        if (!this.ex.equals(that.ex))
+        if (!this.tableDescriptor.equals(that.tableDescriptor))
           return false;
       }
 
@@ -4418,20 +4237,20 @@ public class Blur {
       return 0;
     }
 
-    public int compareTo(createTable_result other) {
+    public int compareTo(createTable_args other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
 
       int lastComparison = 0;
-      createTable_result typedOther = (createTable_result)other;
+      createTable_args typedOther = (createTable_args)other;
 
-      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
+      lastComparison = Boolean.valueOf(isSetTableDescriptor()).compareTo(typedOther.isSetTableDescriptor());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetEx()) {
-        lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.ex, typedOther.ex);
+      if (isSetTableDescriptor()) {
+        lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.tableDescriptor, typedOther.tableDescriptor);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -4449,18 +4268,18 @@ public class Blur {
 
     public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-      }
+    }
 
     @Override
     public String toString() {
-      StringBuilder sb = new StringBuilder("createTable_result(");
+      StringBuilder sb = new StringBuilder("createTable_args(");
       boolean first = true;
 
-      sb.append("ex:");
-      if (this.ex == null) {
+      sb.append("tableDescriptor:");
+      if (this.tableDescriptor == null) {
         sb.append("null");
       } else {
-        sb.append(this.ex);
+        sb.append(this.tableDescriptor);
       }
       first = false;
       sb.append(")");
@@ -4470,6 +4289,9 @@ public class Blur {
     public void validate() throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       // check for required fields
       // check for sub-struct validity
+      if (tableDescriptor != null) {
+        tableDescriptor.validate();
+      }
     }
 
     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -4488,15 +4310,15 @@ public class Blur {
       }
     }
 
-    private static class createTable_resultStandardSchemeFactory implements SchemeFactory {
-      public createTable_resultStandardScheme getScheme() {
-        return new createTable_resultStandardScheme();
+    private static class createTable_argsStandardSchemeFactory implements SchemeFactory {
+      public createTable_argsStandardScheme getScheme() {
+        return new createTable_argsStandardScheme();
       }
     }
 
-    private static class createTable_resultStandardScheme extends StandardScheme<createTable_result> {
+    private static class createTable_argsStandardScheme extends StandardScheme<createTable_args> {
 
-      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot, createTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot, createTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField schemeField;
         iprot.readStructBegin();
         while (true)
@@ -4506,11 +4328,11 @@ public class Blur {
             break;
           }
           switch (schemeField.id) {
-            case 1: // EX
+            case 1: // TABLE_DESCRIPTOR
               if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT) {
-                struct.ex = new BlurException();
-                struct.ex.read(iprot);
-                struct.setExIsSet(true);
+                struct.tableDescriptor = new TableDescriptor();
+                struct.tableDescriptor.read(iprot);
+                struct.setTableDescriptorIsSet(true);
               } else { 
                 org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -4526,13 +4348,13 @@ public class Blur {
         struct.validate();
       }
 
-      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot, createTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot, createTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         struct.validate();
 
         oprot.writeStructBegin(STRUCT_DESC);
-        if (struct.ex != null) {
-          oprot.writeFieldBegin(EX_FIELD_DESC);
-          struct.ex.write(oprot);
+        if (struct.tableDescriptor != null) {
+          oprot.writeFieldBegin(TABLE_DESCRIPTOR_FIELD_DESC);
+          struct.tableDescriptor.write(oprot);
           oprot.writeFieldEnd();
         }
         oprot.writeFieldStop();
@@ -4541,63 +4363,57 @@ public class Blur {
 
     }
 
-    private static class createTable_resultTupleSchemeFactory implements SchemeFactory {
-      public createTable_resultTupleScheme getScheme() {
-        return new createTable_resultTupleScheme();
+    private static class createTable_argsTupleSchemeFactory implements SchemeFactory {
+      public createTable_argsTupleScheme getScheme() {
+        return new createTable_argsTupleScheme();
       }
     }
 
-    private static class createTable_resultTupleScheme extends TupleScheme<createTable_result> {
+    private static class createTable_argsTupleScheme extends TupleScheme<createTable_args> {
 
       @Override
-      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, createTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, createTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         TTupleProtocol oprot = (TTupleProtocol) prot;
         BitSet optionals = new BitSet();
-        if (struct.isSetEx()) {
+        if (struct.isSetTableDescriptor()) {
           optionals.set(0);
         }
         oprot.writeBitSet(optionals, 1);
-        if (struct.isSetEx()) {
-          struct.ex.write(oprot);
+        if (struct.isSetTableDescriptor()) {
+          struct.tableDescriptor.write(oprot);
         }
       }
 
       @Override
-      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, createTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, createTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         TTupleProtocol iprot = (TTupleProtocol) prot;
         BitSet incoming = iprot.readBitSet(1);
         if (incoming.get(0)) {
-          struct.ex = new BlurException();
-          struct.ex.read(iprot);
-          struct.setExIsSet(true);
+          struct.tableDescriptor = new TableDescriptor();
+          struct.tableDescriptor.read(iprot);
+          struct.setTableDescriptorIsSet(true);
         }
       }
     }
 
   }
 
-  public static class enableTable_args implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<enableTable_args, enableTable_args._Fields>, java.io.Serializable, Cloneable   {
-    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("enableTable_args");
+  public static class createTable_result implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<createTable_result, createTable_result._Fields>, java.io.Serializable, Cloneable   {
+    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("createTable_result");
 
-    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField TABLE_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("table", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, (short)1);
+    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField EX_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("ex", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, (short)1);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
-      schemes.put(StandardScheme.class, new enableTable_argsStandardSchemeFactory());
-      schemes.put(TupleScheme.class, new enableTable_argsTupleSchemeFactory());
+      schemes.put(StandardScheme.class, new createTable_resultStandardSchemeFactory());
+      schemes.put(TupleScheme.class, new createTable_resultTupleSchemeFactory());
     }
 
-    /**
-     * the table name.
-     */
-    public String table; // required
+    public BlurException ex; // required
 
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
-      /**
-       * the table name.
-       */
-      TABLE((short)1, "table");
+      EX((short)1, "ex");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -4612,8 +4428,8 @@ public class Blur {
        */
       public static _Fields findByThriftId(int fieldId) {
         switch(fieldId) {
-          case 1: // TABLE
-            return TABLE;
+          case 1: // EX
+            return EX;
           default:
             return null;
         }
@@ -4657,77 +4473,71 @@ public class Blur {
     public static final Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> metaDataMap;
     static {
       Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData>(_Fields.class);
-      tmpMap.put(_Fields.TABLE, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("table", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-          new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING)));
+      tmpMap.put(_Fields.EX, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("ex", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
+          new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
-      org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_args.class, metaDataMap);
+      org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(createTable_result.class, metaDataMap);
     }
 
-    public enableTable_args() {
+    public createTable_result() {
     }
 
-    public enableTable_args(
-      String table)
+    public createTable_result(
+      BlurException ex)
     {
       this();
-      this.table = table;
+      this.ex = ex;
     }
 
     /**
      * Performs a deep copy on <i>other</i>.
      */
-    public enableTable_args(enableTable_args other) {
-      if (other.isSetTable()) {
-        this.table = other.table;
+    public createTable_result(createTable_result other) {
+      if (other.isSetEx()) {
+        this.ex = new BlurException(other.ex);
       }
     }
 
-    public enableTable_args deepCopy() {
-      return new enableTable_args(this);
+    public createTable_result deepCopy() {
+      return new createTable_result(this);
     }
 
     @Override
     public void clear() {
-      this.table = null;
+      this.ex = null;
     }
 
-    /**
-     * the table name.
-     */
-    public String getTable() {
-      return this.table;
+    public BlurException getEx() {
+      return this.ex;
     }
 
-    /**
-     * the table name.
-     */
-    public enableTable_args setTable(String table) {
-      this.table = table;
+    public createTable_result setEx(BlurException ex) {
+      this.ex = ex;
       return this;
     }
 
-    public void unsetTable() {
-      this.table = null;
+    public void unsetEx() {
+      this.ex = null;
     }
 
-    /** Returns true if field table is set (has been assigned a value) and false otherwise */
-    public boolean isSetTable() {
-      return this.table != null;
+    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
+    public boolean isSetEx() {
+      return this.ex != null;
     }
 
-    public void setTableIsSet(boolean value) {
+    public void setExIsSet(boolean value) {
       if (!value) {
-        this.table = null;
+        this.ex = null;
       }
     }
 
     public void setFieldValue(_Fields field, Object value) {
       switch (field) {
-      case TABLE:
+      case EX:
         if (value == null) {
-          unsetTable();
+          unsetEx();
         } else {
-          setTable((String)value);
+          setEx((BlurException)value);
         }
         break;
 
@@ -4736,8 +4546,8 @@ public class Blur {
 
     public Object getFieldValue(_Fields field) {
       switch (field) {
-      case TABLE:
-        return getTable();
+      case EX:
+        return getEx();
 
       }
       throw new IllegalStateException();
@@ -4750,8 +4560,8 @@ public class Blur {
       }
 
       switch (field) {
-      case TABLE:
-        return isSetTable();
+      case EX:
+        return isSetEx();
       }
       throw new IllegalStateException();
     }
@@ -4760,21 +4570,21 @@ public class Blur {
     public boolean equals(Object that) {
       if (that == null)
         return false;
-      if (that instanceof enableTable_args)
-        return this.equals((enableTable_args)that);
+      if (that instanceof createTable_result)
+        return this.equals((createTable_result)that);
       return false;
     }
 
-    public boolean equals(enableTable_args that) {
+    public boolean equals(createTable_result that) {
       if (that == null)
         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))
+      boolean this_present_ex = true && this.isSetEx();
+      boolean that_present_ex = true && that.isSetEx();
+      if (this_present_ex || that_present_ex) {
+        if (!(this_present_ex && that_present_ex))
           return false;
-        if (!this.table.equals(that.table))
+        if (!this.ex.equals(that.ex))
           return false;
       }
 
@@ -4786,20 +4596,20 @@ public class Blur {
       return 0;
     }
 
-    public int compareTo(enableTable_args other) {
+    public int compareTo(createTable_result other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
 
       int lastComparison = 0;
-      enableTable_args typedOther = (enableTable_args)other;
+      createTable_result typedOther = (createTable_result)other;
 
-      lastComparison = Boolean.valueOf(isSetTable()).compareTo(typedOther.isSetTable());
+      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetTable()) {
-        lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.table, typedOther.table);
+      if (isSetEx()) {
+        lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.ex, typedOther.ex);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -4817,18 +4627,18 @@ public class Blur {
 
     public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-    }
+      }
 
     @Override
     public String toString() {
-      StringBuilder sb = new StringBuilder("enableTable_args(");
+      StringBuilder sb = new StringBuilder("createTable_result(");
       boolean first = true;
 
-      sb.append("table:");
-      if (this.table == null) {
+      sb.append("ex:");
+      if (this.ex == null) {
         sb.append("null");
       } else {
-        sb.append(this.table);
+        sb.append(this.ex);
       }
       first = false;
       sb.append(")");
@@ -4856,15 +4666,15 @@ public class Blur {
       }
     }
 
-    private static class enableTable_argsStandardSchemeFactory implements SchemeFactory {
-      public enableTable_argsStandardScheme getScheme() {
-        return new enableTable_argsStandardScheme();
+    private static class createTable_resultStandardSchemeFactory implements SchemeFactory {
+      public createTable_resultStandardScheme getScheme() {
+        return new createTable_resultStandardScheme();
       }
     }
 
-    private static class enableTable_argsStandardScheme extends StandardScheme<enableTable_args> {
+    private static class createTable_resultStandardScheme extends StandardScheme<createTable_result> {
 
-      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot, enableTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot, createTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField schemeField;
         iprot.readStructBegin();
         while (true)
@@ -4874,10 +4684,11 @@ public class Blur {
             break;
           }
           switch (schemeField.id) {
-            case 1: // TABLE
-              if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING) {
-                struct.table = iprot.readString();
-                struct.setTableIsSet(true);
+            case 1: // EX
+              if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT) {
+                struct.ex = new BlurException();
+                struct.ex.read(iprot);
+                struct.setExIsSet(true);
               } else { 
                 org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -4893,13 +4704,13 @@ public class Blur {
         struct.validate();
       }
 
-      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot, enableTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot, createTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         struct.validate();
 
         oprot.writeStructBegin(STRUCT_DESC);
-        if (struct.table != null) {
-          oprot.writeFieldBegin(TABLE_FIELD_DESC);
-          oprot.writeString(struct.table);
+        if (struct.ex != null) {
+          oprot.writeFieldBegin(EX_FIELD_DESC);
+          struct.ex.write(oprot);
           oprot.writeFieldEnd();
         }
         oprot.writeFieldStop();
@@ -4908,56 +4719,63 @@ public class Blur {
 
     }
 
-    private static class enableTable_argsTupleSchemeFactory implements SchemeFactory {
-      public enableTable_argsTupleScheme getScheme() {
-        return new enableTable_argsTupleScheme();
+    private static class createTable_resultTupleSchemeFactory implements SchemeFactory {
+      public createTable_resultTupleScheme getScheme() {
+        return new createTable_resultTupleScheme();
       }
     }
 
-    private static class enableTable_argsTupleScheme extends TupleScheme<enableTable_args> {
+    private static class createTable_resultTupleScheme extends TupleScheme<createTable_result> {
 
       @Override
-      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, enableTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, createTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         TTupleProtocol oprot = (TTupleProtocol) prot;
         BitSet optionals = new BitSet();
-        if (struct.isSetTable()) {
+        if (struct.isSetEx()) {
           optionals.set(0);
         }
         oprot.writeBitSet(optionals, 1);
-        if (struct.isSetTable()) {
-          oprot.writeString(struct.table);
+        if (struct.isSetEx()) {
+          struct.ex.write(oprot);
         }
       }
 
       @Override
-      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, enableTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, createTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         TTupleProtocol iprot = (TTupleProtocol) prot;
         BitSet incoming = iprot.readBitSet(1);
         if (incoming.get(0)) {
-          struct.table = iprot.readString();
-          struct.setTableIsSet(true);
+          struct.ex = new BlurException();
+          struct.ex.read(iprot);
+          struct.setExIsSet(true);
         }
       }
     }
 
   }
 
-  public static class enableTable_result implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<enableTable_result, enableTable_result._Fields>, java.io.Serializable, Cloneable   {
-    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("enableTable_result");
+  public static class enableTable_args implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<enableTable_args, enableTable_args._Fields>, java.io.Serializable, Cloneable   {
+    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("enableTable_args");
 
-    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField EX_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("ex", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, (short)1);
+    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField TABLE_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("table", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, (short)1);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
-      schemes.put(StandardScheme.class, new enableTable_resultStandardSchemeFactory());
-      schemes.put(TupleScheme.class, new enableTable_resultTupleSchemeFactory());
+      schemes.put(StandardScheme.class, new enableTable_argsStandardSchemeFactory());
+      schemes.put(TupleScheme.class, new enableTable_argsTupleSchemeFactory());
     }
 
-    public BlurException ex; // required
+    /**
+     * the table name.
+     */
+    public String table; // required
 
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
-      EX((short)1, "ex");
+      /**
+       * the table name.
+       */
+      TABLE((short)1, "table");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -4972,8 +4790,8 @@ public class Blur {
        */
       public static _Fields findByThriftId(int fieldId) {
         switch(fieldId) {
-          case 1: // EX
-            return EX;
+          case 1: // TABLE
+            return TABLE;
           default:
             return null;
         }
@@ -5017,71 +4835,77 @@ public class Blur {
     public static final Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> metaDataMap;
     static {
       Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData>(_Fields.class);
-      tmpMap.put(_Fields.EX, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("ex", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-          new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT)));
+      tmpMap.put(_Fields.TABLE, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("table", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
+          new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
-      org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_result.class, metaDataMap);
+      org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_args.class, metaDataMap);
     }
 
-    public enableTable_result() {
+    public enableTable_args() {
     }
 
-    public enableTable_result(
-      BlurException ex)
+    public enableTable_args(
+      String table)
     {
       this();
-      this.ex = ex;
+      this.table = table;
     }
 
     /**
      * Performs a deep copy on <i>other</i>.
      */
-    public enableTable_result(enableTable_result other) {
-      if (other.isSetEx()) {
-        this.ex = new BlurException(other.ex);
+    public enableTable_args(enableTable_args other) {
+      if (other.isSetTable()) {
+        this.table = other.table;
       }
     }
 
-    public enableTable_result deepCopy() {
-      return new enableTable_result(this);
+    public enableTable_args deepCopy() {
+      return new enableTable_args(this);
     }
 
     @Override
     public void clear() {
-      this.ex = null;
+      this.table = null;
     }
 
-    public BlurException getEx() {
-      return this.ex;
+    /**
+     * the table name.
+     */
+    public String getTable() {
+      return this.table;
     }
 
-    public enableTable_result setEx(BlurException ex) {
-      this.ex = ex;
+    /**
+     * the table name.
+     */
+    public enableTable_args setTable(String table) {
+      this.table = table;
       return this;
     }
 
-    public void unsetEx() {
-      this.ex = null;
+    public void unsetTable() {
+      this.table = null;
     }
 
-    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-    public boolean isSetEx() {
-      return this.ex != 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 setExIsSet(boolean value) {
+    public void setTableIsSet(boolean value) {
       if (!value) {
-        this.ex = null;
+        this.table = null;
       }
     }
 
     public void setFieldValue(_Fields field, Object value) {
       switch (field) {
-      case EX:
+      case TABLE:
         if (value == null) {
-          unsetEx();
+          unsetTable();
         } else {
-          setEx((BlurException)value);
+          setTable((String)value);
         }
         break;
 
@@ -5090,8 +4914,8 @@ public class Blur {
 
     public Object getFieldValue(_Fields field) {
       switch (field) {
-      case EX:
-        return getEx();
+      case TABLE:
+        return getTable();
 
       }
       throw new IllegalStateException();
@@ -5104,8 +4928,8 @@ public class Blur {
       }
 
       switch (field) {
-      case EX:
-        return isSetEx();
+      case TABLE:
+        return isSetTable();
       }
       throw new IllegalStateException();
     }
@@ -5114,21 +4938,21 @@ public class Blur {
     public boolean equals(Object that) {
       if (that == null)
         return false;
-      if (that instanceof enableTable_result)
-        return this.equals((enableTable_result)that);
+      if (that instanceof enableTable_args)
+        return this.equals((enableTable_args)that);
       return false;
     }
 
-    public boolean equals(enableTable_result that) {
+    public boolean equals(enableTable_args that) {
       if (that == null)
         return false;
 
-      boolean this_present_ex = true && this.isSetEx();
-      boolean that_present_ex = true && that.isSetEx();
-      if (this_present_ex || that_present_ex) {
-        if (!(this_present_ex && that_present_ex))
+      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.ex.equals(that.ex))
+        if (!this.table.equals(that.table))
           return false;
       }
 
@@ -5140,20 +4964,20 @@ public class Blur {
       return 0;
     }
 
-    public int compareTo(enableTable_result other) {
+    public int compareTo(enableTable_args other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
 
       int lastComparison = 0;
-      enableTable_result typedOther = (enableTable_result)other;
+      enableTable_args typedOther = (enableTable_args)other;
 
-      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
+      lastComparison = Boolean.valueOf(isSetTable()).compareTo(typedOther.isSetTable());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetEx()) {
-        lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.ex, typedOther.ex);
+      if (isSetTable()) {
+        lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.table, typedOther.table);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -5171,18 +4995,18 @@ public class Blur {
 
     public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-      }
+    }
 
     @Override
     public String toString() {
-      StringBuilder sb = new StringBuilder("enableTable_result(");
+      StringBuilder sb = new StringBuilder("enableTable_args(");
       boolean first = true;
 
-      sb.append("ex:");
-      if (this.ex == null) {
+      sb.append("table:");
+      if (this.table == null) {
         sb.append("null");
       } else {
-        sb.append(this.ex);
+        sb.append(this.table);
       }
       first = false;
       sb.append(")");
@@ -5210,15 +5034,15 @@ public class Blur {
       }
     }
 
-    private static class enableTable_resultStandardSchemeFactory implements SchemeFactory {
-      public enableTable_resultStandardScheme getScheme() {
-        return new enableTable_resultStandardScheme();
+    private static class enableTable_argsStandardSchemeFactory implements SchemeFactory {
+      public enableTable_argsStandardScheme getScheme() {
+        return new enableTable_argsStandardScheme();
       }
     }
 
-    private static class enableTable_resultStandardScheme extends StandardScheme<enableTable_result> {
+    private static class enableTable_argsStandardScheme extends StandardScheme<enableTable_args> {
 
-      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot, enableTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot, enableTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField schemeField;
         iprot.readStructBegin();
         while (true)
@@ -5228,11 +5052,10 @@ public class Blur {
             break;
           }
           switch (schemeField.id) {
-            case 1: // EX
-              if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT) {
-                struct.ex = new BlurException();
-                struct.ex.read(iprot);
-                struct.setExIsSet(true);
+            case 1: // TABLE
+              if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING) {
+                struct.table = iprot.readString();
+                struct.setTableIsSet(true);
               } else { 
                 org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -5248,13 +5071,13 @@ public class Blur {
         struct.validate();
       }
 
-      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot, enableTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot, enableTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         struct.validate();
 
         oprot.writeStructBegin(STRUCT_DESC);
-        if (struct.ex != null) {
-          oprot.writeFieldBegin(EX_FIELD_DESC);
-          struct.ex.write(oprot);
+        if (struct.table != null) {
+          oprot.writeFieldBegin(TABLE_FIELD_DESC);
+          oprot.writeString(struct.table);
           oprot.writeFieldEnd();
         }
         oprot.writeFieldStop();
@@ -5263,63 +5086,56 @@ public class Blur {
 
     }
 
-    private static class enableTable_resultTupleSchemeFactory implements SchemeFactory {
-      public enableTable_resultTupleScheme getScheme() {
-        return new enableTable_resultTupleScheme();
+    private static class enableTable_argsTupleSchemeFactory implements SchemeFactory {
+      public enableTable_argsTupleScheme getScheme() {
+        return new enableTable_argsTupleScheme();
       }
     }
 
-    private static class enableTable_resultTupleScheme extends TupleScheme<enableTable_result> {
+    private static class enableTable_argsTupleScheme extends TupleScheme<enableTable_args> {
 
       @Override
-      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, enableTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, enableTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         TTupleProtocol oprot = (TTupleProtocol) prot;
         BitSet optionals = new BitSet();
-        if (struct.isSetEx()) {
+        if (struct.isSetTable()) {
           optionals.set(0);
         }
         oprot.writeBitSet(optionals, 1);
-        if (struct.isSetEx()) {
-          struct.ex.write(oprot);
+        if (struct.isSetTable()) {
+          oprot.writeString(struct.table);
         }
       }
 
       @Override
-      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, enableTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, enableTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         TTupleProtocol iprot = (TTupleProtocol) prot;
         BitSet incoming = iprot.readBitSet(1);
         if (incoming.get(0)) {
-          struct.ex = new BlurException();
-          struct.ex.read(iprot);
-          struct.setExIsSet(true);
+          struct.table = iprot.readString();
+          struct.setTableIsSet(true);
         }
       }
     }
 
   }
 
-  public static class disableTable_args implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<disableTable_args, disableTable_args._Fields>, java.io.Serializable, Cloneable   {
-    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("disableTable_args");
+  public static class enableTable_result implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<enableTable_result, enableTable_result._Fields>, java.io.Serializable, Cloneable   {
+    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("enableTable_result");
 
-    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField TABLE_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("table", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, (short)1);
+    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField EX_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("ex", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, (short)1);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
-      schemes.put(StandardScheme.class, new disableTable_argsStandardSchemeFactory());
-      schemes.put(TupleScheme.class, new disableTable_argsTupleSchemeFactory());
+      schemes.put(StandardScheme.class, new enableTable_resultStandardSchemeFactory());
+      schemes.put(TupleScheme.class, new enableTable_resultTupleSchemeFactory());
     }
 
-    /**
-     * the table name.
-     */
-    public String table; // required
+    public BlurException ex; // required
 
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
-      /**
-       * the table name.
-       */
-      TABLE((short)1, "table");
+      EX((short)1, "ex");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -5334,8 +5150,8 @@ public class Blur {
        */
       public static _Fields findByThriftId(int fieldId) {
         switch(fieldId) {
-          case 1: // TABLE
-            return TABLE;
+          case 1: // EX
+            return EX;
           default:
             return null;
         }
@@ -5379,77 +5195,71 @@ public class Blur {
     public static final Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> metaDataMap;
     static {
       Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData>(_Fields.class);
-      tmpMap.put(_Fields.TABLE, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("table", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-          new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING)));
+      tmpMap.put(_Fields.EX, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("ex", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
+          new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
-      org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(disableTable_args.class, metaDataMap);
+      org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(enableTable_result.class, metaDataMap);
     }
 
-    public disableTable_args() {
+    public enableTable_result() {
     }
 
-    public disableTable_args(
-      String table)
+    public enableTable_result(
+      BlurException ex)
     {
       this();
-      this.table = table;
+      this.ex = ex;
     }
 
     /**
      * Performs a deep copy on <i>other</i>.
      */
-    public disableTable_args(disableTable_args other) {
-      if (other.isSetTable()) {
-        this.table = other.table;
+    public enableTable_result(enableTable_result other) {
+      if (other.isSetEx()) {
+        this.ex = new BlurException(other.ex);
       }
     }
 
-    public disableTable_args deepCopy() {
-      return new disableTable_args(this);
+    public enableTable_result deepCopy() {
+      return new enableTable_result(this);
     }
 
     @Override
     public void clear() {
-      this.table = null;
+      this.ex = null;
     }
 
-    /**
-     * the table name.
-     */
-    public String getTable() {
-      return this.table;
+    public BlurException getEx() {
+      return this.ex;
     }
 
-    /**
-     * the table name.
-     */
-    public disableTable_args setTable(String table) {
-      this.table = table;
+    public enableTable_result setEx(BlurException ex) {
+      this.ex = ex;
       return this;
     }
 
-    public void unsetTable() {
-      this.table = null;
+    public void unsetEx() {
+      this.ex = null;
     }
 
-    /** Returns true if field table is set (has been assigned a value) and false otherwise */
-    public boolean isSetTable() {
-      return this.table != null;
+    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
+    public boolean isSetEx() {
+      return this.ex != null;
     }
 
-    public void setTableIsSet(boolean value) {
+    public void setExIsSet(boolean value) {
       if (!value) {
-        this.table = null;
+        this.ex = null;
       }
     }
 
     public void setFieldValue(_Fields field, Object value) {
       switch (field) {
-      case TABLE:
+      case EX:
         if (value == null) {
-          unsetTable();
+          unsetEx();
         } else {
-          setTable((String)value);
+          setEx((BlurException)value);
         }
         break;
 
@@ -5458,8 +5268,8 @@ public class Blur {
 
     public Object getFieldValue(_Fields field) {
       switch (field) {
-      case TABLE:
-        return getTable();
+      case EX:
+        return getEx();
 
       }
       throw new IllegalStateException();
@@ -5472,8 +5282,8 @@ public class Blur {
       }
 
       switch (field) {
-      case TABLE:
-        return isSetTable();
+      case EX:
+        return isSetEx();
       }
       throw new IllegalStateException();
     }
@@ -5482,21 +5292,21 @@ public class Blur {
     public boolean equals(Object that) {
       if (that == null)
         return false;
-      if (that instanceof disableTable_args)
-        return this.equals((disableTable_args)that);
+      if (that instanceof enableTable_result)
+        return this.equals((enableTable_result)that);
       return false;
     }
 
-    public boolean equals(disableTable_args that) {
+    public boolean equals(enableTable_result that) {
       if (that == null)
         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))
+      boolean this_present_ex = true && this.isSetEx();
+      boolean that_present_ex = true && that.isSetEx();
+      if (this_present_ex || that_present_ex) {
+        if (!(this_present_ex && that_present_ex))
           return false;
-        if (!this.table.equals(that.table))
+        if (!this.ex.equals(that.ex))
           return false;
       }
 
@@ -5508,20 +5318,20 @@ public class Blur {
       return 0;
     }
 
-    public int compareTo(disableTable_args other) {
+    public int compareTo(enableTable_result other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
 
       int lastComparison = 0;
-      disableTable_args typedOther = (disableTable_args)other;
+      enableTable_result typedOther = (enableTable_result)other;
 
-      lastComparison = Boolean.valueOf(isSetTable()).compareTo(typedOther.isSetTable());
+      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetTable()) {
-        lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.table, typedOther.table);
+      if (isSetEx()) {
+        lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.ex, typedOther.ex);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -5539,18 +5349,18 @@ public class Blur {
 
     public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-    }
+      }
 
     @Override
     public String toString() {
-      StringBuilder sb = new StringBuilder("disableTable_args(");
+      StringBuilder sb = new StringBuilder("enableTable_result(");
       boolean first = true;
 
-      sb.append("table:");
-      if (this.table == null) {
+      sb.append("ex:");
+      if (this.ex == null) {
         sb.append("null");
       } else {
-        sb.append(this.table);
+        sb.append(this.ex);
       }
       first = false;
       sb.append(")");
@@ -5578,15 +5388,15 @@ public class Blur {
       }
     }
 
-    private static class disableTable_argsStandardSchemeFactory implements SchemeFactory {
-      public disableTable_argsStandardScheme getScheme() {
-        return new disableTable_argsStandardScheme();
+    private static class enableTable_resultStandardSchemeFactory implements SchemeFactory {
+      public enableTable_resultStandardScheme getScheme() {
+        return new enableTable_resultStandardScheme();
       }
     }
 
-    private static class disableTable_argsStandardScheme extends StandardScheme<disableTable_args> {
+    private static class enableTable_resultStandardScheme extends StandardScheme<enableTable_result> {
 
-      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot, disableTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot, enableTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField schemeField;
         iprot.readStructBegin();
         while (true)
@@ -5596,10 +5406,11 @@ public class Blur {
             break;
           }
           switch (schemeField.id) {
-            case 1: // TABLE
-              if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING) {
-                struct.table = iprot.readString();
-                struct.setTableIsSet(true);
+            case 1: // EX
+              if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT) {
+                struct.ex = new BlurException();
+                struct.ex.read(iprot);
+                struct.setExIsSet(true);
               } else { 
                 org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -5615,13 +5426,13 @@ public class Blur {
         struct.validate();
       }
 
-      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot, disableTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot, enableTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         struct.validate();
 
         oprot.writeStructBegin(STRUCT_DESC);
-        if (struct.table != null) {
-          oprot.writeFieldBegin(TABLE_FIELD_DESC);
-          oprot.writeString(struct.table);
+        if (struct.ex != null) {
+          oprot.writeFieldBegin(EX_FIELD_DESC);
+          struct.ex.write(oprot);
           oprot.writeFieldEnd();
         }
         oprot.writeFieldStop();
@@ -5630,56 +5441,63 @@ public class Blur {
 
     }
 
-    private static class disableTable_argsTupleSchemeFactory implements SchemeFactory {
-      public disableTable_argsTupleScheme getScheme() {
-        return new disableTable_argsTupleScheme();
+    private static class enableTable_resultTupleSchemeFactory implements SchemeFactory {
+      public enableTable_resultTupleScheme getScheme() {
+        return new enableTable_resultTupleScheme();
       }
     }
 
-    private static class disableTable_argsTupleScheme extends TupleScheme<disableTable_args> {
+    private static class enableTable_resultTupleScheme extends TupleScheme<enableTable_result> {
 
       @Override
-      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, disableTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, enableTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         TTupleProtocol oprot = (TTupleProtocol) prot;
         BitSet optionals = new BitSet();
-        if (struct.isSetTable()) {
+        if (struct.isSetEx()) {
           optionals.set(0);
         }
         oprot.writeBitSet(optionals, 1);
-        if (struct.isSetTable()) {
-          oprot.writeString(struct.table);
+        if (struct.isSetEx()) {
+          struct.ex.write(oprot);
         }
       }
 
       @Override
-      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, disableTable_args struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, enableTable_result struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
         TTupleProtocol iprot = (TTupleProtocol) prot;
         BitSet incoming = iprot.readBitSet(1);
         if (incoming.get(0)) {
-          struct.table = iprot.readString();
-          struct.setTableIsSet(true);
+          struct.ex = new BlurException();
+          struct.ex.read(iprot);
+          struct.setExIsSet(true);
         }
       }
     }
 
   }
 
-  public static class disableTable_result implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<disableTable_result, disableTable_result._Fields>, java.io.Serializable, Cloneable   {
-    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("disableTable_result");
+  public static class disableTable_args implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<disableTable_args, disableTable_args._Fields>, java.io.Serializable, Cloneable   {
+    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("disableTable_args");
 
-    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField EX_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("ex", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, (short)1);
+    private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField TABLE_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("table", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, (short)1);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
-      schemes.put(StandardScheme.class, new disableTable_resultStandardSchemeFactory());
-      schemes.put(TupleScheme.class, new disableTable_resultTupleSchemeFactory());
+      schemes.put(StandardScheme.class, new disableTable_argsStandardSchemeFactory());
+      schemes.put(TupleScheme.class, new disableTable_argsTupleSchemeFactory());
     }
 
-    public BlurException ex; // required
+    /**
+     * the table name.
+     */
+    public String table; // required
 
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
-      EX((short)1, "ex");
+      /**
+       * the table name.
+       */
+      TABLE((short)1, "table");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -5694,8 +5512,368 @@ public class Blur {
        */
       public static _Fields findByThriftId(int fieldId) {
         switch(fieldId) {
-          case 1: // EX
-            return EX;
+          case 1: // TABLE
+            return TABLE;
+          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.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> metaDataMap;
+    static {
+      Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData>(_Fields.class);
+      tmpMap.put(_Fields.TABLE, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("table", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
+          new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING)));
+      metaDataMap = Collections.unmodifiableMap(tmpMap);
+      org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(disableTable_args.class, metaDataMap);
+    }
+
+    public disableTable_args() {
+    }
+
+    public disableTable_args(
+      String table)
+    {
+      this();
+      this.table = table;
+    }
+
+    /**
+     * Performs a deep copy on <i>other</i>.
+     */
+    public disableTable_args(disableTable_args other) {
+      if (other.isSetTable()) {
+        this.table = other.table;
+      }
+    }
+
+    public disableTable_args deepCopy() {
+      return new disableTable_args(this);
+    }
+
+    @Override
+    public void clear() {
+      this.table = null;
+    }
+
+    /**
+     * the table name.
+     */
+    public String getTable() {
+      return this.table;
+    }
+
+    /**
+     * the table name.
+     */
+    public disableTable_args 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;
+      }
+    }
+
+    public void setFieldValue(_Fields field, Object value) {
+      switch (field) {
+      case TABLE:
+        if (value == null) {
+          unsetTable

<TRUNCATED>

Mime
View raw message