Class SingleScanSession
- java.lang.Object
-
- org.apache.accumulo.tserver.session.Session
-
- org.apache.accumulo.tserver.session.ScanSession
-
- org.apache.accumulo.tserver.session.SingleScanSession
-
- All Implemented Interfaces:
ScanInfo
public class SingleScanSession extends ScanSession
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.tserver.session.ScanSession
ScanSession.ScanMeasurer
-
Nested classes/interfaces inherited from interface org.apache.accumulo.core.spi.scan.ScanInfo
ScanInfo.Type
-
-
Field Summary
Fields Modifier and Type Field Description long
batchCount
long
batchTimeOut
String
context
long
entriesReturned
KeyExtent
extent
AtomicBoolean
interruptFlag
ScanTask<ScanBatch>
nextBatchTask
long
readaheadThreshold
Scanner
scanner
-
Fields inherited from class org.apache.accumulo.tserver.session.ScanSession
auths, columnSet, runStats, ssiList, ssio
-
Fields inherited from class org.apache.accumulo.tserver.session.Session
client, lastAccessTime, startTime
-
-
Constructor Summary
Constructors Constructor Description SingleScanSession(TCredentials credentials, KeyExtent extent, HashSet<Column> columnSet, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, Authorizations authorizations, long readaheadThreshold, long batchTimeOut, String context, Map<String,String> executionHints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cleanup()
ScanInfo.Type
getScanType()
TableId
getTableId()
-
Methods inherited from class org.apache.accumulo.tserver.session.ScanSession
finishedRun, getClientScanIterators, getCreationTime, getExecutionHints, getFetchedColumns, getIdleTimeStats, getIdleTimeStats, getLastRunTime, getRunTimeStats, wrap
-
Methods inherited from class org.apache.accumulo.tserver.session.Session
getCredentials, getUser
-
-
-
-
Field Detail
-
extent
public final KeyExtent extent
-
interruptFlag
public final AtomicBoolean interruptFlag
-
entriesReturned
public long entriesReturned
-
batchCount
public long batchCount
-
scanner
public Scanner scanner
-
readaheadThreshold
public final long readaheadThreshold
-
batchTimeOut
public final long batchTimeOut
-
context
public final String context
-
-
Constructor Detail
-
SingleScanSession
public SingleScanSession(TCredentials credentials, KeyExtent extent, HashSet<Column> columnSet, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, Authorizations authorizations, long readaheadThreshold, long batchTimeOut, String context, Map<String,String> executionHints)
-
-
Method Detail
-
getScanType
public ScanInfo.Type getScanType()
-
getTableId
public TableId getTableId()
-
-