Class DeviceStage<T>


  • public class DeviceStage<T>
    extends java.lang.Object
    • Method Detail

      • device

        public PropertyStage<T> device​(@NonNull
                                       @NonNull java.lang.String device)
        Search for given device. Equivalent to
        keyValue("device", device)
        Parameters:
        device - device name
        Returns:
        stage to define property in query
      • deviceLike

        public PropertyStage<T> deviceLike​(@NonNull
                                           @NonNull java.lang.String pattern)
        Search for given device name pattern. Pattern should be in Oracle SQL form (% and _ as wildcards). Equivalent to
        keyValueLike("device", device)
        Parameters:
        pattern - device name pattern
        Returns:
        stage to define property in query
      • parameter

        public DeviceStageLoop<T> parameter​(@NonNull
                                            @NonNull java.lang.String parameter)
        Search for given parameter. Parameter should be in form "device/property". Equivalent to
        keyValues(ImmutableMap.of("device", device, "property", property))
        Parameters:
        parameter - parameter in form device/property
        Returns:
        next device query stage
      • parameters

        public DeviceStageLoop<T> parameters​(@NonNull
                                             @NonNull java.util.List<java.lang.String> parameters)
        Search for given parameters. Every parameter should be in form "device/property". Equivalent to
        keyValues(ImmutableMap.of("device", device1, "property", property1...))
        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. Parameter pattern should be in form "device_pattern/property_pattern". Patterns should be in Oracle SQL form (% and _ as wildcards). Equivalent to:
        keyValuesLike(ImmutableMap.of("device", device1, "property", property1...))
        Parameters:
        pattern - parameter pattern in form device_pattern/property_pattern
        Returns:
        next device query stage