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 String
escapeDoubleQuotes
(String val) getDelimiter
(String key) keys()
static FunctionsParameters
of()
void
putFunctionNamed
(String functionName, String namedProperty) void
putFunctionValue
(String functionName, Object function) void
putPropertyNamed
(String fluxName, String namedProperty) void
putPropertyValue
(String fluxName, Long amount, ChronoUnit unit) void
putPropertyValue
(String fluxName, Object value) void
putPropertyValueString
(String fluxName, String value) static String
serializeValue
(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
-