presto-main/src/main/java/io/prestosql/operator/LimitOperator.java/LimitOperator/LimitOperator
class LimitOperator:    public LimitOperator(OperatorContext operatorContext, long limit)
    {
        this.operatorContext = requireNonNull(operatorContext, "operatorContext is null");

        checkArgument(limit >= 0, "limit must be at least zero");
        this.remainingLimit = limit;
    }