pub fn plan_window<S: AsRef<str>>(lines: &[S], end: WindowEnd) -> Plan
Plan one window of lines (each one JSON line, without its newline). end says whether more lines follow.
end