public static interface Statements.BatchUpdate
Modifier and Type | Method and Description |
---|---|
void |
insert(Map<String,Document> documentsById)
Inserts a bunch of documents into a table.
|
void |
remove(List<String> ids)
Removes a bunch of documents with a list of ids.
|
void |
update(Map<String,Document> documentsById)
Updates a bunch of documents from a table.
|
void insert(Map<String,Document> documentsById) throws SQLException
documentsById
- a Map
of documents keyed by their id; may not be null
SQLException
- if the operation fails.void update(Map<String,Document> documentsById) throws SQLException
documentsById
- a Map
of documents keyed by their id; may not be null
SQLException
- if the operation fails.void remove(List<String> ids) throws SQLException
ids@throws
- SQLException if the operation fails.SQLException
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.