public class HiveFileIterator
extends com.google.common.collect.AbstractIterator<org.apache.hadoop.fs.LocatedFileStatus>
Constructor and Description |
---|
HiveFileIterator(org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FileSystem fileSystem,
DirectoryLister directoryLister,
NamenodeStats namenodeStats,
String partitionName,
org.apache.hadoop.mapred.InputFormat<?,?> inputFormat,
Properties schema,
List<HivePartitionKey> partitionKeys,
TupleDomain<HiveColumnHandle> effectivePredicate) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.fs.LocatedFileStatus |
computeNext() |
DirectoryLister |
getDirectoryLister() |
TupleDomain<HiveColumnHandle> |
getEffectivePredicate() |
org.apache.hadoop.fs.FileSystem |
getFileSystem() |
org.apache.hadoop.mapred.InputFormat<?,?> |
getInputFormat() |
NamenodeStats |
getNamenodeStats() |
List<HivePartitionKey> |
getPartitionKeys() |
String |
getPartitionName() |
Properties |
getSchema() |
endOfData, hasNext, next, peek
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public HiveFileIterator(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fileSystem, DirectoryLister directoryLister, NamenodeStats namenodeStats, String partitionName, org.apache.hadoop.mapred.InputFormat<?,?> inputFormat, Properties schema, List<HivePartitionKey> partitionKeys, TupleDomain<HiveColumnHandle> effectivePredicate)
protected org.apache.hadoop.fs.LocatedFileStatus computeNext()
computeNext
in class com.google.common.collect.AbstractIterator<org.apache.hadoop.fs.LocatedFileStatus>
public org.apache.hadoop.fs.FileSystem getFileSystem()
public DirectoryLister getDirectoryLister()
public NamenodeStats getNamenodeStats()
public String getPartitionName()
public org.apache.hadoop.mapred.InputFormat<?,?> getInputFormat()
public Properties getSchema()
public List<HivePartitionKey> getPartitionKeys()
public TupleDomain<HiveColumnHandle> getEffectivePredicate()
Copyright © 2012-2016. All Rights Reserved.