Daniel C. Weber

My feedback

  1. 14 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Azure Cosmos DB » Gremlin API  ·  Flag idea as inappropriate…  ·  Admin →
    Daniel C. Weber supported this idea  · 
    Daniel C. Weber commented  · 

    Our use case involves filtering out parts of the graph (vertices, edges) that do not meet certain criteria, and these criteria need to be specified up front. In our case, the criteria would simply be time - we want to be able to set DateTimes for (begin/end) on certain vertices and edges and only see them when DateTime.Now falls within that range and just ignore them otherwise. We would use the 'SubGraphStrategy' for that.

    From the Tinkerpop docs:
    SubgraphStrategy is similar to PartitionStrategy in that it constrains a Traversal to certain vertices, edges, and vertex properties as determined by a Traversal-based criterion defined individually for each.

    http://tinkerpop.apache.org/docs/current/reference/#traversalstrategy

    Daniel C. Weber commented  · 

    Documentation on traversal strategies: http://tinkerpop.apache.org/docs/current/reference/#traversalstrategy

    The simplest application would probably the 'subgraphStrategy' which allows you to define a global filter on vertices and edges and thus lets you view a filtered subgraph. E.g. any traversal setting out from the following

    g.withStrategies(SubgraphStrategy.build().vertexProperties(hasNot('endTime')).create())

    will only see vertices that don't have a property called 'endTime'.

    Daniel C. Weber shared this idea  · 
  2. 4 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Azure Cosmos DB » Gremlin API  ·  Flag idea as inappropriate…  ·  Admin →
    Daniel C. Weber shared this idea  · 
  3. 10 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Azure Cosmos DB » Gremlin API  ·  Flag idea as inappropriate…  ·  Admin →
    Daniel C. Weber shared this idea  · 
  4. 34 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Azure Cosmos DB » Gremlin API  ·  Flag idea as inappropriate…  ·  Admin →
    Daniel C. Weber supported this idea  · 
  5. 611 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    28 comments  ·  Azure Cosmos DB » Gremlin API  ·  Flag idea as inappropriate…  ·  Admin →
    Daniel C. Weber commented  · 

    Have a look at https://github.com/ExRam/ExRam.Gremlinq, which is developed by me. It currently does not support CosmosDB but help is always appreciated.

Feedback and Knowledge Base