Depends on your use-case which one is faster, currently you can tune the Java 
API better but going forward (2.3+) it is very likely that cypher will be 
faster.

Get the string property and compare it with string.matches("regexp")

Yes as SDN adds an indirection layer there is overhead managing the graph in a 
convenient manner.

For SDN3 you'll have to add metadata to the graph with 
template.postEntityCreation(node/rel, DomainEntity.class)

HTH
Michael
> Am 05.06.2015 um 17:12 schrieb Sotiris Beis <[email protected]>:
> 
> Hi all,
> 
> I am wondering which is better to use in terms of performance and features. 
> Keep in mind that I am building a Java app and I can use Cypher only via 
> ExecutionEngine or if I use neo4j-spring-data. So it would be much 
> appreciated if you can answer the following questions.
> - Which one is the fastest for  my use case?
> - Both have the same features? I can't find a way to query the graph with 
> regular expressions as described here 
> <http://neo4j.com/docs/milestone/query-where.html> using the Java API. Is it 
> something the is not supported from Java API?
> - Is there any extra overhead when using neo4j spring data?
> - Can I access my graph with spring data if the has been build with a python 
> etl script? I've tried some examples and I get this exception: 
> No primary SDN label exists .. (i.e one starting with _)
> It seems that a spring metadata value missing.
> 
> Thanks in advance,
> Sotiris
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to