mirror of https://github.com/apache/druid.git
Remove some unnecessary JoinableFactoryWrappers. (#17051)
* Remove some unnecessary JoinableFactoryWrappers. * Remove unused import.
This commit is contained in:
parent
5b7fb5fbca
commit
d789723331
|
@ -47,7 +47,6 @@ import org.apache.druid.query.ResourceLimitExceededException;
|
||||||
import org.apache.druid.query.SegmentDescriptor;
|
import org.apache.druid.query.SegmentDescriptor;
|
||||||
import org.apache.druid.segment.ReferenceCountingSegment;
|
import org.apache.druid.segment.ReferenceCountingSegment;
|
||||||
import org.apache.druid.segment.SegmentReference;
|
import org.apache.druid.segment.SegmentReference;
|
||||||
import org.apache.druid.segment.join.JoinableFactoryWrapper;
|
|
||||||
import org.apache.druid.server.SegmentManager;
|
import org.apache.druid.server.SegmentManager;
|
||||||
import org.apache.druid.server.coordination.ServerManager;
|
import org.apache.druid.server.coordination.ServerManager;
|
||||||
import org.apache.druid.server.initialization.ServerConfig;
|
import org.apache.druid.server.initialization.ServerConfig;
|
||||||
|
@ -98,7 +97,6 @@ public class ServerManagerForQueryErrorTest extends ServerManager
|
||||||
Cache cache,
|
Cache cache,
|
||||||
CacheConfig cacheConfig,
|
CacheConfig cacheConfig,
|
||||||
SegmentManager segmentManager,
|
SegmentManager segmentManager,
|
||||||
JoinableFactoryWrapper joinableFactoryWrapper,
|
|
||||||
ServerConfig serverConfig
|
ServerConfig serverConfig
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -111,7 +109,6 @@ public class ServerManagerForQueryErrorTest extends ServerManager
|
||||||
cache,
|
cache,
|
||||||
cacheConfig,
|
cacheConfig,
|
||||||
segmentManager,
|
segmentManager,
|
||||||
joinableFactoryWrapper,
|
|
||||||
serverConfig
|
serverConfig
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,6 @@ import org.apache.druid.query.ResourceLimitExceededException;
|
||||||
import org.apache.druid.query.SegmentDescriptor;
|
import org.apache.druid.query.SegmentDescriptor;
|
||||||
import org.apache.druid.segment.ReferenceCountingSegment;
|
import org.apache.druid.segment.ReferenceCountingSegment;
|
||||||
import org.apache.druid.segment.SegmentReference;
|
import org.apache.druid.segment.SegmentReference;
|
||||||
import org.apache.druid.segment.join.JoinableFactoryWrapper;
|
|
||||||
import org.apache.druid.server.SegmentManager;
|
import org.apache.druid.server.SegmentManager;
|
||||||
import org.apache.druid.server.initialization.ServerConfig;
|
import org.apache.druid.server.initialization.ServerConfig;
|
||||||
import org.apache.druid.timeline.VersionedIntervalTimeline;
|
import org.apache.druid.timeline.VersionedIntervalTimeline;
|
||||||
|
@ -96,7 +95,6 @@ public class ServerManagerForQueryErrorTest extends ServerManager
|
||||||
Cache cache,
|
Cache cache,
|
||||||
CacheConfig cacheConfig,
|
CacheConfig cacheConfig,
|
||||||
SegmentManager segmentManager,
|
SegmentManager segmentManager,
|
||||||
JoinableFactoryWrapper joinableFactoryWrapper,
|
|
||||||
ServerConfig serverConfig
|
ServerConfig serverConfig
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -109,7 +107,6 @@ public class ServerManagerForQueryErrorTest extends ServerManager
|
||||||
cache,
|
cache,
|
||||||
cacheConfig,
|
cacheConfig,
|
||||||
segmentManager,
|
segmentManager,
|
||||||
joinableFactoryWrapper,
|
|
||||||
serverConfig
|
serverConfig
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,7 +59,6 @@ import org.apache.druid.query.spec.SpecificSegmentSpec;
|
||||||
import org.apache.druid.segment.ReferenceCountingSegment;
|
import org.apache.druid.segment.ReferenceCountingSegment;
|
||||||
import org.apache.druid.segment.SegmentReference;
|
import org.apache.druid.segment.SegmentReference;
|
||||||
import org.apache.druid.segment.TimeBoundaryInspector;
|
import org.apache.druid.segment.TimeBoundaryInspector;
|
||||||
import org.apache.druid.segment.join.JoinableFactoryWrapper;
|
|
||||||
import org.apache.druid.server.ResourceIdPopulatingQueryRunner;
|
import org.apache.druid.server.ResourceIdPopulatingQueryRunner;
|
||||||
import org.apache.druid.server.SegmentManager;
|
import org.apache.druid.server.SegmentManager;
|
||||||
import org.apache.druid.server.SetAndVerifyContextQueryRunner;
|
import org.apache.druid.server.SetAndVerifyContextQueryRunner;
|
||||||
|
@ -90,7 +89,6 @@ public class ServerManager implements QuerySegmentWalker
|
||||||
private final ObjectMapper objectMapper;
|
private final ObjectMapper objectMapper;
|
||||||
private final CacheConfig cacheConfig;
|
private final CacheConfig cacheConfig;
|
||||||
private final SegmentManager segmentManager;
|
private final SegmentManager segmentManager;
|
||||||
private final JoinableFactoryWrapper joinableFactoryWrapper;
|
|
||||||
private final ServerConfig serverConfig;
|
private final ServerConfig serverConfig;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
|
@ -103,7 +101,6 @@ public class ServerManager implements QuerySegmentWalker
|
||||||
Cache cache,
|
Cache cache,
|
||||||
CacheConfig cacheConfig,
|
CacheConfig cacheConfig,
|
||||||
SegmentManager segmentManager,
|
SegmentManager segmentManager,
|
||||||
JoinableFactoryWrapper joinableFactoryWrapper,
|
|
||||||
ServerConfig serverConfig
|
ServerConfig serverConfig
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -117,7 +114,6 @@ public class ServerManager implements QuerySegmentWalker
|
||||||
|
|
||||||
this.cacheConfig = cacheConfig;
|
this.cacheConfig = cacheConfig;
|
||||||
this.segmentManager = segmentManager;
|
this.segmentManager = segmentManager;
|
||||||
this.joinableFactoryWrapper = joinableFactoryWrapper;
|
|
||||||
this.serverConfig = serverConfig;
|
this.serverConfig = serverConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,6 @@ import org.apache.druid.segment.ReferenceCountingSegment;
|
||||||
import org.apache.druid.segment.Segment;
|
import org.apache.druid.segment.Segment;
|
||||||
import org.apache.druid.segment.TestHelper;
|
import org.apache.druid.segment.TestHelper;
|
||||||
import org.apache.druid.segment.TestIndex;
|
import org.apache.druid.segment.TestIndex;
|
||||||
import org.apache.druid.segment.join.JoinableFactoryWrapperTest;
|
|
||||||
import org.apache.druid.segment.loading.LeastBytesUsedStorageLocationSelectorStrategy;
|
import org.apache.druid.segment.loading.LeastBytesUsedStorageLocationSelectorStrategy;
|
||||||
import org.apache.druid.segment.loading.SegmentLoaderConfig;
|
import org.apache.druid.segment.loading.SegmentLoaderConfig;
|
||||||
import org.apache.druid.segment.loading.SegmentLoadingException;
|
import org.apache.druid.segment.loading.SegmentLoadingException;
|
||||||
|
@ -208,7 +207,6 @@ public class ServerManagerTest
|
||||||
new LocalCacheProvider().get(),
|
new LocalCacheProvider().get(),
|
||||||
new CacheConfig(),
|
new CacheConfig(),
|
||||||
segmentManager,
|
segmentManager,
|
||||||
JoinableFactoryWrapperTest.NOOP_JOINABLE_FACTORY_WRAPPER,
|
|
||||||
new ServerConfig()
|
new ServerConfig()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue