Class ActiveScan


  • public abstract class ActiveScan
    extends Object
    A class that contains information about an ActiveScan
    • 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()
      • 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
      • 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
      • 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