see on GitHub

Operations: How to Update ETL

You can modify ETL task by using UpdateEtlOperation.

Syntax

public UpdateEtlOperation(long taskId, EtlConfiguration<T> configuration);

Parameters
taskId Long Current ETL task ID
configuration EtlConfiguration<T> ETL configuration where T is connection string type

Example

//store.maintenance().send(new AddEtlOperation<RavenConnectionString>(...));

RavenEtlConfiguration etlConfiguration = new RavenEtlConfiguration();
etlConfiguration.setConnectionStringName("raven-connection-string-name");
etlConfiguration.setName("Employees ETL");
Transformation transformation = new Transformation();
transformation.setName("Script #1");
transformation.setCollections(Arrays.asList("Employees"));
transformation.setScript("loadToEmployees ({\n" +
    "                        Name: this.FirstName + ' ' + this.LastName,\n" +
    "                            Title: this.Title\n" +
    "                    });");

etlConfiguration.setTransforms(Arrays.asList(transformation));

UpdateEtlOperation<RavenConnectionString> operation = new UpdateEtlOperation<>(
    addEtlResult.getTaskId(), etlConfiguration);
UpdateEtlOperationResult result = store.maintenance().send(operation);