public interface ConnectorPageSource extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Immediately finishes this page source.
|
long |
getCompletedBytes()
Gets the number of input bytes processed by this page source so far.
|
Page |
getNextPage()
Gets the next page of data.
|
long |
getReadTimeNanos()
Gets the wall time this page source spent reading data from the input.
|
long |
getTotalBytes()
Gets the total input bytes that will be processed by this page source.
|
boolean |
isFinished()
Will this page source product more pages?
|
long getTotalBytes()
long getCompletedBytes()
long getReadTimeNanos()
boolean isFinished()
Page getNextPage()
void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
IOException
Copyright © 2012-2015. All Rights Reserved.