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<TabletFile,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 IteratorEnvironment
cloneWithSamplingEnabled()
Authorizations
getAuthorizations()
AccumuloConfiguration
getConfig()
Deprecated.IteratorUtil.IteratorScope
getIteratorScope()
SamplerConfiguration
getSamplerConfiguration()
ServerContext
getServerContext()
ServiceEnvironment
getServiceEnv()
Deprecated.TableId
getTableId()
SortedKeyValueIterator<Key,Value>
getTopLevelIterator(SortedKeyValueIterator<Key,Value> iter)
boolean
isFullMajorCompaction()
boolean
isSamplingEnabled()
boolean
isUserCompaction()
void
registerSideChannel(SortedKeyValueIterator<Key,Value> iter)
Deprecated.SortedKeyValueIterator<Key,Value>
reserveMapFileReader(String mapFileName)
Deprecated.-
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.iterators.IteratorEnvironment
getPluginEnv
-
-
-
-
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<TabletFile,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
-
getConfig
@Deprecated(since="2.0.0") public AccumuloConfiguration getConfig()
Deprecated.- Specified by:
getConfig
in interfaceIteratorEnvironment
-
getIteratorScope
public IteratorUtil.IteratorScope getIteratorScope()
- Specified by:
getIteratorScope
in interfaceIteratorEnvironment
-
isFullMajorCompaction
public boolean isFullMajorCompaction()
- Specified by:
isFullMajorCompaction
in interfaceIteratorEnvironment
-
isUserCompaction
public boolean isUserCompaction()
- Specified by:
isUserCompaction
in interfaceIteratorEnvironment
-
reserveMapFileReader
@Deprecated(since="2.0.0") public SortedKeyValueIterator<Key,Value> reserveMapFileReader(String mapFileName) throws IOException
Deprecated.- Specified by:
reserveMapFileReader
in interfaceIteratorEnvironment
- Throws:
IOException
-
registerSideChannel
@Deprecated(since="2.0.0") public void registerSideChannel(SortedKeyValueIterator<Key,Value> iter)
Deprecated.- Specified by:
registerSideChannel
in interfaceIteratorEnvironment
-
getAuthorizations
public Authorizations getAuthorizations()
- Specified by:
getAuthorizations
in interfaceIteratorEnvironment
-
getTopLevelIterator
public SortedKeyValueIterator<Key,Value> getTopLevelIterator(SortedKeyValueIterator<Key,Value> iter)
- Specified by:
getTopLevelIterator
in interfaceSystemIteratorEnvironment
-
isSamplingEnabled
public boolean isSamplingEnabled()
- Specified by:
isSamplingEnabled
in interfaceIteratorEnvironment
-
getSamplerConfiguration
public SamplerConfiguration getSamplerConfiguration()
- Specified by:
getSamplerConfiguration
in interfaceIteratorEnvironment
-
cloneWithSamplingEnabled
public IteratorEnvironment cloneWithSamplingEnabled()
- Specified by:
cloneWithSamplingEnabled
in interfaceIteratorEnvironment
-
getServerContext
public ServerContext getServerContext()
- Specified by:
getServerContext
in interfaceSystemIteratorEnvironment
-
getServiceEnv
@Deprecated(since="2.1.0") public ServiceEnvironment getServiceEnv()
Deprecated.- Specified by:
getServiceEnv
in interfaceIteratorEnvironment
-
getTableId
public TableId getTableId()
- Specified by:
getTableId
in interfaceIteratorEnvironment
-
-