org.apache.accumulo.core.client.admin
Class ActiveScan

java.lang.Object
  extended by org.apache.accumulo.core.client.admin.ActiveScan
Direct Known Subclasses:
ActiveScanImpl

public abstract class ActiveScan
extends Object

A class that contains information about an ActiveScan


Constructor Summary
ActiveScan()
           
 
Method Summary
abstract  long getAge()
           
abstract  Authorizations getAuthorizations()
           
abstract  String getClient()
           
abstract  List<Column> getColumns()
           
abstract  KeyExtent getExtent()
           
abstract  long getIdleTime()
           
abstract  long getLastContactTime()
           
abstract  long getScanid()
           
abstract  List<String> getSsiList()
           
abstract  Map<String,Map<String,String>> getSsio()
           
abstract  ScanState getState()
           
abstract  String getTable()
           
abstract  ScanType getType()
           
abstract  String getUser()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveScan

public ActiveScan()
Method Detail

getScanid

public abstract long getScanid()
Returns:
an id that uniquely identifies that scan on the server

getClient

public abstract String getClient()
Returns:
the address of the client that initiated the scan

getUser

public abstract String getUser()
Returns:
the user that initiated the scan

getTable

public abstract String getTable()
Returns:
the table the scan is running against

getAge

public abstract long getAge()
Returns:
the age of the scan in milliseconds

getLastContactTime

public abstract long getLastContactTime()
Returns:
milliseconds since last time client read data from the scan

getType

public abstract ScanType getType()

getState

public abstract ScanState getState()

getExtent

public abstract KeyExtent getExtent()
Returns:
tablet the scan is running against, if a batch scan may be one of many or null

getColumns

public abstract List<Column> getColumns()
Returns:
columns requested by the scan

getSsiList

public abstract List<String> getSsiList()
Returns:
server side iterators used by the scan

getSsio

public abstract Map<String,Map<String,String>> getSsio()
Returns:
server side iterator options

getAuthorizations

public abstract Authorizations getAuthorizations()
Returns:
the authorizations being used for this scan
Since:
1.5.0

getIdleTime

public abstract long getIdleTime()
Returns:
the time this scan has been idle in the tablet server
Since:
1.5.0


Copyright © 2015 Apache Accumulo Project. All rights reserved.