incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [09/10] More documentation.
Date Sun, 18 Aug 2013 00:15:15 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d05d4ba2/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 26ac810..ac24fd2 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
@@ -58,56 +58,44 @@ public class Blur {
   public interface Iface {
 
     /**
-     * Returns a list of all the shard clusters.
-     * @return list of all the shard clusters.
+     * Creates a table with the given TableDescriptor.
+     * 
+     * @param tableDescriptor the TableDescriptor.
      */
-    public List<String> shardClusterList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void createTable(TableDescriptor tableDescriptor) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
-     * Returns a list of all the shard servers for the given cluster.
-     * @return list of all the shard servers within the cluster.
+     * Enables the given table, blocking until all shards are online.
      * 
-     * @param cluster the cluster name.
+     * @param table the table name.
      */
-    public List<String> shardServerList(String cluster) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void enableTable(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
-     * Returns a list of all the controller servers.
-     * @return list of all the controllers.
+     * Disables the given table, blocking until all shards are offline.
+     * 
+     * @param table the table name.
      */
-    public List<String> controllerServerList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void disableTable(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
-     * Returns a map of the layout of the given table, where the key is the shard name
-     * and the value is the shard server.<br><br>
-     * This method will return the "correct" layout for the given shard, or the
-     * "correct" layout of cluster if called on a controller.<br><br>
-     * The meaning of correct:<br>Given the current state of the shard cluster with failures taken
-     * into account, the correct layout is what the layout should be given the current state.  In
-     * other words, what the shard server should be serving.  The act of calling the shard
-     * server layout method with the NORMAL option will block until the layout shard server
-     * matches the correct layout.  Meaning it will block until indexes that should be open are
-     * open and ready for queries.  However indexes are lazily closed, so if a table is being
-     * disabled then the call will return immediately with an empty map, but the indexes may
-     * not be close yet.<br><br>
-     * @return map of shards in a table to the shard servers.
+     * Removes the given table, with an optional to delete the underlying index storage as well.
      * 
      * @param table the table name.
+     * 
+     * @param deleteIndexFiles true to remove the index storage and false if to preserve.
      */
-    public Map<String,String> shardServerLayout(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void removeTable(String table, boolean deleteIndexFiles) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
-     * Returns a map of the layout of the given table, where the key is the shard name and the
-     * value is the shard server.<br><br>
-     * This method will return immediately with what shards are currently
-     * open in the shard server.  So if a shard is being moved to another server and is being
-     * closed by this server it WILL be returned in the map.  The shardServerLayout method would not return
-     * the shard given the same situation.
-     * @return map of shards to a map of shard servers with the state of the shard.
+     * Attempts to add a column definition to the given table.
+     * @return true if successfully defined false if not.
      * 
-     * @param table the table name.
+     * @param table the name of the table.
+     * 
+     * @param columnDefinition the ColumnDefinition.
      */
-    public Map<String,Map<String,ShardState>> shardServerLayoutState(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public boolean addColumnDefinition(String table, ColumnDefinition columnDefinition) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
      * Returns a list of the table names across all shard clusters.
@@ -132,6 +120,64 @@ public class Blur {
     public TableDescriptor describe(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
+     * Gets the schema for a given table.
+     * @return Schema.
+     * 
+     * @param table the table name.
+     */
+    public Schema schema(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
+    /**
+     * Parses the given query and return the string represents the query.
+     * @return string representation of the parsed query.
+     * 
+     * @param table the table name.
+     * 
+     * @param simpleQuery the query to parse.
+     */
+    public String parseQuery(String table, SimpleQuery simpleQuery) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
+    /**
+     * Gets the table stats for the given table.
+     * @return TableStats.
+     * 
+     * @param table the table name.
+     */
+    public TableStats tableStats(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
+    /**
+     * Will perform a forced optimize on the index in the given table.
+     * 
+     * @param table table the name of the table.
+     * 
+     * @param numberOfSegmentsPerShard the maximum of segments per shard index after the operation is completed.
+     */
+    public void optimize(String table, int numberOfSegmentsPerShard) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
+    /**
+     * Creates a snapshot for the table with the given name
+     * 
+     * @param table
+     * @param name
+     */
+    public void createSnapshot(String table, String name) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
+    /**
+     * Removes a previous snapshot(identified by name) of the table
+     * 
+     * @param table
+     * @param name
+     */
+    public void removeSnapshot(String table, String name) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
+    /**
+     * Returns a map where the key is the shard, and the list is the snapshots within that shard
+     * 
+     * @param table
+     */
+    public Map<String,List<String>> listSnapshots(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
+    /**
      * Executes a query against a the given table and returns the results.  If this method is
      * executed against a controller the results will contain the aggregated results from all
      * the shards.  If this method is executed against a shard server the results will only
@@ -146,14 +192,28 @@ public class Blur {
     public BlurResults query(String table, BlurQuery blurQuery) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
-     * Parses the given query and return the string represents the query.
-     * @return string representation of the parsed query.
+     * Fetches a Row or a Record in the given table with the given Selector.
+     * @return the FetchResult.
      * 
      * @param table the table name.
      * 
-     * @param simpleQuery the query to parse.
+     * @param selector the Selector to use to fetch the Row or Record.
      */
-    public String parseQuery(String table, SimpleQuery simpleQuery) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public FetchResult fetchRow(String table, Selector selector) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
+    /**
+     * Mutates a Row given the RowMutation the is provided.
+     * 
+     * @param mutation the RowMutation.
+     */
+    public void mutate(RowMutation mutation) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
+    /**
+     * Mutates a group of Rows given the list of RowMutations that are provided.  Note: This is not an atomic operation.
+     * 
+     * @param mutations the batch of RowMutations.
+     */
+    public void mutateBatch(List<RowMutation> mutations) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
      * Cancels a query that is executing against the given table with the given uuid.  Note, the
@@ -184,22 +244,6 @@ public class Blur {
     public BlurQueryStatus queryStatusById(String table, long uuid) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
-     * Gets the schema for a given table.
-     * @return Schema.
-     * 
-     * @param table the table name.
-     */
-    public Schema schema(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
-
-    /**
-     * Gets the table stats for the given table.
-     * @return TableStats.
-     * 
-     * @param table the table name.
-     */
-    public TableStats tableStats(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
-
-    /**
      * Gets the terms list from the index for the given table, family, column using the
      * startWith value to page through the results.  This method only makes sense to use with
      * string and text field types.
@@ -232,77 +276,56 @@ public class Blur {
     public long recordFrequency(String table, String columnFamily, String columnName, String value) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
-     * Fetches a Row or a Record in the given table with the given Selector.
-     * @return the FetchResult.
-     * 
-     * @param table the table name.
-     * 
-     * @param selector the Selector to use to fetch the Row or Record.
-     */
-    public FetchResult fetchRow(String table, Selector selector) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
-
-    /**
-     * Mutates a Row given the RowMutation the is provided.
-     * 
-     * @param mutation the RowMutation.
-     */
-    public void mutate(RowMutation mutation) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
-
-    /**
-     * Mutates a group of Rows given the list of RowMutations that are provided.  Note: This is not an atomic operation.
-     * 
-     * @param mutations the batch of RowMutations.
+     * Returns a list of all the shard clusters.
+     * @return list of all the shard clusters.
      */
-    public void mutateBatch(List<RowMutation> mutations) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public List<String> shardClusterList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
-     * Creates a table with the given TableDescriptor.
+     * Returns a list of all the shard servers for the given cluster.
+     * @return list of all the shard servers within the cluster.
      * 
-     * @param tableDescriptor the TableDescriptor.
+     * @param cluster the cluster name.
      */
-    public void createTable(TableDescriptor tableDescriptor) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public List<String> shardServerList(String cluster) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
-     * Enables the given table, blocking until all shards are online.
-     * 
-     * @param table the table name.
+     * Returns a list of all the controller servers.
+     * @return list of all the controllers.
      */
-    public void enableTable(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public List<String> controllerServerList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
-     * Disables the given table, blocking until all shards are offline.
+     * Returns a map of the layout of the given table, where the key is the shard name
+     * and the value is the shard server.<br><br>
+     * This method will return the "correct" layout for the given shard, or the
+     * "correct" layout of cluster if called on a controller.<br><br>
+     * The meaning of correct:<br>Given the current state of the shard cluster with failures taken
+     * into account, the correct layout is what the layout should be given the current state.  In
+     * other words, what the shard server should be serving.  The act of calling the shard
+     * server layout method with the NORMAL option will block until the layout shard server
+     * matches the correct layout.  Meaning it will block until indexes that should be open are
+     * open and ready for queries.  However indexes are lazily closed, so if a table is being
+     * disabled then the call will return immediately with an empty map, but the indexes may
+     * not be close yet.<br><br>
+     * @return map of shards in a table to the shard servers.
      * 
      * @param table the table name.
      */
-    public void disableTable(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public Map<String,String> shardServerLayout(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
-     * Removes the given table, with an optional to delete the underlying index storage as well.
+     * Returns a map of the layout of the given table, where the key is the shard name and the
+     * value is the shard server.<br><br>
+     * This method will return immediately with what shards are currently
+     * open in the shard server.  So if a shard is being moved to another server and is being
+     * closed by this server it WILL be returned in the map.  The shardServerLayout method would not return
+     * the shard given the same situation.
+     * @return map of shards to a map of shard servers with the state of the shard.
      * 
      * @param table the table name.
-     * 
-     * @param deleteIndexFiles true to remove the index storage and false if to preserve.
-     */
-    public void removeTable(String table, boolean deleteIndexFiles) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
-
-    /**
-     * Attempts to add a column definition to the given table.
-     * @return true if successfully defined false if not.
-     * 
-     * @param table the name of the table.
-     * 
-     * @param columnDefinition the ColumnDefinition.
      */
-    public boolean addColumnDefinition(String table, ColumnDefinition columnDefinition) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
-
-    /**
-     * Will perform a forced optimize on the index in the given table.
-     * 
-     * @param table table the name of the table.
-     * 
-     * @param numberOfSegmentsPerShard the maximum of segments per shard index after the operation is completed.
-     */
-    public void optimize(String table, int numberOfSegmentsPerShard) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public Map<String,Map<String,ShardState>> shardServerLayoutState(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     /**
      * Checks to see if the given cluster is in safemode.
@@ -326,42 +349,19 @@ public class Blur {
      */
     public Map<String,Metric> metrics(Set<String> metrics) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    /**
-     * Creates a snapshot for the table with the given name
-     * 
-     * @param table
-     * @param name
-     */
-    public void createSnapshot(String table, String name) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+  }
 
-    /**
-     * Removes a previous snapshot(identified by name) of the table
-     * 
-     * @param table
-     * @param name
-     */
-    public void removeSnapshot(String table, String name) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
+  public interface AsyncIface {
 
-    /**
-     * Returns a map where the key is the shard, and the list is the snapshots within that shard
-     * 
-     * @param table
-     */
-    public Map<String,List<String>> listSnapshots(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException;
-
-  }
-
-  public interface AsyncIface {
-
-    public void shardClusterList(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.shardClusterList_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void createTable(TableDescriptor tableDescriptor, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.createTable_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void shardServerList(String cluster, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.shardServerList_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void enableTable(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.enableTable_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void controllerServerList(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.controllerServerList_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void disableTable(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.disableTable_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void shardServerLayout(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.shardServerLayout_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void removeTable(String table, boolean deleteIndexFiles, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.removeTable_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void shardServerLayoutState(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.shardServerLayoutState_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void addColumnDefinition(String table, ColumnDefinition columnDefinition, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.addColumnDefinition_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     public void tableList(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.tableList_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
@@ -369,23 +369,21 @@ public class Blur {
 
     public void describe(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.describe_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void query(String table, BlurQuery blurQuery, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.query_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void schema(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.schema_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     public void parseQuery(String table, SimpleQuery simpleQuery, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.parseQuery_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void cancelQuery(String table, long uuid, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.cancelQuery_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
-
-    public void queryStatusIdList(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.queryStatusIdList_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void tableStats(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.tableStats_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void queryStatusById(String table, long uuid, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.queryStatusById_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void optimize(String table, int numberOfSegmentsPerShard, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.optimize_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void schema(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.schema_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void createSnapshot(String table, String name, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.createSnapshot_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void tableStats(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.tableStats_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void removeSnapshot(String table, String name, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.removeSnapshot_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void terms(String table, String columnFamily, String columnName, String startWith, short size, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.terms_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void listSnapshots(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.listSnapshots_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void recordFrequency(String table, String columnFamily, String columnName, String value, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.recordFrequency_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void query(String table, BlurQuery blurQuery, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.query_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
     public void fetchRow(String table, Selector selector, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.fetchRow_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
@@ -393,29 +391,31 @@ public class Blur {
 
     public void mutateBatch(List<RowMutation> mutations, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.mutateBatch_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void createTable(TableDescriptor tableDescriptor, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.createTable_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void cancelQuery(String table, long uuid, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.cancelQuery_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void enableTable(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.enableTable_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void queryStatusIdList(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.queryStatusIdList_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void disableTable(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.disableTable_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void queryStatusById(String table, long uuid, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.queryStatusById_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void removeTable(String table, boolean deleteIndexFiles, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.removeTable_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void terms(String table, String columnFamily, String columnName, String startWith, short size, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.terms_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void addColumnDefinition(String table, ColumnDefinition columnDefinition, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.addColumnDefinition_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void recordFrequency(String table, String columnFamily, String columnName, String value, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.recordFrequency_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void optimize(String table, int numberOfSegmentsPerShard, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.optimize_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void shardClusterList(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.shardClusterList_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void isInSafeMode(String cluster, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.isInSafeMode_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void shardServerList(String cluster, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.shardServerList_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void configuration(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.configuration_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void controllerServerList(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.controllerServerList_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void metrics(Set<String> metrics, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.metrics_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void shardServerLayout(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.shardServerLayout_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void createSnapshot(String table, String name, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.createSnapshot_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void shardServerLayoutState(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.shardServerLayoutState_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void removeSnapshot(String table, String name, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.removeSnapshot_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void isInSafeMode(String cluster, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.isInSafeMode_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
-    public void listSnapshots(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.listSnapshots_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+    public void configuration(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.configuration_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
+
+    public void metrics(Set<String> metrics, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<AsyncClient.metrics_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException;
 
   }
 
@@ -439,132 +439,124 @@ public class Blur {
       super(iprot, oprot);
     }
 
-    public List<String> shardClusterList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void createTable(TableDescriptor tableDescriptor) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_shardClusterList();
-      return recv_shardClusterList();
+      send_createTable(tableDescriptor);
+      recv_createTable();
     }
 
-    public void send_shardClusterList() throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_createTable(TableDescriptor tableDescriptor) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      shardClusterList_args args = new shardClusterList_args();
-      sendBase("shardClusterList", args);
+      createTable_args args = new createTable_args();
+      args.setTableDescriptor(tableDescriptor);
+      sendBase("createTable", args);
     }
 
-    public List<String> recv_shardClusterList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void recv_createTable() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      shardClusterList_result result = new shardClusterList_result();
-      receiveBase(result, "shardClusterList");
-      if (result.isSetSuccess()) {
-        return result.success;
-      }
+      createTable_result result = new createTable_result();
+      receiveBase(result, "createTable");
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "shardClusterList failed: unknown result");
+      return;
     }
 
-    public List<String> shardServerList(String cluster) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void enableTable(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_shardServerList(cluster);
-      return recv_shardServerList();
+      send_enableTable(table);
+      recv_enableTable();
     }
 
-    public void send_shardServerList(String cluster) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_enableTable(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      shardServerList_args args = new shardServerList_args();
-      args.setCluster(cluster);
-      sendBase("shardServerList", args);
+      enableTable_args args = new enableTable_args();
+      args.setTable(table);
+      sendBase("enableTable", args);
     }
 
-    public List<String> recv_shardServerList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void recv_enableTable() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      shardServerList_result result = new shardServerList_result();
-      receiveBase(result, "shardServerList");
-      if (result.isSetSuccess()) {
-        return result.success;
-      }
+      enableTable_result result = new enableTable_result();
+      receiveBase(result, "enableTable");
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "shardServerList failed: unknown result");
+      return;
     }
 
-    public List<String> controllerServerList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void disableTable(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_controllerServerList();
-      return recv_controllerServerList();
+      send_disableTable(table);
+      recv_disableTable();
     }
 
-    public void send_controllerServerList() throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_disableTable(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      controllerServerList_args args = new controllerServerList_args();
-      sendBase("controllerServerList", args);
+      disableTable_args args = new disableTable_args();
+      args.setTable(table);
+      sendBase("disableTable", args);
     }
 
-    public List<String> recv_controllerServerList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void recv_disableTable() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      controllerServerList_result result = new controllerServerList_result();
-      receiveBase(result, "controllerServerList");
-      if (result.isSetSuccess()) {
-        return result.success;
-      }
+      disableTable_result result = new disableTable_result();
+      receiveBase(result, "disableTable");
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "controllerServerList failed: unknown result");
+      return;
     }
 
-    public Map<String,String> shardServerLayout(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void removeTable(String table, boolean deleteIndexFiles) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_shardServerLayout(table);
-      return recv_shardServerLayout();
+      send_removeTable(table, deleteIndexFiles);
+      recv_removeTable();
     }
 
-    public void send_shardServerLayout(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_removeTable(String table, boolean deleteIndexFiles) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      shardServerLayout_args args = new shardServerLayout_args();
+      removeTable_args args = new removeTable_args();
       args.setTable(table);
-      sendBase("shardServerLayout", args);
+      args.setDeleteIndexFiles(deleteIndexFiles);
+      sendBase("removeTable", args);
     }
 
-    public Map<String,String> recv_shardServerLayout() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void recv_removeTable() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      shardServerLayout_result result = new shardServerLayout_result();
-      receiveBase(result, "shardServerLayout");
-      if (result.isSetSuccess()) {
-        return result.success;
-      }
+      removeTable_result result = new removeTable_result();
+      receiveBase(result, "removeTable");
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "shardServerLayout failed: unknown result");
+      return;
     }
 
-    public Map<String,Map<String,ShardState>> shardServerLayoutState(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public boolean addColumnDefinition(String table, ColumnDefinition columnDefinition) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_shardServerLayoutState(table);
-      return recv_shardServerLayoutState();
+      send_addColumnDefinition(table, columnDefinition);
+      return recv_addColumnDefinition();
     }
 
-    public void send_shardServerLayoutState(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_addColumnDefinition(String table, ColumnDefinition columnDefinition) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      shardServerLayoutState_args args = new shardServerLayoutState_args();
+      addColumnDefinition_args args = new addColumnDefinition_args();
       args.setTable(table);
-      sendBase("shardServerLayoutState", args);
+      args.setColumnDefinition(columnDefinition);
+      sendBase("addColumnDefinition", args);
     }
 
-    public Map<String,Map<String,ShardState>> recv_shardServerLayoutState() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public boolean recv_addColumnDefinition() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      shardServerLayoutState_result result = new shardServerLayoutState_result();
-      receiveBase(result, "shardServerLayoutState");
+      addColumnDefinition_result result = new addColumnDefinition_result();
+      receiveBase(result, "addColumnDefinition");
       if (result.isSetSuccess()) {
         return result.success;
       }
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "shardServerLayoutState failed: unknown result");
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "addColumnDefinition failed: unknown result");
     }
 
     public List<String> tableList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
@@ -644,31 +636,30 @@ public class Blur {
       throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "describe failed: unknown result");
     }
 
-    public BlurResults query(String table, BlurQuery blurQuery) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public Schema schema(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_query(table, blurQuery);
-      return recv_query();
+      send_schema(table);
+      return recv_schema();
     }
 
-    public void send_query(String table, BlurQuery blurQuery) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_schema(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      query_args args = new query_args();
+      schema_args args = new schema_args();
       args.setTable(table);
-      args.setBlurQuery(blurQuery);
-      sendBase("query", args);
+      sendBase("schema", args);
     }
 
-    public BlurResults recv_query() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public Schema recv_schema() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      query_result result = new query_result();
-      receiveBase(result, "query");
+      schema_result result = new schema_result();
+      receiveBase(result, "schema");
       if (result.isSetSuccess()) {
         return result.success;
       }
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "query failed: unknown result");
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "schema failed: unknown result");
     }
 
     public String parseQuery(String table, SimpleQuery simpleQuery) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
@@ -698,192 +689,155 @@ public class Blur {
       throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "parseQuery failed: unknown result");
     }
 
-    public void cancelQuery(String table, long uuid) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public TableStats tableStats(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_cancelQuery(table, uuid);
-      recv_cancelQuery();
+      send_tableStats(table);
+      return recv_tableStats();
     }
 
-    public void send_cancelQuery(String table, long uuid) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_tableStats(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      cancelQuery_args args = new cancelQuery_args();
+      tableStats_args args = new tableStats_args();
       args.setTable(table);
-      args.setUuid(uuid);
-      sendBase("cancelQuery", args);
+      sendBase("tableStats", args);
     }
 
-    public void recv_cancelQuery() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public TableStats recv_tableStats() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      cancelQuery_result result = new cancelQuery_result();
-      receiveBase(result, "cancelQuery");
+      tableStats_result result = new tableStats_result();
+      receiveBase(result, "tableStats");
+      if (result.isSetSuccess()) {
+        return result.success;
+      }
       if (result.ex != null) {
         throw result.ex;
       }
-      return;
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "tableStats failed: unknown result");
     }
 
-    public List<Long> queryStatusIdList(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void optimize(String table, int numberOfSegmentsPerShard) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_queryStatusIdList(table);
-      return recv_queryStatusIdList();
+      send_optimize(table, numberOfSegmentsPerShard);
+      recv_optimize();
     }
 
-    public void send_queryStatusIdList(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_optimize(String table, int numberOfSegmentsPerShard) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      queryStatusIdList_args args = new queryStatusIdList_args();
+      optimize_args args = new optimize_args();
       args.setTable(table);
-      sendBase("queryStatusIdList", args);
+      args.setNumberOfSegmentsPerShard(numberOfSegmentsPerShard);
+      sendBase("optimize", args);
     }
 
-    public List<Long> recv_queryStatusIdList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void recv_optimize() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      queryStatusIdList_result result = new queryStatusIdList_result();
-      receiveBase(result, "queryStatusIdList");
-      if (result.isSetSuccess()) {
-        return result.success;
-      }
+      optimize_result result = new optimize_result();
+      receiveBase(result, "optimize");
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "queryStatusIdList failed: unknown result");
+      return;
     }
 
-    public BlurQueryStatus queryStatusById(String table, long uuid) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void createSnapshot(String table, String name) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_queryStatusById(table, uuid);
-      return recv_queryStatusById();
+      send_createSnapshot(table, name);
+      recv_createSnapshot();
     }
 
-    public void send_queryStatusById(String table, long uuid) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_createSnapshot(String table, String name) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      queryStatusById_args args = new queryStatusById_args();
+      createSnapshot_args args = new createSnapshot_args();
       args.setTable(table);
-      args.setUuid(uuid);
-      sendBase("queryStatusById", args);
-    }
-
-    public BlurQueryStatus recv_queryStatusById() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
-    {
-      queryStatusById_result result = new queryStatusById_result();
-      receiveBase(result, "queryStatusById");
-      if (result.isSetSuccess()) {
-        return result.success;
-      }
-      if (result.ex != null) {
-        throw result.ex;
-      }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "queryStatusById failed: unknown result");
-    }
-
-    public Schema schema(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
-    {
-      send_schema(table);
-      return recv_schema();
-    }
-
-    public void send_schema(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
-    {
-      schema_args args = new schema_args();
-      args.setTable(table);
-      sendBase("schema", args);
+      args.setName(name);
+      sendBase("createSnapshot", args);
     }
 
-    public Schema recv_schema() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void recv_createSnapshot() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      schema_result result = new schema_result();
-      receiveBase(result, "schema");
-      if (result.isSetSuccess()) {
-        return result.success;
-      }
+      createSnapshot_result result = new createSnapshot_result();
+      receiveBase(result, "createSnapshot");
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "schema failed: unknown result");
+      return;
     }
 
-    public TableStats tableStats(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void removeSnapshot(String table, String name) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_tableStats(table);
-      return recv_tableStats();
+      send_removeSnapshot(table, name);
+      recv_removeSnapshot();
     }
 
-    public void send_tableStats(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_removeSnapshot(String table, String name) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      tableStats_args args = new tableStats_args();
+      removeSnapshot_args args = new removeSnapshot_args();
       args.setTable(table);
-      sendBase("tableStats", args);
+      args.setName(name);
+      sendBase("removeSnapshot", args);
     }
 
-    public TableStats recv_tableStats() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void recv_removeSnapshot() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      tableStats_result result = new tableStats_result();
-      receiveBase(result, "tableStats");
-      if (result.isSetSuccess()) {
-        return result.success;
-      }
+      removeSnapshot_result result = new removeSnapshot_result();
+      receiveBase(result, "removeSnapshot");
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "tableStats failed: unknown result");
+      return;
     }
 
-    public List<String> terms(String table, String columnFamily, String columnName, String startWith, short size) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public Map<String,List<String>> listSnapshots(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_terms(table, columnFamily, columnName, startWith, size);
-      return recv_terms();
+      send_listSnapshots(table);
+      return recv_listSnapshots();
     }
 
-    public void send_terms(String table, String columnFamily, String columnName, String startWith, short size) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_listSnapshots(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      terms_args args = new terms_args();
+      listSnapshots_args args = new listSnapshots_args();
       args.setTable(table);
-      args.setColumnFamily(columnFamily);
-      args.setColumnName(columnName);
-      args.setStartWith(startWith);
-      args.setSize(size);
-      sendBase("terms", args);
+      sendBase("listSnapshots", args);
     }
 
-    public List<String> recv_terms() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public Map<String,List<String>> recv_listSnapshots() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      terms_result result = new terms_result();
-      receiveBase(result, "terms");
+      listSnapshots_result result = new listSnapshots_result();
+      receiveBase(result, "listSnapshots");
       if (result.isSetSuccess()) {
         return result.success;
       }
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "terms failed: unknown result");
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "listSnapshots failed: unknown result");
     }
 
-    public long recordFrequency(String table, String columnFamily, String columnName, String value) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public BlurResults query(String table, BlurQuery blurQuery) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_recordFrequency(table, columnFamily, columnName, value);
-      return recv_recordFrequency();
+      send_query(table, blurQuery);
+      return recv_query();
     }
 
-    public void send_recordFrequency(String table, String columnFamily, String columnName, String value) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_query(String table, BlurQuery blurQuery) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      recordFrequency_args args = new recordFrequency_args();
+      query_args args = new query_args();
       args.setTable(table);
-      args.setColumnFamily(columnFamily);
-      args.setColumnName(columnName);
-      args.setValue(value);
-      sendBase("recordFrequency", args);
+      args.setBlurQuery(blurQuery);
+      sendBase("query", args);
     }
 
-    public long recv_recordFrequency() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public BlurResults recv_query() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      recordFrequency_result result = new recordFrequency_result();
-      receiveBase(result, "recordFrequency");
+      query_result result = new query_result();
+      receiveBase(result, "query");
       if (result.isSetSuccess()) {
         return result.success;
       }
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "recordFrequency failed: unknown result");
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "query failed: unknown result");
     }
 
     public FetchResult fetchRow(String table, Selector selector) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
@@ -959,299 +913,345 @@ public class Blur {
       return;
     }
 
-    public void createTable(TableDescriptor tableDescriptor) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void cancelQuery(String table, long uuid) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_createTable(tableDescriptor);
-      recv_createTable();
+      send_cancelQuery(table, uuid);
+      recv_cancelQuery();
     }
 
-    public void send_createTable(TableDescriptor tableDescriptor) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_cancelQuery(String table, long uuid) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      createTable_args args = new createTable_args();
-      args.setTableDescriptor(tableDescriptor);
-      sendBase("createTable", args);
+      cancelQuery_args args = new cancelQuery_args();
+      args.setTable(table);
+      args.setUuid(uuid);
+      sendBase("cancelQuery", args);
     }
 
-    public void recv_createTable() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void recv_cancelQuery() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      createTable_result result = new createTable_result();
-      receiveBase(result, "createTable");
+      cancelQuery_result result = new cancelQuery_result();
+      receiveBase(result, "cancelQuery");
       if (result.ex != null) {
         throw result.ex;
       }
       return;
     }
 
-    public void enableTable(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public List<Long> queryStatusIdList(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_enableTable(table);
-      recv_enableTable();
+      send_queryStatusIdList(table);
+      return recv_queryStatusIdList();
     }
 
-    public void send_enableTable(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_queryStatusIdList(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      enableTable_args args = new enableTable_args();
+      queryStatusIdList_args args = new queryStatusIdList_args();
       args.setTable(table);
-      sendBase("enableTable", args);
+      sendBase("queryStatusIdList", args);
     }
 
-    public void recv_enableTable() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public List<Long> recv_queryStatusIdList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      enableTable_result result = new enableTable_result();
-      receiveBase(result, "enableTable");
+      queryStatusIdList_result result = new queryStatusIdList_result();
+      receiveBase(result, "queryStatusIdList");
+      if (result.isSetSuccess()) {
+        return result.success;
+      }
       if (result.ex != null) {
         throw result.ex;
       }
-      return;
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "queryStatusIdList failed: unknown result");
     }
 
-    public void disableTable(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public BlurQueryStatus queryStatusById(String table, long uuid) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_disableTable(table);
-      recv_disableTable();
+      send_queryStatusById(table, uuid);
+      return recv_queryStatusById();
     }
 
-    public void send_disableTable(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_queryStatusById(String table, long uuid) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      disableTable_args args = new disableTable_args();
+      queryStatusById_args args = new queryStatusById_args();
       args.setTable(table);
-      sendBase("disableTable", args);
+      args.setUuid(uuid);
+      sendBase("queryStatusById", args);
     }
 
-    public void recv_disableTable() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public BlurQueryStatus recv_queryStatusById() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      disableTable_result result = new disableTable_result();
-      receiveBase(result, "disableTable");
+      queryStatusById_result result = new queryStatusById_result();
+      receiveBase(result, "queryStatusById");
+      if (result.isSetSuccess()) {
+        return result.success;
+      }
       if (result.ex != null) {
         throw result.ex;
       }
-      return;
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "queryStatusById failed: unknown result");
     }
 
-    public void removeTable(String table, boolean deleteIndexFiles) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public List<String> terms(String table, String columnFamily, String columnName, String startWith, short size) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_removeTable(table, deleteIndexFiles);
-      recv_removeTable();
+      send_terms(table, columnFamily, columnName, startWith, size);
+      return recv_terms();
     }
 
-    public void send_removeTable(String table, boolean deleteIndexFiles) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_terms(String table, String columnFamily, String columnName, String startWith, short size) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      removeTable_args args = new removeTable_args();
+      terms_args args = new terms_args();
       args.setTable(table);
-      args.setDeleteIndexFiles(deleteIndexFiles);
-      sendBase("removeTable", args);
+      args.setColumnFamily(columnFamily);
+      args.setColumnName(columnName);
+      args.setStartWith(startWith);
+      args.setSize(size);
+      sendBase("terms", args);
     }
 
-    public void recv_removeTable() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public List<String> recv_terms() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      removeTable_result result = new removeTable_result();
-      receiveBase(result, "removeTable");
+      terms_result result = new terms_result();
+      receiveBase(result, "terms");
+      if (result.isSetSuccess()) {
+        return result.success;
+      }
       if (result.ex != null) {
         throw result.ex;
       }
-      return;
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "terms failed: unknown result");
     }
 
-    public boolean addColumnDefinition(String table, ColumnDefinition columnDefinition) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public long recordFrequency(String table, String columnFamily, String columnName, String value) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_addColumnDefinition(table, columnDefinition);
-      return recv_addColumnDefinition();
+      send_recordFrequency(table, columnFamily, columnName, value);
+      return recv_recordFrequency();
     }
 
-    public void send_addColumnDefinition(String table, ColumnDefinition columnDefinition) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_recordFrequency(String table, String columnFamily, String columnName, String value) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      addColumnDefinition_args args = new addColumnDefinition_args();
+      recordFrequency_args args = new recordFrequency_args();
       args.setTable(table);
-      args.setColumnDefinition(columnDefinition);
-      sendBase("addColumnDefinition", args);
+      args.setColumnFamily(columnFamily);
+      args.setColumnName(columnName);
+      args.setValue(value);
+      sendBase("recordFrequency", args);
     }
 
-    public boolean recv_addColumnDefinition() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public long recv_recordFrequency() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      addColumnDefinition_result result = new addColumnDefinition_result();
-      receiveBase(result, "addColumnDefinition");
+      recordFrequency_result result = new recordFrequency_result();
+      receiveBase(result, "recordFrequency");
       if (result.isSetSuccess()) {
         return result.success;
       }
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "addColumnDefinition failed: unknown result");
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "recordFrequency failed: unknown result");
     }
 
-    public void optimize(String table, int numberOfSegmentsPerShard) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public List<String> shardClusterList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_optimize(table, numberOfSegmentsPerShard);
-      recv_optimize();
+      send_shardClusterList();
+      return recv_shardClusterList();
     }
 
-    public void send_optimize(String table, int numberOfSegmentsPerShard) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_shardClusterList() throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      optimize_args args = new optimize_args();
-      args.setTable(table);
-      args.setNumberOfSegmentsPerShard(numberOfSegmentsPerShard);
-      sendBase("optimize", args);
+      shardClusterList_args args = new shardClusterList_args();
+      sendBase("shardClusterList", args);
     }
 
-    public void recv_optimize() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public List<String> recv_shardClusterList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      optimize_result result = new optimize_result();
-      receiveBase(result, "optimize");
+      shardClusterList_result result = new shardClusterList_result();
+      receiveBase(result, "shardClusterList");
+      if (result.isSetSuccess()) {
+        return result.success;
+      }
       if (result.ex != null) {
         throw result.ex;
       }
-      return;
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "shardClusterList failed: unknown result");
     }
 
-    public boolean isInSafeMode(String cluster) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public List<String> shardServerList(String cluster) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_isInSafeMode(cluster);
-      return recv_isInSafeMode();
+      send_shardServerList(cluster);
+      return recv_shardServerList();
     }
 
-    public void send_isInSafeMode(String cluster) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_shardServerList(String cluster) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      isInSafeMode_args args = new isInSafeMode_args();
+      shardServerList_args args = new shardServerList_args();
       args.setCluster(cluster);
-      sendBase("isInSafeMode", args);
+      sendBase("shardServerList", args);
     }
 
-    public boolean recv_isInSafeMode() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public List<String> recv_shardServerList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      isInSafeMode_result result = new isInSafeMode_result();
-      receiveBase(result, "isInSafeMode");
+      shardServerList_result result = new shardServerList_result();
+      receiveBase(result, "shardServerList");
       if (result.isSetSuccess()) {
         return result.success;
       }
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "isInSafeMode failed: unknown result");
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "shardServerList failed: unknown result");
     }
 
-    public Map<String,String> configuration() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public List<String> controllerServerList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_configuration();
-      return recv_configuration();
+      send_controllerServerList();
+      return recv_controllerServerList();
     }
 
-    public void send_configuration() throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_controllerServerList() throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      configuration_args args = new configuration_args();
-      sendBase("configuration", args);
+      controllerServerList_args args = new controllerServerList_args();
+      sendBase("controllerServerList", args);
     }
 
-    public Map<String,String> recv_configuration() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public List<String> recv_controllerServerList() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      configuration_result result = new configuration_result();
-      receiveBase(result, "configuration");
+      controllerServerList_result result = new controllerServerList_result();
+      receiveBase(result, "controllerServerList");
       if (result.isSetSuccess()) {
         return result.success;
       }
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "configuration failed: unknown result");
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "controllerServerList failed: unknown result");
     }
 
-    public Map<String,Metric> metrics(Set<String> metrics) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public Map<String,String> shardServerLayout(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_metrics(metrics);
-      return recv_metrics();
+      send_shardServerLayout(table);
+      return recv_shardServerLayout();
     }
 
-    public void send_metrics(Set<String> metrics) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_shardServerLayout(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      metrics_args args = new metrics_args();
-      args.setMetrics(metrics);
-      sendBase("metrics", args);
+      shardServerLayout_args args = new shardServerLayout_args();
+      args.setTable(table);
+      sendBase("shardServerLayout", args);
     }
 
-    public Map<String,Metric> recv_metrics() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public Map<String,String> recv_shardServerLayout() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      metrics_result result = new metrics_result();
-      receiveBase(result, "metrics");
+      shardServerLayout_result result = new shardServerLayout_result();
+      receiveBase(result, "shardServerLayout");
       if (result.isSetSuccess()) {
         return result.success;
       }
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "metrics failed: unknown result");
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "shardServerLayout failed: unknown result");
     }
 
-    public void createSnapshot(String table, String name) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public Map<String,Map<String,ShardState>> shardServerLayoutState(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_createSnapshot(table, name);
-      recv_createSnapshot();
+      send_shardServerLayoutState(table);
+      return recv_shardServerLayoutState();
     }
 
-    public void send_createSnapshot(String table, String name) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_shardServerLayoutState(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      createSnapshot_args args = new createSnapshot_args();
+      shardServerLayoutState_args args = new shardServerLayoutState_args();
       args.setTable(table);
-      args.setName(name);
-      sendBase("createSnapshot", args);
+      sendBase("shardServerLayoutState", args);
     }
 
-    public void recv_createSnapshot() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public Map<String,Map<String,ShardState>> recv_shardServerLayoutState() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      createSnapshot_result result = new createSnapshot_result();
-      receiveBase(result, "createSnapshot");
+      shardServerLayoutState_result result = new shardServerLayoutState_result();
+      receiveBase(result, "shardServerLayoutState");
+      if (result.isSetSuccess()) {
+        return result.success;
+      }
       if (result.ex != null) {
         throw result.ex;
       }
-      return;
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "shardServerLayoutState failed: unknown result");
     }
 
-    public void removeSnapshot(String table, String name) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public boolean isInSafeMode(String cluster) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_removeSnapshot(table, name);
-      recv_removeSnapshot();
+      send_isInSafeMode(cluster);
+      return recv_isInSafeMode();
     }
 
-    public void send_removeSnapshot(String table, String name) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_isInSafeMode(String cluster) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      removeSnapshot_args args = new removeSnapshot_args();
-      args.setTable(table);
-      args.setName(name);
-      sendBase("removeSnapshot", args);
+      isInSafeMode_args args = new isInSafeMode_args();
+      args.setCluster(cluster);
+      sendBase("isInSafeMode", args);
     }
 
-    public void recv_removeSnapshot() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public boolean recv_isInSafeMode() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      removeSnapshot_result result = new removeSnapshot_result();
-      receiveBase(result, "removeSnapshot");
+      isInSafeMode_result result = new isInSafeMode_result();
+      receiveBase(result, "isInSafeMode");
+      if (result.isSetSuccess()) {
+        return result.success;
+      }
       if (result.ex != null) {
         throw result.ex;
       }
-      return;
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "isInSafeMode failed: unknown result");
     }
 
-    public Map<String,List<String>> listSnapshots(String table) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public Map<String,String> configuration() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      send_listSnapshots(table);
-      return recv_listSnapshots();
+      send_configuration();
+      return recv_configuration();
     }
 
-    public void send_listSnapshots(String table) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public void send_configuration() throws org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      listSnapshots_args args = new listSnapshots_args();
-      args.setTable(table);
-      sendBase("listSnapshots", args);
+      configuration_args args = new configuration_args();
+      sendBase("configuration", args);
     }
 
-    public Map<String,List<String>> recv_listSnapshots() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    public Map<String,String> recv_configuration() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
     {
-      listSnapshots_result result = new listSnapshots_result();
-      receiveBase(result, "listSnapshots");
+      configuration_result result = new configuration_result();
+      receiveBase(result, "configuration");
       if (result.isSetSuccess()) {
         return result.success;
       }
       if (result.ex != null) {
         throw result.ex;
       }
-      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "listSnapshots failed: unknown result");
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "configuration failed: unknown result");
+    }
+
+    public Map<String,Metric> metrics(Set<String> metrics) throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    {
+      send_metrics(metrics);
+      return recv_metrics();
+    }
+
+    public void send_metrics(Set<String> metrics) throws org.apache.blur.thirdparty.thrift_0_9_0.TException
+    {
+      metrics_args args = new metrics_args();
+      args.setMetrics(metrics);
+      sendBase("metrics", args);
+    }
+
+    public Map<String,Metric> recv_metrics() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException
+    {
+      metrics_result result = new metrics_result();
+      receiveBase(result, "metrics");
+      if (result.isSetSuccess()) {
+        return result.success;
+      }
+      if (result.ex != null) {
+        throw result.ex;
+      }
+      throw new org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException(org.apache.blur.thirdparty.thrift_0_9_0.TApplicationException.MISSING_RESULT, "metrics failed: unknown result");
     }
 
   }
@@ -1272,157 +1272,169 @@ public class Blur {
       super(protocolFactory, clientManager, transport);
     }
 
-    public void shardClusterList(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<shardClusterList_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+    public void createTable(TableDescriptor tableDescriptor, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<createTable_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       checkReady();
-      shardClusterList_call method_call = new shardClusterList_call(resultHandler, this, ___protocolFactory, ___transport);
+      createTable_call method_call = new createTable_call(tableDescriptor, resultHandler, this, ___protocolFactory, ___transport);
       this.___currentMethod = method_call;
       ___manager.call(method_call);
     }
 
-    public static class shardClusterList_call extends org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncMethodCall {
-      public shardClusterList_call(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<shardClusterList_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 {
+    public static class createTable_call extends org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncMethodCall {
+      private TableDescriptor tableDescriptor;
+      public createTable_call(TableDescriptor tableDescriptor, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<createTable_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.tableDescriptor = tableDescriptor;
       }
 
       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("shardClusterList", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessageType.CALL, 0));
-        shardClusterList_args args = new shardClusterList_args();
+        prot.writeMessageBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessage("createTable", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessageType.CALL, 0));
+        createTable_args args = new createTable_args();
+        args.setTableDescriptor(tableDescriptor);
         args.write(prot);
         prot.writeMessageEnd();
       }
 
-      public List<String> getResult() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      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);
-        return (new Client(prot)).recv_shardClusterList();
+        (new Client(prot)).recv_createTable();
       }
     }
 
