@Experimental(value=SOURCE_SINK)
public static class BigQueryStorageStreamSource.BigQueryStorageStreamReader<T>
extends org.apache.beam.sdk.io.OffsetBasedSource.OffsetBasedReader<T>
Source.Reader which reads records from a stream.| Modifier and Type | Method and Description |
|---|---|
protected boolean |
advanceImpl() |
boolean |
allowsDynamicSplitting() |
void |
close() |
T |
getCurrent() |
protected long |
getCurrentOffset() |
BigQueryStorageStreamSource<T> |
getCurrentSource() |
protected boolean |
startImpl() |
protected boolean startImpl()
throws java.io.IOException
startImpl in class org.apache.beam.sdk.io.OffsetBasedSource.OffsetBasedReader<T>java.io.IOExceptionprotected boolean advanceImpl()
throws java.io.IOException
advanceImpl in class org.apache.beam.sdk.io.OffsetBasedSource.OffsetBasedReader<T>java.io.IOExceptionpublic T getCurrent() throws java.util.NoSuchElementException
getCurrent in class org.apache.beam.sdk.io.Source.Reader<T>java.util.NoSuchElementExceptionprotected long getCurrentOffset()
throws java.util.NoSuchElementException
getCurrentOffset in class org.apache.beam.sdk.io.OffsetBasedSource.OffsetBasedReader<T>java.util.NoSuchElementExceptionpublic void close()
close in interface java.lang.AutoCloseableclose in class org.apache.beam.sdk.io.Source.Reader<T>public BigQueryStorageStreamSource<T> getCurrentSource()
getCurrentSource in class org.apache.beam.sdk.io.OffsetBasedSource.OffsetBasedReader<T>public boolean allowsDynamicSplitting()
allowsDynamicSplitting in class org.apache.beam.sdk.io.OffsetBasedSource.OffsetBasedReader<T>