Package io.trino.orc.stream
Class CheckpointInputStreamSource<S extends ValueInputStream<C>,C extends StreamCheckpoint>
- java.lang.Object
-
- io.trino.orc.stream.CheckpointInputStreamSource<S,C>
-
- All Implemented Interfaces:
InputStreamSource<S>
public class CheckpointInputStreamSource<S extends ValueInputStream<C>,C extends StreamCheckpoint> extends Object implements InputStreamSource<S>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <S extends ValueInputStream<C>,C extends StreamCheckpoint>
CheckpointInputStreamSource<S,C>createCheckpointStreamSource(S stream, StreamCheckpoint checkpoint)Class<S>getStreamType()SopenStream()StringtoString()
-
-
-
Method Detail
-
createCheckpointStreamSource
public static <S extends ValueInputStream<C>,C extends StreamCheckpoint> CheckpointInputStreamSource<S,C> createCheckpointStreamSource(S stream, StreamCheckpoint checkpoint)
-
getStreamType
public Class<S> getStreamType()
- Specified by:
getStreamTypein interfaceInputStreamSource<S extends ValueInputStream<C>>
-
openStream
@Nullable public S openStream() throws IOException
- Specified by:
openStreamin interfaceInputStreamSource<S extends ValueInputStream<C>>- Throws:
IOException
-
-