public class IncrementalReadOptions extends Object
This class allows configuration of incremental read settings including time ranges and version ranges for reading data incrementally.
Example usage:
IncrementalReadOptions options = IncrementalReadOptions.newBuilder()
.withMode("timestamp")
.withStartTimeStamp("2024-01-01 00:00:00")
.withEndTimeStamp("2024-01-02 00:00:00")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
IncrementalReadOptions.Builder
Builder class for constructing IncrementalReadOptions instances.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEndTimeStamp()
Gets the end timestamp.
|
long |
getEndVersion()
Gets the end version.
|
String |
getMode()
Gets the mode.
|
String |
getStartTimeStamp()
Gets the start timestamp.
|
long |
getStartVersion()
Gets the start version.
|
static IncrementalReadOptions.Builder |
newBuilder()
Creates a new builder for constructing IncrementalReadOptions instances.
|
public static IncrementalReadOptions.Builder newBuilder()
public String getEndTimeStamp()
public long getEndVersion()
public String getMode()
public String getStartTimeStamp()
public long getStartVersion()
Copyright © 2026 Alibaba Cloud Computing. All rights reserved.