Skip to content

Commit

Permalink
Merge branch '3.7-dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazcy committed Jul 17, 2024
2 parents f4b636c + 812bc1d commit 2bfd44b
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ This release also includes changes from <<release-3-6-8, 3.6.8>>.
* Fixed so that `TrimGlobalStep` and `TrimLocalStep` have the same character control handling as `Ltrim` and `Rtrim`
* Fix a bug in `MaxLocalStep`, `MinLocalStep`, `MeanLocalStep` and `SumLocalStep` that it throws `NoSuchElementException` when encounters an empty iterator as input.
* Fix cases where Map keys of incomparable types could panic in `gremlin-go`.
* Added getter method to `ConcatStep`, `ConjoinStep`, `SplitGlobalStep` and `SplitLocalStep` for their private fields.
[[release-3-7-2]]
=== TinkerPop 3.7.2 (April 8, 2024)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,14 @@ private String processStrings(final String[] concatStrings) {
return this.isNullString? null : sb.toString();
}

public List<String> getConcatStrings() {
return this.concatStrings;
}

public String getStringArgsResult() {
return this.stringArgsResult;
}

@Override
public Set<TraverserRequirement> getRequirements() {
return this.getSelfAndChildRequirements(TraverserRequirement.OBJECT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ protected String map(Traverser.Admin<S> traverser) {
}
}

public String getDelimiter() {
return this.delimiter;
}

@Override
public Set<TraverserRequirement> getRequirements() { return Collections.singleton(TraverserRequirement.OBJECT); }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ protected E map(final Traverser.Admin<S> traverser) {
return null == item? null : (E) Arrays.asList(StringUtils.splitByWholeSeparator((String) item, this.separator));
}

public String getSeparator() {
return this.separator;
}

@Override
public Set<TraverserRequirement> getRequirements() {
return Collections.singleton(TraverserRequirement.OBJECT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ protected E applyStringOperation(String item) {
@Override
public String getStepName() { return "split(local)"; }

public String getSeparator() {
return this.separator;
}

@Override
public int hashCode() {
int result = super.hashCode();
Expand Down

0 comments on commit 2bfd44b

Please sign in to comment.