public static class OperatorFixture.MockOperatorContext extends BaseOperatorContext
allocator, context, manager, popConfig| Constructor and Description |
|---|
MockOperatorContext(FragmentContext fragContext,
BufferAllocator allocator,
PhysicalOperator config) |
| Modifier and Type | Method and Description |
|---|---|
OperatorStats |
getStats()
Drill statistics mechanism.
|
<RESULT> org.apache.drill.shaded.guava.com.google.common.util.concurrent.ListenableFuture<RESULT> |
runCallableAs(org.apache.hadoop.security.UserGroupInformation proxyUgi,
Callable<RESULT> callable)
Run the callable as the given proxy user.
|
close, getAllocator, getExecutionControls, getExecutor, getFragmentContext, getInjector, getManagedBuffer, getManagedBuffer, getName, getOperatorDefn, getScanDecodeExecutor, getScanExecutor, injectChecked, injectUnchecked, newFileSystem, newNonTrackingFileSystem, replace, setInjectorpublic MockOperatorContext(FragmentContext fragContext, BufferAllocator allocator, PhysicalOperator config)
public OperatorStats getStats()
OperatorContextpublic <RESULT> org.apache.drill.shaded.guava.com.google.common.util.concurrent.ListenableFuture<RESULT> runCallableAs(org.apache.hadoop.security.UserGroupInformation proxyUgi,
Callable<RESULT> callable)
OperatorContextRESULT - result typeproxyUgi - proxy user group informationcallable - callable to runCopyright © 2022 The Apache Software Foundation. All rights reserved.