-    public void shardServerList(String cluster, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<shardServerList_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+    public void enableTable(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<enableTable_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       checkReady();
-      shardServerList_call method_call = new shardServerList_call(cluster, resultHandler, this, ___protocolFactory, ___transport);
+      enableTable_call method_call = new enableTable_call(table, resultHandler, this, ___protocolFactory, ___transport);
       this.___currentMethod = method_call;
       ___manager.call(method_call);
     }
 
-    public static class shardServerList_call extends org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncMethodCall {
-      private String cluster;
-      public shardServerList_call(String cluster, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<shardServerList_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 {
+    public static class enableTable_call extends org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncMethodCall {
+      private String table;
+      public enableTable_call(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<enableTable_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.cluster = cluster;
+        this.table = table;
       }
 
       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("shardServerList", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessageType.CALL, 0));
-        shardServerList_args args = new shardServerList_args();
-        args.setCluster(cluster);
+        prot.writeMessageBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessage("enableTable", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessageType.CALL, 0));
+        enableTable_args args = new enableTable_args();
+        args.setTable(table);
         args.write(prot);
         prot.writeMessageEnd();
       }
 
-      public List<String> getResult() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      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);
-        return (new Client(prot)).recv_shardServerList();
+        (new Client(prot)).recv_enableTable();
       }
     }
 
