Class RawQueryOptions

All Implemented Interfaces:
QueryOptions<RawQueryKey, DataPointType>

public final class RawQueryOptions extends DataPointQueryOptions<RawQueryKey>
Options for a raw query; the query key is a RawQueryKey.
  • Method Details

    • getFillMode

      public FillMode getFillMode()
      Returns how a Wide cell that no sample reached is answered. FillMode.PREVIOUS repeats the column's last sample, as does every fill under the classic read. FillMode.AUTO (the default) repeats it on a legacy compatible historian and leaves the cell empty elsewhere. Any other fill leaves it empty. Typed surfaces accept only AUTO and PREVIOUS. Tall results never fill.
      Returns:
      the fill mode; never null
    • isLegacyCompatible

      public boolean isLegacyCompatible()
      Returns whether a tag history call asks for the classic tag history read: the wide carry plus the historian's realtime value at the end of the range. Default false.
    • getPointType

      public DataPointType getPointType()
    • toString

      public String toString()
      Overrides:
      toString in class DataPointQueryOptions<RawQueryKey>
    • builder

      public static RawQueryOptions.Builder builder()
      Returns a new builder.
    • builder

      public static RawQueryOptions.Builder builder(RawQueryOptions options)
      Returns a builder initialized from options.
      Parameters:
      options - the options to copy