@Test void yieldByWith() { Flux flux = Flux .from("telegraf") .yield() .withName("1"); Assertions.assertThat(flux.toString()).isEqualToIgnoringWhitespace("from(bucket:\"telegraf\") |> yield(name: \"1\")"); }
@Nonnull public final YieldFlux withName(@Nonnull final String name) { Arguments.checkNonEmpty(name, "Result name"); withPropertyValueEscaped("name", name); return this; }
YieldFlux extends AbstractParametrizedFlux { @Nonnull public final YieldFlux withName(@Nonnull final String name) { Arguments.checkNonEmpty(name, "Result name"); withPropertyValueEscaped("name", name); return this; } }
YieldFlux extends AbstractParametrizedFlux { @Nonnull public final YieldFlux withName(@Nonnull final String name) { Arguments.checkNonEmpty(name, "Result name"); withPropertyValueEscaped("name", name); return this; } YieldFlux(@Nonnull final Flux source); }
YieldFlux extends AbstractParametrizedFlux { @Nonnull public final YieldFlux withName(@Nonnull final String name) { Arguments.checkNonEmpty(name, "Result name"); withPropertyValueEscaped("name", name); return this; } YieldFlux(@Nonnull final Flux source); @Nonnull final YieldFlux withName(@Nonnull final String name); }
YieldFlux extends AbstractParametrizedFlux { @Nonnull public final YieldFlux withName(@Nonnull final String name) { Arguments.checkNonEmpty(name, "Result name"); withPropertyValueEscaped("name", name); return this; } YieldFlux(@Nonnull final Flux source); @Nonnull final YieldFlux withName(@Nonnull final String name);  }