Class FunctionsParameters
java.lang.Object
com.influxdb.query.dsl.functions.properties.FunctionsParameters
The function properties. Support named-property, property with values.
- Author:
- Jakub Bednar (bednar@github) (28/06/2018 05:32)
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringescapeDoubleQuotes(String val) getDelimiter(String key) keys()static FunctionsParametersof()voidputFunctionNamed(String functionName, String namedProperty) voidputFunctionValue(String functionName, Object function) voidputPropertyNamed(String fluxName, String namedProperty) voidputPropertyValue(String fluxName, Long amount, ChronoUnit unit) voidputPropertyValue(String fluxName, Object value) voidputPropertyValueString(String fluxName, String value) static StringserializeValue(Object value, boolean escapeStrings) Serialize value for Flux property.
-
Method Details
-
escapeDoubleQuotes
-
of
-
serializeValue
Serialize value for Flux property.- Parameters:
value- to serialize- Returns:
- serialized value
-
putPropertyNamed
- Parameters:
fluxName- name in Flux querynamedProperty- name in named properties- See Also:
-
putFunctionNamed
- Parameters:
functionName- name in Flux querynamedProperty- name in named properties- See Also:
-
putPropertyValue
- Parameters:
fluxName- name in Flux queryvalue- value of property. If null than ignored.- See Also:
-
putFunctionValue
- Parameters:
functionName- name in Flux queryfunction- defined function- See Also:
-
putPropertyValue
public void putPropertyValue(@Nonnull String fluxName, @Nullable Long amount, @Nullable ChronoUnit unit) - Parameters:
fluxName- name of property in Flux queryamount- the amount of the duration, measured in terms of the unit, positive or negativeunit- the unit that the duration is measured in, must have an exact duration. If null than ignored.- See Also:
-
putPropertyValueString
- Parameters:
fluxName- name of property in Flux queryvalue- value of property. If null than ignored.- See Also:
-
keys
-
get
-
getDelimiter
-