Start of work for implementing WriteBatchWithIndex in the Java API