public final class HadoopIoStrategy extends AbstractTraversalStrategy<TraversalStrategy.ProviderOptimizationStrategy> implements TraversalStrategy.ProviderOptimizationStrategy
IoStep
is a single threaded operation and doesn't properly take into
account the method by which OLAP read/writes take place with Hadoop. This strategy removes that step and replaces
it with the HadoopIoStep
which is a VertexProgramStep
that uses the CloneVertexProgram
to
execute the IO operation in an OLAP fashion.TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy
STRATEGY
Modifier and Type | Method and Description |
---|---|
void |
apply(Traversal.Admin<?,?> traversal) |
static HadoopIoStrategy |
instance() |
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getTraversalCategory
applyPost, applyPrior, getConfiguration
public void apply(Traversal.Admin<?,?> traversal)
apply
in interface TraversalStrategy<TraversalStrategy.ProviderOptimizationStrategy>
public static HadoopIoStrategy instance()
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.