org.apache.accumulo.core.client.impl
Class ActiveScanImpl
java.lang.Object
org.apache.accumulo.core.client.admin.ActiveScan
org.apache.accumulo.core.client.impl.ActiveScanImpl
public class ActiveScanImpl
- extends ActiveScan
A class that contains information about an ActiveScan
- Since:
- 1.6.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getScanid
public long getScanid()
- Specified by:
getScanid
in class ActiveScan
- Returns:
- an id that uniquely identifies that scan on the server
getClient
public String getClient()
- Specified by:
getClient
in class ActiveScan
- Returns:
- the address of the client that initiated the scan
getUser
public String getUser()
- Specified by:
getUser
in class ActiveScan
- Returns:
- the user that initiated the scan
getTable
public String getTable()
- Specified by:
getTable
in class ActiveScan
- Returns:
- the table the scan is running against
getAge
public long getAge()
- Specified by:
getAge
in class ActiveScan
- Returns:
- the age of the scan in milliseconds
getLastContactTime
public long getLastContactTime()
- Specified by:
getLastContactTime
in class ActiveScan
- Returns:
- milliseconds since last time client read data from the scan
getType
public ScanType getType()
- Specified by:
getType
in class ActiveScan
getState
public ScanState getState()
- Specified by:
getState
in class ActiveScan
getExtent
public KeyExtent getExtent()
- Specified by:
getExtent
in class ActiveScan
- 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 class ActiveScan
- Returns:
- columns requested by the scan
getSsiList
public List<String> getSsiList()
- Specified by:
getSsiList
in class ActiveScan
- Returns:
- server side iterators used by the scan
getSsio
public Map<String,Map<String,String>> getSsio()
- Specified by:
getSsio
in class ActiveScan
- Returns:
- server side iterator options
getAuthorizations
public Authorizations getAuthorizations()
- Specified by:
getAuthorizations
in class ActiveScan
- Returns:
- the authorizations being used for this scan
getIdleTime
public long getIdleTime()
- Specified by:
getIdleTime
in class ActiveScan
- Returns:
- the time this scan has been idle in the tablet server
Copyright © 2015 Apache Accumulo Project. All rights reserved.