Class MetaDataTableScanner
- java.lang.Object
-
- org.apache.accumulo.server.manager.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, String tableName)
-
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)booleanhasNext()TabletLocationStatenext()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
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
-
-