Enum Class LiveViewQueryType

java.lang.Object
java.lang.Enum<LiveViewQueryType>
com.streambase.liveview.client.LiveViewQueryType
All Implemented Interfaces:
Serializable, Comparable<LiveViewQueryType>, Constable

public enum LiveViewQueryType extends Enum<LiveViewQueryType>
The type of queries that can be specified in QueryConfig
  • Enum Constant Details

    • SNAPSHOT

      public static final LiveViewQueryType SNAPSHOT
      Snapshot only query
    • CONTINUOUS

      public static final LiveViewQueryType CONTINUOUS
      Continuous query updates
    • SNAPSHOT_AND_CONTINUOUS

      public static final LiveViewQueryType SNAPSHOT_AND_CONTINUOUS
      Snapshot followed by continuous updates
    • DELETE

      public static final LiveViewQueryType DELETE
      Delete rows that match the query
  • Method Details

    • values

      public static LiveViewQueryType[] 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 LiveViewQueryType 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
    • value

      public String value()
    • fromValue

      public static LiveViewQueryType fromValue(String v)
    • convert

      public static LiveViewQueryType convert(com.streambase.liveview.internal.protocol.jaxb.QueryType jaxbQueryType)
    • convert

      public static com.streambase.liveview.internal.protocol.jaxb.QueryType convert(LiveViewQueryType lvqt)
    • has

      public boolean has(LiveViewQueryType part)
      Does the current type have the given type inside of it? Ex: SNAP_AND_CONT has a SNAP part
      Parameters:
      part - other type of query
      Returns:
      If the part is a compoment of, or equal to the curret