Class Info |
|---|
public static class Builder Builder for UpdateOptions. |
Constructor Name |
|---|
Builder() Builder, which is used to create an UpdateOptions.Builder object. |
Qualifier and Type | Method Name and Description |
|---|---|
build() Builds and returns the instance. | |
UpdateOptions.Builder | setSampleSet(SampleSet sampleSet) Sets the sampling dataset for updating data. |
UpdateOptions.Builder | setTimeInterval(long startTime, long endTime, TimeUnit timeUnit) Sets the time interval for data update. |
Constructor |
|---|
public Builder() Builder, which is used to create an UpdateOptions.Builder object. |
Method |
|---|
public UpdateOptions build() Builds and returns the instance. |
Returns
Type | Description |
|---|---|
Builds and returns the instance. |
Method |
|---|
public UpdateOptions.Builder setSampleSet(SampleSet sampleSet) |
Sets the sampling dataset for updating data. |
Parameters
Name | Description |
|---|---|
sampleSet | Sampling dataset for updating data. |
Returns
Type | Description |
|---|---|
UpdateOptions.Builder | UpdateOptions.Builder object. |
Method |
|---|
public UpdateOptions.Builder setTimeInterval(long startTime, long endTime, TimeUnit timeUnit) Sets the time interval for data update. The start time must be greater than 0 and the end time must not be earlier than the start time. |
Parameters
Name | Description |
|---|---|
startTime | Start time. |
endTime | End time. |
timeUnit | Time unit. |
Returns
Type | Description |
|---|---|
UpdateOptions.Builder | UpdateOptions.Builder object. |