Class ClientQuerySegmentWalkerUtils

java.lang.Object
org.apache.druid.server.ClientQuerySegmentWalkerUtils

public class ClientQuerySegmentWalkerUtils extends Object
  • Constructor Details

    • ClientQuerySegmentWalkerUtils

      public ClientQuerySegmentWalkerUtils()
  • Method Details

    • getLimitType

      public static ClientQuerySegmentWalkerUtils.SubqueryResultLimit getLimitType(long memoryLimitBytes, boolean cannotMaterializeToFrames)
      Returns the limit type to be used for a given subquery. It returns MEMORY_LIMIT only if: 1. The user has enabled the 'maxSubqueryBytes' explicitly in the query context or as the server default 2. All the other subqueries in the query so far didn't fall back to ROW_BASED limit due to an error while executing the query In all the other cases, it returns ROW_LIMIT