public static final class BatchedWrite.Bundle extends Object
WriteOperation
it contains.Modifier | Constructor and Description |
---|---|
protected |
BatchedWrite.Bundle(Document command,
List<WriteOperation> writes)
Creates a new Bundle.
|
Modifier and Type | Method and Description |
---|---|
Document |
getCommand()
Returns the command containing the bundled write operations.
|
List<WriteOperation> |
getWrites()
Returns the writes that are bundled in the command.
|
protected BatchedWrite.Bundle(Document command, List<WriteOperation> writes)
command
- The command containing the bundled write operations.writes
- The writes that are bundled in the command.public Document getCommand()
public List<WriteOperation> getWrites()
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.