org.apache.accumulo.server.master.state
public class MetaDataTableScanner extends Object implements Iterator<TabletLocationState>
Constructor and Description |
---|
MetaDataTableScanner(Instance instance,
TCredentials auths,
Range range) |
MetaDataTableScanner(Instance instance,
TCredentials auths,
Range range,
CurrentState state) |
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, TCredentials auths, Range range, CurrentState state)
public MetaDataTableScanner(Instance instance, TCredentials auths, Range range)
public static void configureScanner(ScannerBase scanner, CurrentState state)
public void close()
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 © 2015 Apache Accumulo Project. All Rights Reserved.