AnsweredAssumed Answered

difference between get() and query()

Question asked by tim-erwin on Jun 12, 2008
Latest reply on Jul 28, 2008 by morpheus

I wonder what are the main/conceptual differences between get() and query() in the RepositoryService. Both accept queries (get() via the Predicate). With both I can get Nodes by submitting UUIDs etc. I see some differences, of course, but they raise questions:

  • query() seems to be faster (started using it for regular browsing which I though get() is better suited for), is that correct?.
  • They return different types. Why?
  • You will know more…