public class MetaDataTableScanner extends Object implements ClosableIterator<TabletLocationState>
Constructor and Description |
---|
MetaDataTableScanner(ClientContext context,
Range range) |
MetaDataTableScanner(ClientContext context,
Range range,
CurrentState state) |
MetaDataTableScanner(ClientContext context,
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() |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public MetaDataTableScanner(ClientContext context, Range range, CurrentState state)
public MetaDataTableScanner(ClientContext context, Range range)
public MetaDataTableScanner(ClientContext context, Range range, String tableName)
public static void configureScanner(ScannerBase scanner, CurrentState state)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
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–2018 The Apache Software Foundation. All rights reserved.