Package org.apache.accumulo.tserver
Class TabletIteratorEnvironment
- java.lang.Object
-
- org.apache.accumulo.tserver.TabletIteratorEnvironment
-
- All Implemented Interfaces:
IteratorEnvironment,SystemIteratorEnvironment
public class TabletIteratorEnvironment extends Object implements SystemIteratorEnvironment
-
-
Constructor Summary
Constructors Constructor Description TabletIteratorEnvironment(ServerContext context, IteratorUtil.IteratorScope scope, boolean fullMajC, AccumuloConfiguration tableConfig, TableId tableId, MajorCompactionReason reason)TabletIteratorEnvironment(ServerContext context, IteratorUtil.IteratorScope scope, AccumuloConfiguration tableConfig, TableId tableId)TabletIteratorEnvironment(ServerContext context, IteratorUtil.IteratorScope scope, AccumuloConfiguration tableConfig, TableId tableId, FileManager.ScanFileManager trm, Map<FileRef,DataFileValue> files, Authorizations authorizations, SamplerConfigurationImpl samplerConfig, ArrayList<SortedKeyValueIterator<Key,Value>> topLevelIterators)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IteratorEnvironmentcloneWithSamplingEnabled()AuthorizationsgetAuthorizations()AccumuloConfigurationgetConfig()Deprecated.IteratorUtil.IteratorScopegetIteratorScope()SamplerConfigurationgetSamplerConfiguration()ServerContextgetServerContext()ServiceEnvironmentgetServiceEnv()TableIdgetTableId()SortedKeyValueIterator<Key,Value>getTopLevelIterator(SortedKeyValueIterator<Key,Value> iter)booleanisFullMajorCompaction()booleanisSamplingEnabled()booleanisUserCompaction()voidregisterSideChannel(SortedKeyValueIterator<Key,Value> iter)Deprecated.SortedKeyValueIterator<Key,Value>reserveMapFileReader(String mapFileName)Deprecated.
-
-
-
Constructor Detail
-
TabletIteratorEnvironment
public TabletIteratorEnvironment(ServerContext context, IteratorUtil.IteratorScope scope, AccumuloConfiguration tableConfig, TableId tableId)
-
TabletIteratorEnvironment
public TabletIteratorEnvironment(ServerContext context, IteratorUtil.IteratorScope scope, AccumuloConfiguration tableConfig, TableId tableId, FileManager.ScanFileManager trm, Map<FileRef,DataFileValue> files, Authorizations authorizations, SamplerConfigurationImpl samplerConfig, ArrayList<SortedKeyValueIterator<Key,Value>> topLevelIterators)
-
TabletIteratorEnvironment
public TabletIteratorEnvironment(ServerContext context, IteratorUtil.IteratorScope scope, boolean fullMajC, AccumuloConfiguration tableConfig, TableId tableId, MajorCompactionReason reason)
-
-
Method Detail
-
getConfig
@Deprecated public AccumuloConfiguration getConfig()
Deprecated.- Specified by:
getConfigin interfaceIteratorEnvironment
-
getIteratorScope
public IteratorUtil.IteratorScope getIteratorScope()
- Specified by:
getIteratorScopein interfaceIteratorEnvironment
-
isFullMajorCompaction
public boolean isFullMajorCompaction()
- Specified by:
isFullMajorCompactionin interfaceIteratorEnvironment
-
isUserCompaction
public boolean isUserCompaction()
- Specified by:
isUserCompactionin interfaceIteratorEnvironment
-
reserveMapFileReader
@Deprecated public SortedKeyValueIterator<Key,Value> reserveMapFileReader(String mapFileName) throws IOException
Deprecated.- Specified by:
reserveMapFileReaderin interfaceIteratorEnvironment- Throws:
IOException
-
registerSideChannel
@Deprecated public void registerSideChannel(SortedKeyValueIterator<Key,Value> iter)
Deprecated.- Specified by:
registerSideChannelin interfaceIteratorEnvironment
-
getAuthorizations
public Authorizations getAuthorizations()
- Specified by:
getAuthorizationsin interfaceIteratorEnvironment
-
getTopLevelIterator
public SortedKeyValueIterator<Key,Value> getTopLevelIterator(SortedKeyValueIterator<Key,Value> iter)
-
isSamplingEnabled
public boolean isSamplingEnabled()
- Specified by:
isSamplingEnabledin interfaceIteratorEnvironment
-
getSamplerConfiguration
public SamplerConfiguration getSamplerConfiguration()
- Specified by:
getSamplerConfigurationin interfaceIteratorEnvironment
-
cloneWithSamplingEnabled
public IteratorEnvironment cloneWithSamplingEnabled()
- Specified by:
cloneWithSamplingEnabledin interfaceIteratorEnvironment
-
getServerContext
public ServerContext getServerContext()
- Specified by:
getServerContextin interfaceSystemIteratorEnvironment
-
getServiceEnv
public ServiceEnvironment getServiceEnv()
- Specified by:
getServiceEnvin interfaceIteratorEnvironment
-
getTableId
public TableId getTableId()
- Specified by:
getTableIdin interfaceIteratorEnvironment
-
-