Class TabletStateChangeIterator
- java.lang.Object
-
- org.apache.accumulo.core.iterators.WrappingIterator
-
- org.apache.accumulo.core.iterators.SkippingIterator
-
- org.apache.accumulo.server.manager.state.TabletStateChangeIterator
-
- All Implemented Interfaces:
SortedKeyValueIterator<Key,Value>,YieldingKeyValueIterator<Key,Value>
public class TabletStateChangeIterator extends SkippingIterator
-
-
Constructor Summary
Constructors Constructor Description TabletStateChangeIterator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconsume()SortedKeyValueIterator<Key,Value>deepCopy(IteratorEnvironment env)voidinit(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)static voidsetCurrentServers(IteratorSetting cfg, Set<TServerInstance> goodServers)static voidsetManagerState(IteratorSetting cfg, ManagerState state)static voidsetMerges(IteratorSetting cfg, Collection<MergeInfo> merges)static voidsetMigrations(IteratorSetting cfg, Collection<KeyExtent> migrations)static voidsetOnlineTables(IteratorSetting cfg, Set<TableId> onlineTables)static voidsetShuttingDown(IteratorSetting cfg, Set<TServerInstance> servers)-
Methods inherited from class org.apache.accumulo.core.iterators.SkippingIterator
next, seek
-
Methods inherited from class org.apache.accumulo.core.iterators.WrappingIterator
getSource, getTopKey, getTopValue, hasTop, isRunningLowOnMemory, setSource
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.core.iterators.YieldingKeyValueIterator
enableYielding
-
-
-
-
Method Detail
-
init
public void init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env) throws IOException
- Specified by:
initin interfaceSortedKeyValueIterator<Key,Value>- Overrides:
initin classWrappingIterator- Throws:
IOException
-
consume
protected void consume() throws IOException- Specified by:
consumein classSkippingIterator- Throws:
IOException
-
deepCopy
public SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env)
- Specified by:
deepCopyin interfaceSortedKeyValueIterator<Key,Value>- Overrides:
deepCopyin classWrappingIterator
-
setCurrentServers
public static void setCurrentServers(IteratorSetting cfg, Set<TServerInstance> goodServers)
-
setOnlineTables
public static void setOnlineTables(IteratorSetting cfg, Set<TableId> onlineTables)
-
setMerges
public static void setMerges(IteratorSetting cfg, Collection<MergeInfo> merges)
-
setMigrations
public static void setMigrations(IteratorSetting cfg, Collection<KeyExtent> migrations)
-
setManagerState
public static void setManagerState(IteratorSetting cfg, ManagerState state)
-
setShuttingDown
public static void setShuttingDown(IteratorSetting cfg, Set<TServerInstance> servers)
-
-