Class GCPSpannerExecuteDmlOpDispenser

All Implemented Interfaces:
OpDispenser<GCPSpannerBaseOp<?,?>>, OpResultTracker, NBComponent, NBComponentAdvisors, NBComponentEvents, NBComponentMetrics, NBComponentProps, NBComponentServices, NBComponentTimeline, NBProviderSearch, NBTokenWords, NBLabeledElement, AutoCloseable, LongFunction<GCPSpannerBaseOp<?,?>>

public class GCPSpannerExecuteDmlOpDispenser extends GCPSpannerBaseOpDispenser<GCPSpannerExecuteDmlOp,com.google.cloud.spanner.ResultSet>
Dispenser class for creating GCP Spanner Execute DML operations. This class extends the GCPSpannerBaseOpDispenser and provides functionality to create and configure GCPSpannerExecuteDmlOp instances.
  • Constructor Details

    • GCPSpannerExecuteDmlOpDispenser

      public GCPSpannerExecuteDmlOpDispenser(GCPSpannerDriverAdapter adapter, ParsedOp op, LongFunction<String> targetFunction)
      Constructs a new GCPSpannerExecuteDmlOpDispenser.
      Parameters:
      adapter - the driver adapter for GCP Spanner operations
      op - the parsed operation
      targetFunction - a function that provides the target string
  • Method Details

    • getOp

      public GCPSpannerExecuteDmlOp getOp(long cycle)
      Retrieves the GCP Spanner operation for the given value.
      Parameters:
      cycle - the input value
      Returns:
      the GCP Spanner operation