hypertrace / document-store

Document store abstraction that we use across Hypertrace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supporting new APIs for postgres implementation

kotharironak opened this issue · comments

Recently, there are 4 new APIs were added in document store:

  • Aggregate

    • CloseableIterator aggregate(final org.hypertrace.core.documentstore.query.Query query)
  • Find

    • CloseableIterator find(final org.hypertrace.core.documentstore.query.Query query)
  • count

    • long count(final org.hypertrace.core.documentstore.query.Query query)
  • Bulk Operation On Array Value

    • BulkUpdateResult bulkOperationOnArrayValue(BulkArrayValueUpdateRequest request) throws Exception
  • Bulk Update

    • BulkUpdateResult bulkUpdate(List bulkUpdateRequests) throws Exception

For the above APIs, we have implementation for MongoDB, however, we are lacking its support for Postgres. Can we add the support the support?

@kotharironak count is already implemented?

Not on new Query API. The work, I am doing of handling new Query API will take care of it.

Will take separately bugs + optimization tickets, closing this one.