Enum Class DownloadFormat

java.lang.Object
java.lang.Enum<DownloadFormat>
com.qtsurfer.api.sdk.DownloadFormat
All Implemented Interfaces:
Serializable, Comparable<DownloadFormat>, Constable

public enum DownloadFormat extends Enum<DownloadFormat>
Wire format for hourly tickers/klines downloads.
  • LASTRA — native QTSurfer columnar format (application/vnd.lastra). Cheaper to serve and to consume. Use a Lastra reader (e.g. lastra-java).
  • PARQUET — Apache Parquet, converted on-the-fly server-side (application/vnd.apache.parquet). Use when the client can't read Lastra.
  • Enum Constant Details

  • Method Details

    • values

      public static DownloadFormat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DownloadFormat valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • wire

      public com.qtsurfer.api.client.binary.ExchangeBinaryDownloads.Format wire()
      Internal: the underlying ExchangeBinaryDownloads.Format used by the api-client. Exposed so the SDK's own helpers can pass it through without re-encoding.