public class BulkRecords extends Object
Record
in bulk services.Modifier and Type | Field and Description |
---|---|
protected static String |
KEY_SEPARATOR |
protected static String |
VALUE_SEPARATOR |
Modifier and Type | Method and Description |
---|---|
static String |
commandIdFrom(Record record) |
static List<String> |
docIdsFrom(Record record) |
static Record |
of(String commandId,
long currentCount,
List<String> documentIds) |
protected static final String KEY_SEPARATOR
protected static final String VALUE_SEPARATOR
public static Record of(String commandId, long currentCount, List<String> documentIds)
Record
containing document ids respecting bulk formatpublic static String commandIdFrom(Record record)
Record
public static List<String> docIdsFrom(Record record)
Copyright © 2018 Nuxeo. All rights reserved.