public class ConcurrentIterator extends Object implements DownloadIterator
Constructor and Description |
---|
ConcurrentIterator(List<com.huawei.dli.sdk.Reader> readers,
long totalCount) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.huawei.dli.sdk.common.Row |
fetch() |
long |
getResultCount() |
boolean |
hasNext() |
public ConcurrentIterator(List<com.huawei.dli.sdk.Reader> readers, long totalCount)
public boolean hasNext()
hasNext
in interface DownloadIterator
public com.huawei.dli.sdk.common.Row fetch() throws IOException
fetch
in interface DownloadIterator
IOException
public void close() throws IOException
close
in interface DownloadIterator
IOException
public long getResultCount()
getResultCount
in interface DownloadIterator
Copyright © 2023. All rights reserved.