Class SettingsConfig.Builder
java.lang.Object
org.elasticsearch.client.transform.transforms.SettingsConfig.Builder
- Enclosing class:
- SettingsConfig
public static class SettingsConfig.Builder
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description SettingsConfig
build()
SettingsConfig.Builder
setMaxPageSearchSize(java.lang.Integer maxPageSearchSize)
Sets the paging maximum paging maxPageSearchSize that transform can use when pulling the data from the source index.SettingsConfig.Builder
setRequestsPerSecond(java.lang.Float docsPerSecond)
Sets the docs per second that transform can use when pulling the data from the source index.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setMaxPageSearchSize
Sets the paging maximum paging maxPageSearchSize that transform can use when pulling the data from the source index. If OOM is triggered, the paging maxPageSearchSize is dynamically reduced so that the transform can continue to gather data.- Parameters:
maxPageSearchSize
- Integer value between 10 and 10_000- Returns:
- the
SettingsConfig.Builder
with the paging maxPageSearchSize set.
-
setRequestsPerSecond
Sets the docs per second that transform can use when pulling the data from the source index. This setting throttles transform by issuing queries less often, however processing still happens in batches. A value of 0 disables throttling (default).- Parameters:
docsPerSecond
- Integer value- Returns:
- the
SettingsConfig.Builder
with requestsPerSecond set.
-
build
-