/** * Return the {@link IMemoryManager} associated with the specified query. * * @param queryId * The {@link UUID} of some {@link IRunningQuery} -or- null to * use the {@link IMemoryManager} of this query. * * @return The {@link IMemoryManager} for that {@link IRunningQuery}. * * @throws RuntimeException * if the {@link IRunningQuery} has halted. * @throws RuntimeException * if the {@link IRunningQuery} is not found. */ public IMemoryManager getMemoryManager(final UUID queryId) { if (queryId == null) // See BLZG-1493 return getRunningQuery().getMemoryManager(); return getRunningQuery(queryId).getMemoryManager(); }
/** * Return the {@link IMemoryManager} associated with the specified query. * * @param queryId * The {@link UUID} of some {@link IRunningQuery} -or- null to * use the {@link IMemoryManager} of this query. * * @return The {@link IMemoryManager} for that {@link IRunningQuery}. * * @throws RuntimeException * if the {@link IRunningQuery} has halted. * @throws RuntimeException * if the {@link IRunningQuery} is not found. */ public IMemoryManager getMemoryManager(final UUID queryId) { if (queryId == null) // See BLZG-1493 return getRunningQuery().getMemoryManager(); return getRunningQuery(queryId).getMemoryManager(); }
@Override protected IHashJoinUtility newState(final BOpContext<IBindingSet> context, final INamedSolutionSetRef namedSetRef, final JoinTypeEnum joinType) { return new HTreeHashJoinUtility(context.getRunningQuery() .getMemoryManager(), this, joinType); }
@Override protected IHashJoinUtility newState(final BOpContext<IBindingSet> context, final INamedSolutionSetRef namedSetRef, final JoinTypeEnum joinType) { return new HTreeHashJoinUtility(context.getRunningQuery() .getMemoryManager(), this, joinType); }