Skip to content

interface for passing raw row queries  #1271

@ehennum

Description

@ehennum

In the com.marklogic.client.row package....

Add a new RawPlan interface that extends PlanBuilder.Plan and provides getters and setters for the handle:

W getHandle();
void setHandle(W handle);

Modify the existing RawPlanDefinition interface to extend RawPlan and provide only the withHandle() method.

For each of the new payloads of the /v1/rows endpoint that were implemented under internal bug 55547...

Add a new interface similar to the modified RawPlanDefinition interface, each providing a provide withHandle() method:

  • RawSQLPlan extends RawPlan
  • RawSPARQLSelectPlan extends RawPlan
  • RawQBVPlan extends RawPlan

Add a new factory similar to the existing RowManager.newRawPlanDefinition() factory for RawPlanDefinition:

  • RawSQLPlan newRawSQLPlan(TextWriteHandle)
  • RawSPARQLSelectPlan newRawSPARQLSelectPlan(TextWriteHandle)
  • RawQBVPlan newRawQBVPlan(XMLWriteHandle)

Refactor the implementation that sends RawPlanDefinition plans to send the new plans as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions