@Test void dropByParameters() { Flux flux = Flux .from("telegraf") .drop() .withFunction("column =~ /free*/"); Assertions.assertThat(flux.toString()).isEqualToIgnoringWhitespace("from(bucket:\"telegraf\") |> drop(fn: (column) => column =~ /free*/)"); }
@Nonnull public DropFlux withFunction(@Nonnull final String function) { Arguments.checkNonEmpty(function, "Function"); this.withFunction("fn: (column)", function); return this; }
DropFlux extends AbstractParametrizedFlux { @Nonnull public DropFlux withFunction(@Nonnull final String function) { Arguments.checkNonEmpty(function, "Function"); this.withFunction("fn: (column)", function); return this; } }
DropFlux extends AbstractParametrizedFlux { @Nonnull public DropFlux withFunction(@Nonnull final String function) { Arguments.checkNonEmpty(function, "Function"); this.withFunction("fn: (column)", function); return this; } DropFlux(@Nonnull final Flux source); }
DropFlux extends AbstractParametrizedFlux { @Nonnull public DropFlux withFunction(@Nonnull final String function) { Arguments.checkNonEmpty(function, "Function"); this.withFunction("fn: (column)", function); return this; } DropFlux(@Nonnull final Flux source); @Nonnull DropFlux withColumns(@Nonnull final String[] columns); @Nonnull DropFlux withColumns(@Nonnull final Collection<String> columns); @Nonnull DropFlux withFunction(@Nonnull final String function); }
DropFlux extends AbstractParametrizedFlux { @Nonnull public DropFlux withFunction(@Nonnull final String function) { Arguments.checkNonEmpty(function, "Function"); this.withFunction("fn: (column)", function); return this; } DropFlux(@Nonnull final Flux source); @Nonnull DropFlux withColumns(@Nonnull final String[] columns); @Nonnull DropFlux withColumns(@Nonnull final Collection<String> columns); @Nonnull DropFlux withFunction(@Nonnull final String function);  }