incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Williams <william...@gmail.com>
Subject Re: [2/9] git commit: Thrift api change.
Date Fri, 19 Dec 2014 11:47:15 GMT
On Thu, Dec 18, 2014 at 6:21 PM,  <amccurry@apache.org> wrote:
> Thrift api change.
>
>
> Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
> Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/f596e52c
> Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/f596e52c
> Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/f596e52c
>
> Branch: refs/heads/master
> Commit: f596e52ca31f7de7b322fd3ff6ccf106e4885302
> Parents: 0109002
> Author: Aaron McCurry <amccurry@gmail.com>
> Authored: Thu Dec 18 18:18:48 2014 -0500
> Committer: Aaron McCurry <amccurry@gmail.com>
> Committed: Thu Dec 18 18:18:48 2014 -0500
>
> ----------------------------------------------------------------------
>  .../src/main/scripts/interface/Blur.thrift      | 36 ++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/f596e52c/distribution/src/main/scripts/interface/Blur.thrift
> ----------------------------------------------------------------------
> diff --git a/distribution/src/main/scripts/interface/Blur.thrift b/distribution/src/main/scripts/interface/Blur.thrift
> index ad610db..6431d28 100644
> --- a/distribution/src/main/scripts/interface/Blur.thrift
> +++ b/distribution/src/main/scripts/interface/Blur.thrift
> @@ -1175,6 +1175,42 @@ service Blur {
>    ) throws (1:BlurException ex)
>
>    /**
> +   * Starts a transaction for update (e.g. Mutate).  Returns a transaction id.
> +   */
> +  void bulkMutateStart(
> +    /** The table name. */
> +    1:string table,
> +    /** The bulk id. */
> +    2:string bulkId
> +  ) throws (1:BlurException ex)
> +
> +  /**
> +   * Adds to the specified transaction.  The
> +   */
> +  void bulkMutateAdd(
> +    /** The table name. */
> +    1:string table,
> +    /** The bulk id. */
> +    2:string bulkId,
> +    /** The row mutation. */
> +    3:RowMutation rowMutation
> +  ) throws (1:BlurException ex)
> +
> +  /**
> +   * Finishes the bulk mutate.  If apply is true the mutations are applied and committed.
 If false the bulk mutate is deleted and not applied.
> +   */
> +  void bulkMutateFinish(
> +    /** The table name. */
> +    1:string table,
> +    /** The bulk id. */
> +    2:string bulkId,
> +    /** Apply the bulk mutate flag. */
> +    3:bool apply,

What is "applied" in "applied and committed"?  As opposed to, for
example, just 'bool commit' and "...are committed."

--tim

Mime
View raw message