Class ProductiveByStrategy.Builder
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.ProductiveByStrategy.Builder
-
- Enclosing class:
- ProductiveByStrategy
public static class ProductiveByStrategy.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductiveByStrategy
create()
ProductiveByStrategy.Builder
productiveKeys(String key, String... rest)
Specify the list of property keys that should always be productive forby(String)
.ProductiveByStrategy.Builder
productiveKeys(Collection<String> keys)
Specify the list of property keys that should always be productive forby(String)
.
-
-
-
Method Detail
-
productiveKeys
public ProductiveByStrategy.Builder productiveKeys(String key, String... rest)
Specify the list of property keys that should always be productive forby(String)
. If the keys are not set, then all `by(String)` are productive. Arguments toby()
that are not of typeValueTraversal
will not be considered.
-
productiveKeys
public ProductiveByStrategy.Builder productiveKeys(Collection<String> keys)
Specify the list of property keys that should always be productive forby(String)
. If the keys are not set, then all `by(String)` are productive. Arguments toby()
that are not of typeValueTraversal
will not be considered.
-
create
public ProductiveByStrategy create()
-
-