Skip to content

Commit d19907d

Browse files
committed
Resolve PR reviews
1 parent 2f5ae04 commit d19907d

File tree

1 file changed

+10
-0
lines changed
  • hypertrace-core-graphql-span-schema/src/main/java/org/hypertrace/core/graphql/span/joiner

1 file changed

+10
-0
lines changed

hypertrace-core-graphql-span-schema/src/main/java/org/hypertrace/core/graphql/span/joiner/SpanJoiner.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ public <T> Single<ListMultimap<T, Span>> joinSpans(
3232
}
3333
};
3434

35+
default <T> Single<Map<T, Span>> joinSpan(
36+
Collection<T> joinSources, SpanIdGetter<T> spanIdGetter) {
37+
return joinSpan(joinSources, spanIdGetter, Collections.emptyList());
38+
}
39+
40+
default <T> Single<ListMultimap<T, Span>> joinSpans(
41+
Collection<T> joinSources, MultipleSpanIdGetter<T> multipleSpanIdGetter) {
42+
return joinSpans(joinSources, multipleSpanIdGetter, Collections.emptyList());
43+
}
44+
3545
<T> Single<Map<T, Span>> joinSpan(
3646
Collection<T> joinSources,
3747
SpanIdGetter<T> spanIdGetter,

0 commit comments

Comments
 (0)