public class HCatReplicationTaskIterator extends Object implements Iterator<ReplicationTask>
Constructor and Description |
---|
HCatReplicationTaskIterator(HCatClient hcatClient,
long eventFrom,
int maxEvents,
IMetaStoreClient.NotificationFilter filter) |
HCatReplicationTaskIterator(HCatClient hcatClient,
long eventFrom,
int maxEvents,
String dbName,
String tableName) |
public HCatReplicationTaskIterator(HCatClient hcatClient, long eventFrom, int maxEvents, String dbName, String tableName) throws HCatException
HCatException
public HCatReplicationTaskIterator(HCatClient hcatClient, long eventFrom, int maxEvents, IMetaStoreClient.NotificationFilter filter) throws HCatException
HCatException
public boolean hasNext()
hasNext
in interface Iterator<ReplicationTask>
public ReplicationTask next()
next
in interface Iterator<ReplicationTask>
public void remove()
remove
in interface Iterator<ReplicationTask>
Copyright © 2017 The Apache Software Foundation. All rights reserved.