public class ElasticsearchBulkIndexOperation extends Object
Modifier and Type | Field and Description |
---|---|
protected BulkService |
bulkService |
protected OperationContext |
ctx |
protected ElasticSearchAdmin |
esa |
static String |
ID |
protected CoreSession |
session |
Constructor and Description |
---|
ElasticsearchBulkIndexOperation() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkAccess() |
Blob |
run() |
Blob |
run(String nxql) |
protected String |
submitBulkCommand(String nxql,
boolean syncAlias) |
public static final String ID
protected CoreSession session
protected OperationContext ctx
protected ElasticSearchAdmin esa
protected BulkService bulkService
public ElasticsearchBulkIndexOperation()
public Blob run() throws IOException
IOException
protected String submitBulkCommand(String nxql, boolean syncAlias)
protected void checkAccess()
public Blob run(String nxql) throws IOException
IOException
Copyright © 2019 Nuxeo. All rights reserved.