public enum FilterExistsModeEnum extends Enum<FilterExistsModeEnum>
Enum Constant and Description |
---|
SubQueryLimitOne
This evaluation mode routes each source solution (one by one) into a
separate
subquery and imposes a LIMIT ONE. |
VectoredSubPlan
This evaluation mode builds a hash index from all source solutions,
vectors the solutions from the hash index into the sub-plan, and the does
a hash join of the sub-plan with the hash index to determine which
solutions pass the filter.
|
Modifier and Type | Method and Description |
---|---|
static FilterExistsModeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterExistsModeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterExistsModeEnum VectoredSubPlan
This plan solves the FILTER (NOT) EXISTS for multiple source solutions at the same time (vectoring). It is more efficient if the sub-plan requires relatively little work per solution to fully evaluate the sub-plan and there are a large number of solutions flowing into the FILTER (NOT) EXISTS.
public static final FilterExistsModeEnum SubQueryLimitOne
subquery
and imposes a LIMIT ONE.
This plan is more efficient if there are many solutions to the FILTER for each source solution, if it is relatively expensive to find all such solutions, and if there are relatively few source solutions. Under these conditions, the FILTER (NOT) EXISTS sub-query is cutoff once it finds the first solution to each source solution and the overhead of submitting multiple sub-queries is modest because there are not that many source solution that need to flow into the FILTER.
public static FilterExistsModeEnum[] values()
for (FilterExistsModeEnum c : FilterExistsModeEnum.values()) System.out.println(c);
public static FilterExistsModeEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.