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 ProductiveByStrategycreate()ProductiveByStrategy.BuilderproductiveKeys(String key, String... rest)Specify the list of property keys that should always be productive forby(String).ProductiveByStrategy.BuilderproductiveKeys(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 typeValueTraversalwill 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 typeValueTraversalwill not be considered.
-
create
public ProductiveByStrategy create()
-
-