Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

feat: add CONTAINS_KEY_LIKE operator #136

Merged
merged 2 commits into from
Jun 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ enum Operator {
LIKE = 15;
CONTAINS_KEY = 16;
CONTAINS_KEYVALUE = 17;
CONTAINS_KEY_LIKE = 18;
}

enum FunctionType {
Expand Down
4 changes: 2 additions & 2 deletions gateway-service-impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies {
api(project(":gateway-service-api"))
api(project(":gateway-service-baseline-lib"))

implementation("org.hypertrace.core.query.service:query-service-client:0.7.1")
implementation("org.hypertrace.core.query.service:query-service-client:0.8.0")
implementation("org.hypertrace.core.attribute.service:attribute-service-client:0.13.13")
implementation("org.hypertrace.entity.service:entity-service-client:0.8.27")
implementation("org.hypertrace.entity.service:entity-service-api:0.8.27")
Expand All @@ -25,7 +25,7 @@ dependencies {
// Common utilities
implementation("org.apache.commons:commons-lang3:3.12.0")
implementation("com.google.protobuf:protobuf-java-util:3.19.4")
implementation("com.google.guava:guava:30.1.1-jre")
implementation("com.google.guava:guava:31.0.1-jre")

implementation("com.fasterxml.jackson.core:jackson-annotations:2.13.2")
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.2.2")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@ public static Operator convertOperator(
return Operator.CONTAINS_KEY;
case CONTAINS_KEYVALUE:
return Operator.CONTAINS_KEYVALUE;
case CONTAINS_KEY_LIKE:
return Operator.CONTAINS_KEY_LIKE;
}
throw new IllegalArgumentException("Unsupported operator " + operator.name());
}
Expand Down