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 committed Nov 26, 2024
1 parent ce2e199 commit 85a968f
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 @@ -902,21 +902,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 @@ -947,7 +937,7 @@ public BuildableGetFromExistingWithOngoingWhereOr or(AndConditionSet andConditio
}

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

private BuildableGetFromExistingWithOngoingWhereOr(
Expand Down Expand Up @@ -983,7 +973,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 @@ -1465,21 +1465,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 @@ -1510,7 +1500,7 @@ public BuildableScanFromExistingWithOngoingWhereOr or(AndConditionSet andConditi
}

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

private BuildableScanFromExistingWithOngoingWhereOr(
Expand Down Expand Up @@ -1546,7 +1536,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 85a968f

Please sign in to comment.