Class FluxRecord

java.lang.Object
com.influxdb.query.FluxRecord
All Implemented Interfaces:
Serializable

public final class FluxRecord extends Object implements Serializable
A record is a tuple of values. Each record in the table represents a single point in the series. Specification.
See Also:
  • Constructor Details

    • FluxRecord

      public FluxRecord(@Nonnull Integer table)
  • Method Details

    • getStart

      @Nullable public Instant getStart()
      Returns:
      the inclusive lower time bound of all records
    • getStop

      @Nullable public Instant getStop()
      Returns:
      the exclusive upper time bound of all records
    • getTime

      @Nullable public Instant getTime()
      Returns:
      the time of the record
    • getValue

      @Nullable public Object getValue()
      Returns:
      the value of the record
    • getField

      @Nullable public String getField()
      Returns:
      get value with key _field
    • getMeasurement

      @Nullable public String getMeasurement()
      Returns:
      get value with key _measurement
    • getTable

      @Nonnull public Integer getTable()
      Returns:
      the index of table which contains the record
    • getValues

      @Nonnull public Map<String,Object> getValues()
      Returns:
      tuple of values
    • getRow

      @Nonnull public List<Object> getRow()
      Returns:
      record's columns
    • getValueByIndex

      @Nullable public Object getValueByIndex(int index)
      Get FluxRecord value by index.
      Parameters:
      index - of value in CSV response
      Returns:
      value
      See Also:
    • getValueByKey

      @Nullable public Object getValueByKey(@Nonnull String key)
      Get FluxRecord value by key.
      Parameters:
      key - of value in CSV response
      Returns:
      value
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object