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 longgetAge()AuthorizationsgetAuthorizations()StringgetClient()List<Column>getColumns()longgetIdleTime()longgetLastContactTime()longgetScanid()List<String>getSsiList()Map<String,Map<String,String>>getSsio()ScanStategetState()StringgetTable()TabletIdgetTablet()ScanTypegetType()StringgetUser()
-
-
-
Method Detail
-
getScanid
public long getScanid()
- Specified by:
getScanidin classActiveScan- Returns:
- an id that uniquely identifies that scan on the server
-
getClient
public String getClient()
- Specified by:
getClientin classActiveScan- Returns:
- the address of the client that initiated the scan
-
getUser
public String getUser()
- Specified by:
getUserin classActiveScan- Returns:
- the user that initiated the scan
-
getTable
public String getTable()
- Specified by:
getTablein classActiveScan- Returns:
- the table the scan is running against
-
getAge
public long getAge()
- Specified by:
getAgein classActiveScan- Returns:
- the age of the scan in milliseconds
-
getLastContactTime
public long getLastContactTime()
- Specified by:
getLastContactTimein classActiveScan- Returns:
- milliseconds since last time client read data from the scan
-
getType
public ScanType getType()
- Specified by:
getTypein classActiveScan
-
getState
public ScanState getState()
- Specified by:
getStatein classActiveScan
-
getTablet
public TabletId getTablet()
- Specified by:
getTabletin 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:
getColumnsin classActiveScan- Returns:
- columns requested by the scan
-
getSsiList
public List<String> getSsiList()
- Specified by:
getSsiListin classActiveScan- Returns:
- server side iterators used by the scan
-
getSsio
public Map<String,Map<String,String>> getSsio()
- Specified by:
getSsioin classActiveScan- Returns:
- server side iterator options
-
getAuthorizations
public Authorizations getAuthorizations()
- Specified by:
getAuthorizationsin classActiveScan- Returns:
- the authorizations being used for this scan
-
getIdleTime
public long getIdleTime()
- Specified by:
getIdleTimein classActiveScan- Returns:
- the time this scan has been idle in the tablet server
-
-