public final class SlowCodecReaderWrapper extends Object
FilterCodecReader
instead.Modifier and Type | Method and Description |
---|---|
static CodecReader |
wrap(LeafReader reader)
Returns a
CodecReader view of reader. |
public static CodecReader wrap(LeafReader reader) throws IOException
CodecReader
view of reader.
If reader
is already a CodecReader
, it is returned
directly. Otherwise, a (slow) view is returned.
IOException
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.