@PublicEvolving public class SimpleStringDecoder extends Object implements DecoderBasedReader.Decoder<String>
DecoderBasedReader.Decoder that reads data encoded by the SimpleStringEncoder only for compaction. The original
input type is missing, but it's enough to read string contents for writing the compacted file.DecoderBasedReader.Decoder.Factory<T>| 构造器和说明 |
|---|
SimpleStringDecoder() |
public void open(InputStream input) throws IOException
DecoderBasedReader.Decoderopen 在接口中 DecoderBasedReader.Decoder<String>IOExceptionpublic String decodeNext() throws IOException
decodeNext 在接口中 DecoderBasedReader.Decoder<String>IOExceptionpublic void close()
throws IOException
DecoderBasedReader.Decoderclose 在接口中 DecoderBasedReader.Decoder<String>IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.