MCPcopy Create free account
hub / github.com/crate/crate / executeOrFail

Method executeOrFail

server/src/main/java/io/crate/planner/ClosePlan.java:46–54  ·  view source on GitHub ↗
(DependencyCarrier dependencies,
                              PlannerContext plannerContext,
                              RowConsumer consumer,
                              Row params,
                              SubQueryResults subQueryResults)

Source from the content-addressed store, hash-verified

44 }
45
46 @Override
47 public void executeOrFail(DependencyCarrier dependencies,
48 PlannerContext plannerContext,
49 RowConsumer consumer,
50 Row params,
51 SubQueryResults subQueryResults) throws Exception {
52 plannerContext.cursors().close(close.cursorName());
53 consumer.accept(InMemoryBatchIterator.of(new Row1(1L), SentinelRow.SENTINEL), null);
54 }
55}

Callers

nothing calls this directly

Calls 5

ofMethod · 0.95
closeMethod · 0.65
acceptMethod · 0.65
cursorsMethod · 0.45
cursorNameMethod · 0.45

Tested by

no test coverage detected