Enum ClientQuerySegmentWalkerUtils.SubqueryResultLimit

    • Enum Constant Detail

      • ROW_LIMIT

        public static final ClientQuerySegmentWalkerUtils.SubqueryResultLimit 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 Detail

      • values

        public static ClientQuerySegmentWalkerUtils.SubqueryResultLimit[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ClientQuerySegmentWalkerUtils.SubqueryResultLimit c : ClientQuerySegmentWalkerUtils.SubqueryResultLimit.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ClientQuerySegmentWalkerUtils.SubqueryResultLimit valueOf​(String name)
        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