public class TabletStateChangeIterator extends SkippingIterator
Constructor and Description |
---|
TabletStateChangeIterator() |
Modifier and Type | Method and Description |
---|---|
protected void |
consume() |
SortedKeyValueIterator<Key,Value> |
deepCopy(IteratorEnvironment env) |
void |
init(SortedKeyValueIterator<Key,Value> source,
Map<String,String> options,
IteratorEnvironment env) |
static void |
setCurrentServers(IteratorSetting cfg,
Set<TServerInstance> goodServers) |
static void |
setMasterState(IteratorSetting cfg,
MasterState state) |
static void |
setMerges(IteratorSetting cfg,
Collection<MergeInfo> merges) |
static void |
setMigrations(IteratorSetting cfg,
Collection<KeyExtent> migrations) |
static void |
setOnlineTables(IteratorSetting cfg,
Set<String> onlineTables) |
static void |
setShuttingDown(IteratorSetting cfg,
Set<TServerInstance> servers) |
next, seek
getSource, getTopKey, getTopValue, hasTop, setSource
public void init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env) throws IOException
init
in interface SortedKeyValueIterator<Key,Value>
init
in class WrappingIterator
IOException
protected void consume() throws IOException
consume
in class SkippingIterator
IOException
public SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env)
deepCopy
in interface SortedKeyValueIterator<Key,Value>
deepCopy
in class WrappingIterator
public static void setCurrentServers(IteratorSetting cfg, Set<TServerInstance> goodServers)
public static void setOnlineTables(IteratorSetting cfg, Set<String> onlineTables)
public static void setMerges(IteratorSetting cfg, Collection<MergeInfo> merges)
public static void setMigrations(IteratorSetting cfg, Collection<KeyExtent> migrations)
public static void setMasterState(IteratorSetting cfg, MasterState state)
public static void setShuttingDown(IteratorSetting cfg, Set<TServerInstance> servers)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.