public final class RawStage extends StageAdds 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.
Static Methods
ofName(String name)
public static RawStage ofName(String name)Specify name of stage
| Parameter | |
|---|---|
| Name | Description |
name |
StringThe unique name of the stage to add. |
| Returns | |
|---|---|
| Type | Description |
RawStage |
A new |
Methods
withArguments(Object[] arguments)
public RawStage withArguments(Object[] arguments)Specify arguments to stage.
| Parameter | |
|---|---|
| Name | Description |
arguments |
Object[]A list of ordered parameters to configure the stage's behavior. |
| Returns | |
|---|---|
| Type | Description |
RawStage |
|
withOptions(RawOptions options)
public RawStage withOptions(RawOptions options)| Parameter | |
|---|---|
| Name | Description |
options |
RawOptions |
| Returns | |
|---|---|
| Type | Description |
RawStage |
|