Class ScanSession
- java.lang.Object
-
- org.apache.accumulo.tserver.session.Session
-
- org.apache.accumulo.tserver.session.ScanSession
-
- All Implemented Interfaces:
ScanInfo
- Direct Known Subclasses:
MultiScanSession,SingleScanSession
public abstract class ScanSession extends Session implements ScanInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScanSession.ScanMeasurer-
Nested classes/interfaces inherited from interface org.apache.accumulo.core.spi.scan.ScanInfo
ScanInfo.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinishedRun(long start, long finish)Collection<IteratorConfiguration>getClientScanIterators()longgetCreationTime()Map<String,String>getExecutionHints()Set<Column>getFetchedColumns()StatsgetIdleTimeStats()StatsgetIdleTimeStats(long currentTime)OptionalLonggetLastRunTime()StatsgetRunTimeStats()static ScanSession.ScanMeasurerwrap(ScanSession scanInfo, Runnable r)-
Methods inherited from class org.apache.accumulo.tserver.session.Session
cleanup, getCredentials, getUser
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.core.spi.scan.ScanInfo
getScanType, getTableId
-
-
-
-
Method Detail
-
wrap
public static ScanSession.ScanMeasurer wrap(ScanSession scanInfo, Runnable r)
-
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTimein interfaceScanInfo
-
getLastRunTime
public OptionalLong getLastRunTime()
- Specified by:
getLastRunTimein interfaceScanInfo
-
getRunTimeStats
public Stats getRunTimeStats()
- Specified by:
getRunTimeStatsin interfaceScanInfo
-
getIdleTimeStats
public Stats getIdleTimeStats()
- Specified by:
getIdleTimeStatsin interfaceScanInfo
-
getIdleTimeStats
public Stats getIdleTimeStats(long currentTime)
- Specified by:
getIdleTimeStatsin interfaceScanInfo
-
getFetchedColumns
public Set<Column> getFetchedColumns()
- Specified by:
getFetchedColumnsin interfaceScanInfo
-
getClientScanIterators
public Collection<IteratorConfiguration> getClientScanIterators()
- Specified by:
getClientScanIteratorsin interfaceScanInfo
-
getExecutionHints
public Map<String,String> getExecutionHints()
- Specified by:
getExecutionHintsin interfaceScanInfo
-
finishedRun
public void finishedRun(long start, long finish)
-
-