public class Field extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Field.TypeEnum
`type` describes the field type.
|
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_ALIAS |
static String |
SERIALIZED_NAME_ARGS |
static String |
SERIALIZED_NAME_TYPE |
static String |
SERIALIZED_NAME_VALUE |
Constructor and Description |
---|
Field() |
Modifier and Type | Method and Description |
---|---|
Field |
addArgsItem(Field argsItem) |
Field |
alias(String alias) |
Field |
args(List<Field> args) |
boolean |
equals(Object o) |
String |
getAlias()
Alias overrides the field name in the returned response.
|
List<Field> |
getArgs()
Args are the arguments to the function
|
Field.TypeEnum |
getType()
`type` describes the field type.
|
String |
getValue()
value is the value of the field.
|
int |
hashCode() |
void |
setAlias(String alias) |
void |
setArgs(List<Field> args) |
void |
setType(Field.TypeEnum type) |
void |
setValue(String value) |
String |
toString() |
Field |
type(Field.TypeEnum type) |
Field |
value(String value) |
public static final String SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_ALIAS
public static final String SERIALIZED_NAME_ARGS
public String getValue()
public void setValue(String value)
public Field type(Field.TypeEnum type)
public Field.TypeEnum getType()
public void setType(Field.TypeEnum type)
public String getAlias()
public void setAlias(String alias)
Copyright © 2018–2020 InfluxData, Inc.. All rights reserved.