public class HdfsUtils extends Object
| Constructor and Description |
|---|
HdfsUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Iterable<T> |
toJavaUtilIterable(org.apache.hadoop.fs.RemoteIterator<T> remoteIterator) |
static <T> Iterator<T> |
toJavaUtilIterator(org.apache.hadoop.fs.RemoteIterator<T> remoteIterator)
Converts HDFS RemoteIterator to java.util.Iterator
|
public static <T> Iterator<T> toJavaUtilIterator(org.apache.hadoop.fs.RemoteIterator<T> remoteIterator)
public static <T> Iterable<T> toJavaUtilIterable(org.apache.hadoop.fs.RemoteIterator<T> remoteIterator)
Copyright © 2024. All rights reserved.