Skip to content

Commit

Permalink
Update PipeConfigPhysicalPlanTreePatternParseVisitor.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Caideyipi committed Jan 25, 2025
1 parent 3ebe1ef commit 0c7c358
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,28 +166,28 @@ public Optional<ConfigPhysicalPlan> visitExtendSchemaTemplate(
@Override
public Optional<ConfigPhysicalPlan> visitGrantUser(
final AuthorTreePlan grantUserPlan, final IoTDBTreePattern pattern) {
return visitTreeAuthorTreePlan(grantUserPlan, pattern);
return visitTreeAuthorPlan(grantUserPlan, pattern);
}

@Override
public Optional<ConfigPhysicalPlan> visitRevokeUser(
final AuthorTreePlan revokeUserPlan, final IoTDBTreePattern pattern) {
return visitTreeAuthorTreePlan(revokeUserPlan, pattern);
return visitTreeAuthorPlan(revokeUserPlan, pattern);
}

@Override
public Optional<ConfigPhysicalPlan> visitGrantRole(
final AuthorTreePlan revokeUserPlan, final IoTDBTreePattern pattern) {
return visitTreeAuthorTreePlan(revokeUserPlan, pattern);
return visitTreeAuthorPlan(revokeUserPlan, pattern);
}

@Override
public Optional<ConfigPhysicalPlan> visitRevokeRole(
final AuthorTreePlan revokeUserPlan, final IoTDBTreePattern pattern) {
return visitTreeAuthorTreePlan(revokeUserPlan, pattern);
return visitTreeAuthorPlan(revokeUserPlan, pattern);
}

private Optional<ConfigPhysicalPlan> visitTreeAuthorTreePlan(
private Optional<ConfigPhysicalPlan> visitTreeAuthorPlan(
final AuthorTreePlan pathRelatedAuthorTreePlan, final IoTDBTreePattern pattern) {
final List<PartialPath> intersectedPaths =
pathRelatedAuthorTreePlan.getNodeNameList().stream()
Expand Down

0 comments on commit 0c7c358

Please sign in to comment.