private <W extends BoundedWindow> PCollection<?> applyInternal(PCollection<KV<K, V>> input) { try { return applyForMapLike(runner, input, view, false /* unique keys not expected */); } catch (NonDeterministicException e) { runner.recordViewUsesNonDeterministicKeyCoder(this); // Since the key coder is not deterministic, we convert the map into a singleton // and return a singleton view equivalent. return applyForSingletonFallback(input); } }