Class Field

java.lang.Object
com.influxdb.client.domain.Field

public class Field extends Object
Field
  • Field Details

  • Constructor Details

    • Field

      public Field()
  • Method Details

    • value

      public Field value(String value)
    • getValue

      public String getValue()
      value is the value of the field. Meaning of the value is implied by the `type` key
      Returns:
      value
    • setValue

      public void setValue(String value)
    • type

      public Field type(Field.TypeEnum type)
    • getType

      public Field.TypeEnum getType()
      `type` describes the field type. `func` is a function. `field` is a field reference.
      Returns:
      type
    • setType

      public void setType(Field.TypeEnum type)
    • alias

      public Field alias(String alias)
    • getAlias

      public String getAlias()
      Alias overrides the field name in the returned response. Applies only if type is `func`
      Returns:
      alias
    • setAlias

      public void setAlias(String alias)
    • args

      public Field args(List<Field> args)
    • addArgsItem

      public Field addArgsItem(Field argsItem)
    • getArgs

      public List<Field> getArgs()
      Args are the arguments to the function
      Returns:
      args
    • setArgs

      public void setArgs(List<Field> args)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object