Skip to content

Support Function Executions from Repositories [DATAGEODE-258] #307

Open
@spring-projects-issues

Description

@spring-projects-issues

John Blum opened DATAGEODE-258 and commented

This feature request is meant to track the research and development of supporting Function Execution definitions in Spring Data Repositories.

Since all Repositories operate from the perspective of a GemFire Region (associated with @Region annotated domain object, or even the Repo annotated with @Region itself), then effectively, all Function Executions defined in the application Repository interface will execute @OnRegion.

This might look a little something like this...

@Region("Orders")
class Order { .. }

interface OrderRepository implements GemfireRepository<Order, Long> {

  List<Order> findByOrderId(Long id);
  ...
  @Function
  void processOrders(Status status, ...);

Reference URL: https://jira.spring.io/browse/SGF-452

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions