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 class
ScanSession.ScanMeasurer
static interface
ScanSession.TabletResolver
-
Nested classes/interfaces inherited from interface org.apache.accumulo.core.spi.scan.ScanInfo
ScanInfo.Type
-
-
Field Summary
Fields Modifier and Type Field Description Stat
runStats
ScanParameters
scanParams
-
Fields inherited from class org.apache.accumulo.tserver.session.Session
client, lastAccessTime, startTime
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cleanup()
void
finishedRun(long start, long finish)
Collection<IteratorConfiguration>
getClientScanIterators()
long
getCreationTime()
Map<String,String>
getExecutionHints()
Set<Column>
getFetchedColumns()
Stats
getIdleTimeStats()
Stats
getIdleTimeStats(long currentTime)
OptionalLong
getLastRunTime()
Stats
getRunTimeStats()
ScanSession.TabletResolver
getTabletResolver()
static ScanSession.ScanMeasurer
wrap(ScanSession scanInfo, Runnable r)
-
Methods inherited from class org.apache.accumulo.tserver.session.Session
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
-
-
-
-
Field Detail
-
runStats
public Stat runStats
-
scanParams
public final ScanParameters scanParams
-
-
Method Detail
-
wrap
public static ScanSession.ScanMeasurer wrap(ScanSession scanInfo, Runnable r)
-
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTime
in interfaceScanInfo
-
getLastRunTime
public OptionalLong getLastRunTime()
- Specified by:
getLastRunTime
in interfaceScanInfo
-
getRunTimeStats
public Stats getRunTimeStats()
- Specified by:
getRunTimeStats
in interfaceScanInfo
-
getIdleTimeStats
public Stats getIdleTimeStats()
- Specified by:
getIdleTimeStats
in interfaceScanInfo
-
getIdleTimeStats
public Stats getIdleTimeStats(long currentTime)
- Specified by:
getIdleTimeStats
in interfaceScanInfo
-
getFetchedColumns
public Set<Column> getFetchedColumns()
- Specified by:
getFetchedColumns
in interfaceScanInfo
-
getClientScanIterators
public Collection<IteratorConfiguration> getClientScanIterators()
- Specified by:
getClientScanIterators
in interfaceScanInfo
-
getExecutionHints
public Map<String,String> getExecutionHints()
- Specified by:
getExecutionHints
in interfaceScanInfo
-
finishedRun
public void finishedRun(long start, long finish)
-
getTabletResolver
public ScanSession.TabletResolver getTabletResolver()
-
-