-    public void controllerServerList(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<controllerServerList_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+    public void disableTable(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<disableTable_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       checkReady();
-      controllerServerList_call method_call = new controllerServerList_call(resultHandler, this, ___protocolFactory, ___transport);
+      disableTable_call method_call = new disableTable_call(table, resultHandler, this, ___protocolFactory, ___transport);
       this.___currentMethod = method_call;
       ___manager.call(method_call);
     }
 
-    public static class controllerServerList_call extends org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncMethodCall {
-      public controllerServerList_call(org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<controllerServerList_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 {
+    public static class disableTable_call extends org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncMethodCall {
+      private String table;
+      public disableTable_call(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<disableTable_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.table = table;
       }
 
       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("controllerServerList", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessageType.CALL, 0));
-        controllerServerList_args args = new controllerServerList_args();
+        prot.writeMessageBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessage("disableTable", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessageType.CALL, 0));
+        disableTable_args args = new disableTable_args();
+        args.setTable(table);
         args.write(prot);
         prot.writeMessageEnd();
       }
 
-      public List<String> getResult() throws BlurException, org.apache.blur.thirdparty.thrift_0_9_0.TException {
+      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);
-        return (new Client(prot)).recv_controllerServerList();
+        (new Client(prot)).recv_disableTable();
       }
     }
 
-    public void shardServerLayout(String table, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<shardServerLayout_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
+    public void removeTable(String table, boolean deleteIndexFiles, org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback<removeTable_call> resultHandler) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       checkReady();
-      shardServerLayout_call method_call = new shardServerLayout_call(table, resultHandler, this, ___protocolFactory, ___transport);
+      removeTable_call method_call = new removeTable_call(table, deleteIndexFiles, resultHandler, this, ___protocolFactory, ___transport);
       this.___currentMethod = metho

<TRUNCATED>

Mime
View raw message