Expose Mutation.writeToWAL (available in newer Thrift versions) #36

Closed
wbolster opened this Issue Aug 28, 2013 · 1 comment

Projects

None yet

1 participant

@wbolster
Owner

Relevant Thrift API:

/**
 * A Mutation object is used to either update or delete a column-value.
 */
struct Mutation {
  1:bool isDelete = 0,
  2:Text column,
  3:Text value,
  4:bool writeToWAL = 1
}
@wbolster wbolster added a commit that referenced this issue Nov 3, 2013
@wbolster Expose Mutation.writeToWAL in .put(), .delete(), and batch()
Various data manipulation methods on Table and Batch instances now
support a 'wal' argument to influence whether the mutation is written to
the Write-Ahead Log. This is only supported in recent HBase version.

Fixes issue #36.
7cfb9ee
@wbolster
Owner
wbolster commented Nov 3, 2013

Various data manipulation methods now support a wal argument; see 7cfb9ee.

@wbolster wbolster closed this Nov 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment