org.apache.accumulo.server.util
Class OfflineMetadataScanner

java.lang.Object
  extended by org.apache.accumulo.core.client.impl.ScannerOptions
      extended by org.apache.accumulo.server.util.OfflineMetadataScanner
All Implemented Interfaces:
Iterable<Map.Entry<Key,Value>>, Scanner, ScannerBase

public class OfflineMetadataScanner
extends ScannerOptions
implements Scanner


Field Summary
 
Fields inherited from class org.apache.accumulo.core.client.impl.ScannerOptions
fetchedColumns, serverSideIteratorList, serverSideIteratorOptions, timeOut
 
Constructor Summary
OfflineMetadataScanner(AccumuloConfiguration conf, org.apache.hadoop.fs.FileSystem fs)
           
 
Method Summary
 void disableIsolation()
           
 void enableIsolation()
           
 int getBatchSize()
           
 Range getRange()
           
 int getTimeOut()
          Deprecated. 
 Iterator<Map.Entry<Key,Value>> iterator()
           
static void main(String[] args)
           
 void setBatchSize(int size)
           
 void setRange(Range range)
           
 void setTimeOut(int timeOut)
          Deprecated. 
 
Methods inherited from class org.apache.accumulo.core.client.impl.ScannerOptions
addScanIterator, clearColumns, clearScanIterators, close, fetchColumn, fetchColumn, fetchColumnFamily, getFetchedColumns, getTimeout, removeScanIterator, setOptions, setTimeout, updateScanIteratorOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.accumulo.core.client.ScannerBase
addScanIterator, clearColumns, clearScanIterators, close, fetchColumn, fetchColumnFamily, getTimeout, removeScanIterator, setTimeout, updateScanIteratorOption
 

Constructor Detail

OfflineMetadataScanner

public OfflineMetadataScanner(AccumuloConfiguration conf,
                              org.apache.hadoop.fs.FileSystem fs)
                       throws IOException
Throws:
IOException
Method Detail

getBatchSize

public int getBatchSize()
Specified by:
getBatchSize in interface Scanner

getRange

public Range getRange()
Specified by:
getRange in interface Scanner

getTimeOut

@Deprecated
public int getTimeOut()
Deprecated. 

Specified by:
getTimeOut in interface Scanner

iterator

public Iterator<Map.Entry<Key,Value>> iterator()
Specified by:
iterator in interface Iterable<Map.Entry<Key,Value>>
Specified by:
iterator in interface ScannerBase
Overrides:
iterator in class ScannerOptions

setBatchSize

public void setBatchSize(int size)
Specified by:
setBatchSize in interface Scanner

setRange

public void setRange(Range range)
Specified by:
setRange in interface Scanner

setTimeOut

@Deprecated
public void setTimeOut(int timeOut)
Deprecated. 

Specified by:
setTimeOut in interface Scanner

enableIsolation

public void enableIsolation()
Specified by:
enableIsolation in interface Scanner

disableIsolation

public void disableIsolation()
Specified by:
disableIsolation in interface Scanner

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.