Class DeviceStage<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PropertyStage<T> deviceEq​(@NonNull java.lang.String device)
      Allow to query for entities from CMW by device-property names.
      PropertyStage<T> deviceLike​(@NonNull java.lang.String pattern)
      Allow to query for entities from CMW by device-property names.
      DeviceStageLoop<T> parameterEq​(@NonNull java.lang.String parameter)
      Search for given parameter.
      DeviceStageLoop<T> parameterIn​(@NonNull java.util.List<java.lang.String> parameters)
      Search for given parameters.
      DeviceStageLoop<T> parameterIn​(java.lang.String... parameters)
      Search for given parameters.
      DeviceStageLoop<T> parameterLike​(@NonNull java.lang.String pattern)
      Search for given parameters, which match given pattern.
      • Methods inherited from class cern.nxcals.api.extraction.data.builders.fluent.Stage

        data, next
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parameterEq

        public DeviceStageLoop<T> parameterEq​(@NonNull
                                              @NonNull java.lang.String parameter)
        Search for given parameter. Parameter should be in form "device/property".
        Parameters:
        parameter - parameter in form device/property
        Returns:
        next device query stage
      • parameterIn

        public DeviceStageLoop<T> parameterIn​(@NonNull
                                              @NonNull java.util.List<java.lang.String> parameters)
        Search for given parameters. Every parameter should be in form "device/property".
        Parameters:
        parameters - list of parameters in form device/property
        Returns:
        next device query stage
      • parameterIn

        public DeviceStageLoop<T> parameterIn​(java.lang.String... parameters)
        Search for given parameters. Every parameter should be in form "device/property".
        Parameters:
        parameters - list of parameters in form device/property
        Returns:
        next device query stage
      • parameterLike

        public DeviceStageLoop<T> parameterLike​(@NonNull
                                                @NonNull java.lang.String pattern)
        Search for given parameters, which match given pattern. Pattern should be in form "device_pattern/property_pattern" and in Oracle SQL form (% and _ as wildcards).
        Parameters:
        pattern - parameter pattern in form device pattern/property pattern
        Returns:
        next device query stage
      • deviceEq

        public PropertyStage<T> deviceEq​(@NonNull
                                         @NonNull java.lang.String device)
        Allow to query for entities from CMW by device-property names.
        Parameters:
        device - device name. Equivalent to keyValues(Map.of("device", device, "property", property))
        Returns:
        stage to specify property
      • deviceLike

        public PropertyStage<T> deviceLike​(@NonNull
                                           @NonNull java.lang.String pattern)
        Allow to query for entities from CMW by device-property names. Device pattern should be in Oracle SQL form (% and _ as wildcards).
        Parameters:
        pattern - pattern for device name
        Returns:
        stage to specify property