|
11 | 11 | import lombok.experimental.Accessors; |
12 | 12 | import org.hypertrace.graphql.spanprocessing.schema.rule.filter.SpanProcessingFilterField; |
13 | 13 | import org.hypertrace.graphql.spanprocessing.schema.rule.filter.SpanProcessingLogicalFilter; |
14 | | -import org.hypertrace.graphql.spanprocessing.schema.rule.filter.SpanProcessingLogicalOperator; |
15 | 14 | import org.hypertrace.graphql.spanprocessing.schema.rule.filter.SpanProcessingRelationalFilter; |
16 | 15 | import org.hypertrace.graphql.spanprocessing.schema.rule.filter.SpanProcessingRelationalOperator; |
17 | 16 | import org.hypertrace.graphql.spanprocessing.schema.rule.filter.SpanProcessingRuleFilter; |
|
26 | 25 |
|
27 | 26 | public class ConfigServiceSpanFilterConverter { |
28 | 27 |
|
29 | | - private static final ImmutableBiMap<LogicalOperator, SpanProcessingLogicalOperator> |
| 28 | + private static final ImmutableBiMap< |
| 29 | + LogicalOperator, org.hypertrace.core.graphql.common.schema.operator.LogicalOperator> |
30 | 30 | LOGICAL_OPERATOR_OPERATOR_BI_MAP = |
31 | 31 | ImmutableBiMap.of( |
32 | 32 | LogicalOperator.LOGICAL_OPERATOR_AND, |
33 | | - SpanProcessingLogicalOperator.AND, |
| 33 | + org.hypertrace.core.graphql.common.schema.operator.LogicalOperator.AND, |
34 | 34 | LogicalOperator.LOGICAL_OPERATOR_OR, |
35 | | - SpanProcessingLogicalOperator.OR); |
| 35 | + org.hypertrace.core.graphql.common.schema.operator.LogicalOperator.OR); |
36 | 36 |
|
37 | | - private static final ImmutableBiMap<SpanProcessingLogicalOperator, LogicalOperator> |
| 37 | + private static final ImmutableBiMap< |
| 38 | + org.hypertrace.core.graphql.common.schema.operator.LogicalOperator, LogicalOperator> |
38 | 39 | OPERATOR_LOGICAL_OPERATOR_IMMUTABLE_BI_MAP = LOGICAL_OPERATOR_OPERATOR_BI_MAP.inverse(); |
39 | 40 |
|
40 | 41 | private static final ImmutableBiMap<RelationalOperator, SpanProcessingRelationalOperator> |
@@ -223,7 +224,7 @@ private static class ConvertedSpanProcessingRelationalFilter |
223 | 224 | @Value |
224 | 225 | @Accessors(fluent = true) |
225 | 226 | private static class ConvertedSpanProcessingLogicalFilter implements SpanProcessingLogicalFilter { |
226 | | - SpanProcessingLogicalOperator logicalOperator; |
| 227 | + org.hypertrace.core.graphql.common.schema.operator.LogicalOperator logicalOperator; |
227 | 228 | List<SpanProcessingRuleFilter> spanFilters; |
228 | 229 | } |
229 | 230 |
|
|
0 commit comments