Class ToUIntFlux

All Implemented Interfaces:
Expression, HasImports

public final class ToUIntFlux extends AbstractParametrizedFlux
Convert a value to a duration. See SPEC.

Example

 Flux flux = Flux
     .from("telegraf")
     .filter(and(measurement().equal("mem"), field().equal("used")))
     .toUInt();
 
Author:
Jakub Bednar (bednar@github) (26/06/2018 06:40)
  • Constructor Details

    • ToUIntFlux

      public ToUIntFlux(@Nonnull Flux source)
  • Method Details

    • operatorName

      @Nonnull protected String operatorName()
      Specified by:
      operatorName in class AbstractParametrizedFlux
      Returns:
      name of function
    • collectImports

      public void collectImports(@Nonnull Set<String> collectedImports)
      Description copied from class: Flux
      Collects all imports of the flux.
      Overrides:
      collectImports in class Flux
      Parameters:
      collectedImports - a set to be filled by the used imports