gchq / Gaffer

A large-scale entity and relation database supporting aggregation of properties
Apache License 2.0
1.75k stars 354 forks source link

Gh-3234: TypeSubTypeValue Seeded Query Support in GafferPop #3235

Closed tb06904 closed 3 weeks ago

tb06904 commented 3 weeks ago

Adds basic support for seeding queries in GafferPop with TypeSubTypeValues by parsing specific string formats separated via a | to construct the correct object to seed the query with.

As an example g.V("t:type|st:sub|v:value") -> new TypeSubTypeValue("type", "sub", "value")

Related issue

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.

Project coverage is 67.03%. Comparing base (cb343aa) to head (8d7c442).

Files Patch % Lines
...a/uk/gov/gchq/gaffer/tinkerpop/GafferPopGraph.java 92.85% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #3235 +/- ## ============================================= + Coverage 67.01% 67.03% +0.01% - Complexity 2558 2559 +1 ============================================= Files 914 914 Lines 29394 29406 +12 Branches 3276 3277 +1 ============================================= + Hits 19699 19711 +12 Misses 8252 8252 Partials 1443 1443 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud