Skip to content

Commit

Permalink
Fix GetBuilder and ScanBuilder (#2352)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnmt authored Nov 26, 2024
1 parent 436b6da commit cb0494d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
14 changes: 2 additions & 12 deletions core/src/main/java/com/scalar/db/api/GetBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -1033,21 +1033,11 @@ public static class BuildableGetFromExistingWithOngoingWhere
implements And<BuildableGetFromExistingWithOngoingWhereAnd>,
Or<BuildableGetFromExistingWithOngoingWhereOr> {

private BuildableGetFromExistingWithOngoingWhere(
BuildableGetOrGetWithIndexFromExisting buildable) {
super(buildable);
}

private BuildableGetFromExistingWithOngoingWhere(
BuildableGetOrGetWithIndexFromExisting buildable, ConditionalExpression condition) {
super(buildable, condition);
}

private BuildableGetFromExistingWithOngoingWhere(
BuildableGetFromExistingWithOngoingWhere buildable) {
super(buildable);
}

@Override
public BuildableGetFromExistingWithOngoingWhereAnd and(ConditionalExpression condition) {
checkNotNull(condition);
Expand Down Expand Up @@ -1078,7 +1068,7 @@ public BuildableGetFromExistingWithOngoingWhereOr or(AndConditionSet andConditio
}

public static class BuildableGetFromExistingWithOngoingWhereOr
extends BuildableGetFromExistingWithOngoingWhere
extends BuildableGetFromExistingWithWhere
implements Or<BuildableGetFromExistingWithOngoingWhereOr> {

private BuildableGetFromExistingWithOngoingWhereOr(
Expand Down Expand Up @@ -1114,7 +1104,7 @@ public BuildableGetFromExistingWithOngoingWhereOr or(AndConditionSet andConditio
}

public static class BuildableGetFromExistingWithOngoingWhereAnd
extends BuildableGetFromExistingWithOngoingWhere
extends BuildableGetFromExistingWithWhere
implements And<BuildableGetFromExistingWithOngoingWhereAnd> {

private BuildableGetFromExistingWithOngoingWhereAnd(
Expand Down
14 changes: 2 additions & 12 deletions core/src/main/java/com/scalar/db/api/ScanBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -1624,21 +1624,11 @@ public static class BuildableScanFromExistingWithOngoingWhere
implements And<BuildableScanFromExistingWithOngoingWhereAnd>,
Or<BuildableScanFromExistingWithOngoingWhereOr> {

private BuildableScanFromExistingWithOngoingWhere(
BuildableScanOrScanAllFromExisting buildable) {
super(buildable);
}

private BuildableScanFromExistingWithOngoingWhere(
BuildableScanOrScanAllFromExisting buildable, ConditionalExpression condition) {
super(buildable, condition);
}

private BuildableScanFromExistingWithOngoingWhere(
BuildableScanFromExistingWithOngoingWhere buildable) {
super(buildable);
}

@Override
public BuildableScanFromExistingWithOngoingWhereAnd and(ConditionalExpression condition) {
checkNotNull(condition);
Expand Down Expand Up @@ -1669,7 +1659,7 @@ public BuildableScanFromExistingWithOngoingWhereOr or(AndConditionSet andConditi
}

public static class BuildableScanFromExistingWithOngoingWhereOr
extends BuildableScanFromExistingWithOngoingWhere
extends BuildableScanFromExistingWithWhere
implements Or<BuildableScanFromExistingWithOngoingWhereOr> {

private BuildableScanFromExistingWithOngoingWhereOr(
Expand Down Expand Up @@ -1705,7 +1695,7 @@ public BuildableScanFromExistingWithOngoingWhereOr or(AndConditionSet andConditi
}

public static class BuildableScanFromExistingWithOngoingWhereAnd
extends BuildableScanFromExistingWithOngoingWhere
extends BuildableScanFromExistingWithWhere
implements And<BuildableScanFromExistingWithOngoingWhereAnd> {

private BuildableScanFromExistingWithOngoingWhereAnd(
Expand Down

0 comments on commit cb0494d

Please sign in to comment.