java.lang.Object
com.google.cloud.firestore.pipeline.stages.Stage
com.google.cloud.firestore.pipeline.stages.RawStage

public final class RawStage extends Stage
Adds a stage to the pipeline by specifying the stage name as an argument. This does not offer any type safety on the stage params and requires the caller to know the order (and optionally names) of parameters accepted by the stage.

This class provides a way to call stages that are supported by the Firestore backend but that are not implemented in the SDK version being used.

  • Method Details

    • ofName

      @Nonnull public static RawStage ofName(@Nonnull String name)
      Specify name of stage
      Parameters:
      name - The unique name of the stage to add.
      Returns:
      A new RawStage for the specified stage name.
    • withArguments

      @Nonnull public RawStage withArguments(@Nonnull Object... arguments)
      Specify arguments to stage.
      Parameters:
      arguments - A list of ordered parameters to configure the stage's behavior.
      Returns:
      RawStage with specified parameters.
    • withOptions

      @Nonnull public RawStage withOptions(@Nonnull RawOptions options)