org.apache.accumulo.server.master.state
Class MetaDataTableScanner

java.lang.Object
  extended by org.apache.accumulo.server.master.state.MetaDataTableScanner
All Implemented Interfaces:
Iterator<TabletLocationState>

public class MetaDataTableScanner
extends Object
implements Iterator<TabletLocationState>


Constructor Summary
MetaDataTableScanner(Instance instance, AuthInfo auths, Range range)
           
MetaDataTableScanner(Instance instance, AuthInfo auths, Range range, CurrentState state)
           
 
Method Summary
 void close()
           
static void configureScanner(ScannerBase scanner, CurrentState state)
           
static TabletLocationState createTabletLocationState(Key k, Value v)
           
 void finalize()
           
 boolean hasNext()
           
 TabletLocationState next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataTableScanner

public MetaDataTableScanner(Instance instance,
                            AuthInfo auths,
                            Range range,
                            CurrentState state)

MetaDataTableScanner

public MetaDataTableScanner(Instance instance,
                            AuthInfo auths,
                            Range range)
Method Detail

configureScanner

public static void configureScanner(ScannerBase scanner,
                                    CurrentState state)

close

public void close()

finalize

public void finalize()
Overrides:
finalize in class Object

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<TabletLocationState>

next

public TabletLocationState next()
Specified by:
next in interface Iterator<TabletLocationState>

createTabletLocationState

public static TabletLocationState createTabletLocationState(Key k,
                                                            Value v)
                                                     throws IOException
Throws:
IOException

remove

public void remove()
Specified by:
remove in interface Iterator<TabletLocationState>


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.