partition key
See original GitHub issueWhen setting up a graph db in Cosmos you have to specify a partition key, and according to this post:
Using a partitioned graph in Azure Cosmos DB
you should then specify the partition key in all your queries, by adding:
.has('partitionKey', 'partitionKey_value')
Is there a way in Gremlinq to setup a partition key, or is it up to myself, to addd .has(‘partitionKey’, ‘partitionKey_value’) to my queries?
TIA Søren
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Choosing the Right DynamoDB Partition Key
Partition key : A simple primary key, composed of one attribute known as the partition key. Attributes in DynamoDB are similar in many...
Read more >Table partitioning keys
A table partitioning key is an ordered set of one or more columns in a table. The values in the table partitioning key...
Read more >Primary Key, Partition Key, Clustering Key - Part One
The Partition Key is responsible for data distribution across the nodes. It determines which node will store a given row. It can be...
Read more >database - Difference between partition key, composite ...
Partition Key : It is a construct of distributed databases(where data of a single table is divided into multiple parts called partitions).
Read more >Partitioning and horizontal scaling - Azure Cosmos DB
Learn about partitioning, logical, physical partitions in Azure Cosmos DB, best practices when choosing a partition key, and how to manage ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
so how do you get all vertices on a partitionKey? I would expect to do something like this g.V<Vertex>(new CosmosDbKey(“US”)) (US = if your partition your data on country codes)
But the CosmosDbKey only supports id,partitionKeyValue, which will always return 1 element
This will work when instances of the CosmosDbKey-struct are passed into V(…).