Package com.influxdb.client.domain
Class Field
java.lang.Object
com.influxdb.client.domain.Field
Field
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddArgsItem
(Field argsItem) boolean
getAlias()
Alias overrides the field name in the returned response.getArgs()
Args are the arguments to the functiongetType()
`type` describes the field type.getValue()
value is the value of the field.int
hashCode()
void
void
void
setType
(Field.TypeEnum type) void
toString()
type
(Field.TypeEnum type)
-
Field Details
-
SERIALIZED_NAME_VALUE
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_ALIAS
- See Also:
-
SERIALIZED_NAME_ARGS
- See Also:
-
-
Constructor Details
-
Field
public Field()
-
-
Method Details
-
value
-
getValue
value is the value of the field. Meaning of the value is implied by the `type` key- Returns:
- value
-
setValue
-
type
-
getType
`type` describes the field type. `func` is a function. `field` is a field reference.- Returns:
- type
-
setType
-
alias
-
getAlias
Alias overrides the field name in the returned response. Applies only if type is `func`- Returns:
- alias
-
setAlias
-
args
-
addArgsItem
-
getArgs
Args are the arguments to the function- Returns:
- args
-
setArgs
-
equals
-
hashCode
public int hashCode() -
toString
-