Class TabletIteratorEnvironment
- java.lang.Object
-
- org.apache.accumulo.server.iterators.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, CompactionKind kind)TabletIteratorEnvironment(ServerContext context, IteratorUtil.IteratorScope scope, AccumuloConfiguration tableConfig, TableId tableId)TabletIteratorEnvironment(ServerContext context, IteratorUtil.IteratorScope scope, AccumuloConfiguration tableConfig, TableId tableId, FileManager.ScanFileManager trm, Map<StoredTabletFile,DataFileValue> files, Authorizations authorizations, SamplerConfigurationImpl samplerConfig, ArrayList<SortedKeyValueIterator<Key,Value>> topLevelIterators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IteratorEnvironmentcloneWithSamplingEnabled()AuthorizationsgetAuthorizations()IteratorUtil.IteratorScopegetIteratorScope()PluginEnvironmentgetPluginEnv()SamplerConfigurationgetSamplerConfiguration()ServerContextgetServerContext()TableIdgetTableId()SortedKeyValueIterator<Key,Value>getTopLevelIterator(SortedKeyValueIterator<Key,Value> iter)booleanisFullMajorCompaction()booleanisSamplingEnabled()booleanisUserCompaction()-
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.server.iterators.SystemIteratorEnvironment
isRunningLowOnMemory
-
-
-
-
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<StoredTabletFile,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, CompactionKind kind)
-
-
Method Detail
-
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
-
getAuthorizations
public Authorizations getAuthorizations()
- Specified by:
getAuthorizationsin interfaceIteratorEnvironment
-
getTopLevelIterator
public SortedKeyValueIterator<Key,Value> getTopLevelIterator(SortedKeyValueIterator<Key,Value> iter)
- Specified by:
getTopLevelIteratorin interfaceSystemIteratorEnvironment
-
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
-
getPluginEnv
public PluginEnvironment getPluginEnv()
- Specified by:
getPluginEnvin interfaceIteratorEnvironment
-
getTableId
public TableId getTableId()
- Specified by:
getTableIdin interfaceIteratorEnvironment
-
-