org.apache.accumulo.server.master.state
public class MetaDataTableScanner extends Object implements ClosableIterator<TabletLocationState>
| Constructor and Description |
|---|
MetaDataTableScanner(Instance instance,
Credentials credentials,
Range range) |
MetaDataTableScanner(Instance instance,
Credentials credentials,
Range range,
CurrentState state) |
MetaDataTableScanner(Instance instance,
Credentials credentials,
Range range,
String tableName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static void |
configureScanner(ScannerBase scanner,
CurrentState state) |
static TabletLocationState |
createTabletLocationState(Key k,
Value v) |
protected void |
finalize() |
boolean |
hasNext() |
TabletLocationState |
next() |
void |
remove() |
public MetaDataTableScanner(Instance instance, Credentials credentials, Range range, CurrentState state)
public MetaDataTableScanner(Instance instance, Credentials credentials, Range range)
public MetaDataTableScanner(Instance instance, Credentials credentials, Range range, String tableName)
public static void configureScanner(ScannerBase scanner, CurrentState state)
public boolean hasNext()
hasNext in interface Iterator<TabletLocationState>public TabletLocationState next()
next in interface Iterator<TabletLocationState>public static TabletLocationState createTabletLocationState(Key k, Value v) throws IOException, TabletLocationState.BadLocationStateException
public void remove()
remove in interface Iterator<TabletLocationState>Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.