Way to update static vertex

https://docs.janusgraph.org/schema/advschema/#static-vertices I read document about TTL vertex. And it said that vertex must be static to set TTL for it. But when set static vertex, i can't update that vertex. So can I just set TTL and update the vertex at the same time?
4 Replies
spmallette
spmallette15mo ago
☝️ @janusgraph do you have any advice on this one?
Florian Hockmann
Florian Hockmann15mo ago
You can't make a single vertex static and you also can't set the TTL on an individual vertex. You define these aspects on a vertex label instead and they will then apply to all vertices with that label. So, no, you cannot modify a vertex in any way if you want to use the TTL feature for that vertex label
Dinh Phu
Dinh Phu15mo ago
i hope we will develop this feature in the future. Like the way Hbase implements TTL for record
Florian Hockmann
Florian Hockmann15mo ago
The question is how should the API for such a functionality look like if you want to enable the TTL on individual vertices?
Want results from more Discord servers?
Add your server
More Posts
Dotnet best practice: converting Vertex properties to ModelA very common task in Dotnet is to convert a stored entity into a Model class. How is this best accoWhat is the use of adding type information to e.g ElementMap<type> in Gremlin.Net?Consider the query and output in the attached image: What TYPE could be placed inside the `ElemementHow can I find property with a certain data type?I have a situation where the same property has different type under the same label, kind of like theVerifying the count of ingested vertex and edges after bulk loading in Janusgraph.I have bulk loaded around 600k Vertices and 800k Edges into my janusgraph cluster backed with bigtabTraversal is propagating to further edges?I have node label A and B with edge between them ("Has") Also i have node B with edge to another nodHow to load url data into Neptune?I am trying to load a small dataset into Neptune and it seems to always error. I tried g.io("<file Cannot access a stored value after foldI think i cannot find the docs related to this behavior. I stored a value in a variable then tried tAre there alternative clients other than console?Hi guys, would you recommend any alternative client to run gremlin queries that have a more user friExporting current DB to JSONHey, We want to export the current DB to a JSON file. This is used for small scale copy of the DB tIssues to execute gremlin queries with Java versions higher than 11I'm trying to perform gremlin queries in a Java 17 project and I'm receiving this error message: ```