Skip to content

Commit 7fd5a3e

Browse files
refactor: expose not contains key operator (#129)
1 parent 73a8e8a commit 7fd5a3e

File tree

3 files changed

+5
-2
lines changed
  • hypertrace-core-graphql-common-schema/src/main/java/org/hypertrace/core/graphql/common/schema/results/arguments/filter
  • hypertrace-core-graphql-gateway-service-utils/src/main/java/org/hypertrace/core/graphql/utils/gateway
  • hypertrace-core-graphql-platform

3 files changed

+5
-2
lines changed

hypertrace-core-graphql-common-schema/src/main/java/org/hypertrace/core/graphql/common/schema/results/arguments/filter/FilterOperatorType.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ public enum FilterOperatorType {
1515
NOT_IN,
1616
CONTAINS_KEY,
1717
CONTAINS_KEY_VALUE,
18-
CONTAINS_KEY_LIKE;
18+
CONTAINS_KEY_LIKE,
19+
NOT_CONTAINS_KEY;
1920

2021
public static final String TYPE_NAME = "FilterOperatorType";
2122
}

hypertrace-core-graphql-gateway-service-utils/src/main/java/org/hypertrace/core/graphql/utils/gateway/OperatorConverter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ public Single<Operator> convert(FilterOperatorType filterOperatorType) {
3131
return Single.just(Operator.LIKE);
3232
case CONTAINS_KEY:
3333
return Single.just(Operator.CONTAINS_KEY);
34+
case NOT_CONTAINS_KEY:
35+
return Single.just(Operator.NOT_CONTAINS_KEY);
3436
case CONTAINS_KEY_VALUE:
3537
return Single.just(Operator.CONTAINS_KEYVALUE);
3638
case CONTAINS_KEY_LIKE:

hypertrace-core-graphql-platform/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies {
1616
api("org.hypertrace.core.grpcutils:grpc-client-utils:0.11.2")
1717
api("org.hypertrace.core.grpcutils:grpc-client-rx-utils:0.11.2")
1818
api("org.hypertrace.core.grpcutils:grpc-client-rx-utils:0.11.2")
19-
api("org.hypertrace.gateway.service:gateway-service-api:0.2.24")
19+
api("org.hypertrace.gateway.service:gateway-service-api:0.2.25")
2020
api("org.hypertrace.core.attribute.service:caching-attribute-service-client:${attributeServiceVersion}")
2121
api("org.hypertrace.core.attribute.service:attribute-service-api:${attributeServiceVersion}")
2222

0 commit comments

Comments
 (0)