Class MetaDataTableScanner
- java.lang.Object
-
- org.apache.accumulo.server.master.state.MetaDataTableScanner
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<TabletLocationState>,ClosableIterator<TabletLocationState>
public class MetaDataTableScanner extends Object implements ClosableIterator<TabletLocationState>
-
-
Constructor Summary
Constructors Constructor Description MetaDataTableScanner(ClientContext context, Range range)MetaDataTableScanner(ClientContext context, Range range, String tableName)MetaDataTableScanner(ClientContext context, Range range, CurrentState state)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static voidconfigureScanner(ScannerBase scanner, CurrentState state)static TabletLocationStatecreateTabletLocationState(Key k, Value v)protected voidfinalize()booleanhasNext()TabletLocationStatenext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
MetaDataTableScanner
public MetaDataTableScanner(ClientContext context, Range range, CurrentState state)
-
MetaDataTableScanner
public MetaDataTableScanner(ClientContext context, Range range)
-
MetaDataTableScanner
public MetaDataTableScanner(ClientContext context, Range range, String tableName)
-
-
Method Detail
-
configureScanner
public static void configureScanner(ScannerBase scanner, CurrentState state)
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<TabletLocationState>
-
next
public TabletLocationState next()
- Specified by:
nextin interfaceIterator<TabletLocationState>
-
createTabletLocationState
public static TabletLocationState createTabletLocationState(Key k, Value v) throws IOException, TabletLocationState.BadLocationStateException
-
remove
public void remove()
- Specified by:
removein interfaceIterator<TabletLocationState>
-
-