public static class IncrementalQueryAnalyzer.QueryContext extends Object
| Modifier and Type | Field and Description |
|---|---|
static IncrementalQueryAnalyzer.QueryContext |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
static IncrementalQueryAnalyzer.QueryContext |
create(String startInstant,
String endInstant,
List<String> instants,
List<HoodieInstant> archivedInstants,
List<HoodieInstant> activeInstants,
HoodieTimeline activeTimeline,
HoodieTimeline archivedTimeline) |
List<HoodieInstant> |
getActiveInstants() |
HoodieTimeline |
getActiveTimeline() |
List<HoodieInstant> |
getArchivedInstants() |
HoodieTimeline |
getArchivedTimeline() |
Option<String> |
getEndInstant() |
Option<InstantRange> |
getInstantRange() |
String |
getLastInstant()
Returns the latest instant time which should be included physically in reading.
|
String |
getMaxCompletionTime() |
Option<String> |
getStartInstant() |
boolean |
isConsumingFromEarliest() |
boolean |
isConsumingToLatest() |
boolean |
isEmpty() |
public static final IncrementalQueryAnalyzer.QueryContext EMPTY
public static IncrementalQueryAnalyzer.QueryContext create(@Nullable String startInstant, @Nullable String endInstant, List<String> instants, List<HoodieInstant> archivedInstants, List<HoodieInstant> activeInstants, HoodieTimeline activeTimeline, @Nullable HoodieTimeline archivedTimeline)
public boolean isEmpty()
public String getLastInstant()
public List<HoodieInstant> getArchivedInstants()
public List<HoodieInstant> getActiveInstants()
public boolean isConsumingFromEarliest()
public boolean isConsumingToLatest()
public String getMaxCompletionTime()
public Option<InstantRange> getInstantRange()
public HoodieTimeline getActiveTimeline()
@Nullable public HoodieTimeline getArchivedTimeline()
Copyright © 2024 The Apache Software Foundation. All rights reserved.