Class ActiveScan
- java.lang.Object
-
- 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
Constructors Constructor Description ActiveScan()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract long
getAge()
abstract Authorizations
getAuthorizations()
abstract String
getClient()
abstract List<Column>
getColumns()
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 TabletId
getTablet()
abstract ScanType
getType()
abstract String
getUser()
-
-
-
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()
-
getTablet
public abstract TabletId getTablet()
- Returns:
- tablet the scan is running against, if a batch scan may be one of many or null
- Since:
- 1.7.0
-
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
-
-