/** * Should limit be applied? * * @param limitHandler The limit handler * @param selection The row selection * * @return Whether limiting is indicated */ public static boolean useLimit(LimitHandler limitHandler, RowSelection selection) { return limitHandler.supportsLimit() && hasMaxRows( selection ); }
@Override public boolean supportsLimit() { return this.raw.supportsLimit(); }
/** * Should limit be applied? * * @param limitHandler The limit handler * @param selection The row selection * * @return Whether limiting is indicated */ public static boolean useLimit(LimitHandler limitHandler, RowSelection selection) { return limitHandler.supportsLimit() && hasMaxRows( selection ); }