Enum ClientQuerySegmentWalkerUtils.SubqueryResultLimit

java.lang.Object
java.lang.Enum<ClientQuerySegmentWalkerUtils.SubqueryResultLimit>
org.apache.druid.server.ClientQuerySegmentWalkerUtils.SubqueryResultLimit
All Implemented Interfaces:
Serializable, Comparable<ClientQuerySegmentWalkerUtils.SubqueryResultLimit>
Enclosing class:
ClientQuerySegmentWalkerUtils

public static enum ClientQuerySegmentWalkerUtils.SubqueryResultLimit extends Enum<ClientQuerySegmentWalkerUtils.SubqueryResultLimit>
Guardrail type on the subquery's results
  • Enum Constant Details

    • ROW_LIMIT

      Subqueries limited by the ROW_LIMIT are materialized and kept as arrays (native java objects) on heap. The walker ensures that the cumulative number of rows of the results of subqueries of the given query donot exceed the limit specified in the context or as the server default
    • MEMORY_LIMIT

      public static final ClientQuerySegmentWalkerUtils.SubqueryResultLimit MEMORY_LIMIT
      Subqueries limited by the BYTE_LIMIT are materialized as Frames on heap. Frames depict the byte representation of the subquery results and hence the space consumed by the frames can be trivially fetched. The walker ensures that the cumulative number of rows of the results of subqueries (materialized as Frames in the broker memory) of a given query do not exceed the limit specified in the context or as the server default
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • serializationMode

      public abstract ResultSerializationMode serializationMode()