RowManager
API. Allows for Optic queries to be constructed with less
boilerplate code, and for results to be processed without worrying
about closing the row set.<T> Tquery (Function<PlanBuilder, PlanBuilder.Plan> planFunction,
Function<RowSet<RowRecord>, T> rowSetConsumer)voidupdate (Function<PlanBuilder, PlanBuilder.Plan> planFunction)<T> Tupdate (Function<PlanBuilder, PlanBuilder.Plan> planFunction,
Function<RowSet<RowRecord>, T> rowSetConsumer)PlanBuilder
which is commonly named "op". The RowSet
returned by executing the query is then passed to the consumer
function, which is expected to process the rows and return a
result. This method will handle closing the row set, such that the
consumer does not need to worry about it.T - the type of the result returned by the
consumer functionplanFunction - function for building the Optic
planrowSetConsumer - function for processing the rows
in the row setplanFunction - function for building the Optic
planT - the type of the result returned by the
consumer functionplanFunction - function for building the Optic
planrowSetConsumer - function for processing the rows
in the row setCopyright (c) 2010-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.