Class ActiveScanImpl
- java.lang.Object
-
- org.apache.accumulo.core.client.admin.ActiveScan
-
- org.apache.accumulo.core.clientImpl.ActiveScanImpl
-
public class ActiveScanImpl extends ActiveScan
A class that contains information about an ActiveScan- Since:
- 1.6.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAge()
Authorizations
getAuthorizations()
String
getClient()
List<Column>
getColumns()
long
getIdleTime()
long
getLastContactTime()
long
getScanid()
List<String>
getSsiList()
Map<String,Map<String,String>>
getSsio()
ScanState
getState()
String
getTable()
TabletId
getTablet()
ScanType
getType()
String
getUser()
-
-
-
Method Detail
-
getScanid
public long getScanid()
- Specified by:
getScanid
in classActiveScan
- Returns:
- an id that uniquely identifies that scan on the server
-
getClient
public String getClient()
- Specified by:
getClient
in classActiveScan
- Returns:
- the address of the client that initiated the scan
-
getUser
public String getUser()
- Specified by:
getUser
in classActiveScan
- Returns:
- the user that initiated the scan
-
getTable
public String getTable()
- Specified by:
getTable
in classActiveScan
- Returns:
- the table the scan is running against
-
getAge
public long getAge()
- Specified by:
getAge
in classActiveScan
- Returns:
- the age of the scan in milliseconds
-
getLastContactTime
public long getLastContactTime()
- Specified by:
getLastContactTime
in classActiveScan
- Returns:
- milliseconds since last time client read data from the scan
-
getType
public ScanType getType()
- Specified by:
getType
in classActiveScan
-
getState
public ScanState getState()
- Specified by:
getState
in classActiveScan
-
getTablet
public TabletId getTablet()
- Specified by:
getTablet
in classActiveScan
- Returns:
- tablet the scan is running against, if a batch scan may be one of many or null
-
getColumns
public List<Column> getColumns()
- Specified by:
getColumns
in classActiveScan
- Returns:
- columns requested by the scan
-
getSsiList
public List<String> getSsiList()
- Specified by:
getSsiList
in classActiveScan
- Returns:
- server side iterators used by the scan
-
getSsio
public Map<String,Map<String,String>> getSsio()
- Specified by:
getSsio
in classActiveScan
- Returns:
- server side iterator options
-
getAuthorizations
public Authorizations getAuthorizations()
- Specified by:
getAuthorizations
in classActiveScan
- Returns:
- the authorizations being used for this scan
-
getIdleTime
public long getIdleTime()
- Specified by:
getIdleTime
in classActiveScan
- Returns:
- the time this scan has been idle in the tablet server
-
-