Skip to content

Commit

Permalink
Merge branch 'export.version.range' into sit.export.version.range
Browse files Browse the repository at this point in the history
  • Loading branch information
qGYdXbY2 committed May 10, 2024
2 parents 1b6fda6 + 5c26abf commit bc507bc
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ public class Export extends JDBCBasedJob<Export> {
private static final long UNKNOWN_MAX_SPACE_VERSION = -42;
@JsonView(Public.class)
private long maxSpaceVersion = UNKNOWN_MAX_SPACE_VERSION;
@JsonView(Public.class)
private long minSpaceVersion = UNKNOWN_MAX_SPACE_VERSION;

@JsonView(Public.class)
private long maxSuperSpaceVersion = UNKNOWN_MAX_SPACE_VERSION;
Expand Down Expand Up @@ -306,6 +308,7 @@ && getSource() instanceof Identifiable<?> identifiable
.compose(statistics ->{
//Set version of target space
setMaxSpaceVersion(statistics.getMaxVersion().getValue());
setMinSpaceVersion(statistics.getMinVersion().getValue());
return Future.succeededFuture(statistics);
});
})
Expand Down Expand Up @@ -1148,6 +1151,20 @@ public Export withMaxSuperSpaceVersion(long maxSuperSpaceVersion) {
return this;
}

public long getMinSpaceVersion() {
return minSpaceVersion;
}

public void setMinSpaceVersion(long minSpaceVersion) {
this.minSpaceVersion = minSpaceVersion;
}

public Export withMinSpaceVersion(long minSpaceVersion) {
setMinSpaceVersion(minSpaceVersion);
return this;
}


@Deprecated
public String getEmrJobId() {
return emrJobId;
Expand Down

0 comments on commit bc507bc

Please sign in to comment.