tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [tinkerpop] javeme commented on issue #1222: TINKERPOP-2313 Support g.E().properties().hasKey('xx') & hasValue('xx')
Date Thu, 14 Nov 2019 04:28:00 GMT
javeme commented on issue #1222: TINKERPOP-2313 Support g.E().properties().hasKey('xx') &
hasValue('xx')
URL: https://github.com/apache/tinkerpop/pull/1222#issuecomment-553719012
 
 
   > It seems there is no effect on HadoopProperty dedup:
   
   According to the implementation of Property comparison, in addition to comparing to the
key and value, the parent element is also compared:
   ```java
   ElementHelper.areEqual(final Property a, final Object b) {
       return a.key().equals(((Property) b).key()) && a.value().equals(((Property)
b).value()) && areEqual(a.element(), ((Property) b).element());
   }
   ```
   
   For StarOutEdge and StarInEdge, the same edges with two directions are not equal.
   For TinkerEdge the same edges with two directions are equal.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message