Esempio n. 1
0
 def __init__(self, vertices=None, edges=None, vertex_properties=None):
     TraversalStrategy.__init__(self)
     if vertices is not None:
         self.configuration["vertices"] = vertices
     if edges is not None:
         self.configuration["edges"] = edges
     if vertex_properties is not None:
         self.configuration["vertexProperties"] = vertex_properties
Esempio n. 2
0
 def __init__(self, partition_key=None, write_partition=None, read_partitions=None, include_meta_properties=None):
     TraversalStrategy.__init__(self)
     if partition_key is not None:
         self.configuration["partitionKey"] = partition_key
     if write_partition is not None:
         self.configuration["writePartition"] = write_partition
     if write_partition is not None:
         self.configuration["readPartitions"] = read_partitions
     if include_meta_properties is not None:
         self.configuration["includeMetaProperties"] = include_meta_properties
Esempio n. 3
0
 def __init__(self, graph_computer=None, workers=None, persist=None, result=None, vertices=None, edges=None,
              configuration=None):
     TraversalStrategy.__init__(self)
     if graph_computer is not None:
         self.configuration["graphComputer"] = graph_computer
     if workers is not None:
         self.configuration["workers"] = workers
     if persist is not None:
         self.configuration["persist"] = persist
     if result is not None:
         self.configuration["result"] = result
     if vertices is not None:
         self.configuration["vertices"] = vertices
     if edges is not None:
         self.configuration["edges"] = edges
     if configuration is not None:
         self.configuration.update(configuration)
Esempio n. 4
0
 def __init__(self,
              partition_key=None,
              write_partition=None,
              read_partitions=None,
              include_meta_properties=None):
     TraversalStrategy.__init__(self,
                                fqcn=decoration_namespace +
                                'PartitionStrategy')
     if partition_key is not None:
         self.configuration["partitionKey"] = partition_key
     if write_partition is not None:
         self.configuration["writePartition"] = write_partition
     if read_partitions is not None:
         self.configuration["readPartitions"] = read_partitions
     if include_meta_properties is not None:
         self.configuration[
             "includeMetaProperties"] = include_meta_properties
Esempio n. 5
0
 def __init__(self, graph_computer=None, workers=None, persist=None, result=None, vertices=None, edges=None,
              configuration=None):
     TraversalStrategy.__init__(self)
     if graph_computer is not None:
         self.configuration["graphComputer"] = graph_computer
     if workers is not None:
         self.configuration["workers"] = workers
     if persist is not None:
         self.configuration["persist"] = persist
     if result is not None:
         self.configuration["result"] = result
     if vertices is not None:
         self.configuration["vertices"] = vertices
     if edges is not None:
         self.configuration["edges"] = edges
     if configuration is not None:
         self.configuration.update(configuration)
Esempio n. 6
0
 def __init__(self,
              partition_key=None,
              write_partition=None,
              read_partitions=None,
              include_meta_properties=None):
     TraversalStrategy.__init__(
         self,
         fqcn=
         "org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.PartitionStrategy"
     )
     if partition_key is not None:
         self.configuration["partitionKey"] = partition_key
     if write_partition is not None:
         self.configuration["writePartition"] = write_partition
     if write_partition is not None:
         self.configuration["readPartitions"] = read_partitions
     if include_meta_properties is not None:
         self.configuration[
             "includeMetaProperties"] = include_meta_properties
Esempio n. 7
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=decoration_namespace +
                                'ElementIdStrategy')
Esempio n. 8
0
 def __init__(self):
     TraversalStrategy.__init__(self, fqcn="org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.optimization.GraphFilterStrategy")
Esempio n. 9
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=verification_namespace +
                                'LambdaRestrictionStrategy')
Esempio n. 10
0
 def __init__(self, log_warning=False, throw_exception=False):
     TraversalStrategy.__init__(self,
                                fqcn=verification_namespace +
                                'EdgeLabelVerificationStrategy')
     self.configuration["logWarning"] = log_warning
     self.configuration["throwException"] = throw_exception
Esempio n. 11
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=optimization_namespace +
                                'PathRetractionStrategy')
Esempio n. 12
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=optimization_namespace +
                                'GraphFilterStrategy')
Esempio n. 13
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=optimization_namespace +
                                'IncidentToAdjacentStrategy')
Esempio n. 14
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=optimization_namespace +
                                'MatchPredicateStrategy')
Esempio n. 15
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=optimization_namespace +
                                'FilterRankingStrategy')
Esempio n. 16
0
 def __init__(self, match_algorithm=None):
     TraversalStrategy.__init__(self,
                                fqcn=finalization_namespace +
                                'MatchAlgorithmStrategy')
     if match_algorithm is not None:
         self.configuration["matchAlgorithm"] = match_algorithm
Esempio n. 17
0
 def __init__(self, match_algorithm=None):
     TraversalStrategy.__init__(self)
     if match_algorithm is not None:
         self.configuration["matchAlgorithm"] = match_algorithm
Esempio n. 18
0
 def __init__(self):
     TraversalStrategy.__init__(self)
Esempio n. 19
0
 def __init__(self, halted_traverser_factory=None):
     TraversalStrategy.__init__(self)
     if halted_traverser_factory is not None:
         self.configuration["haltedTraverserFactory"] = halted_traverser_factory
Esempio n. 20
0
 def __init__(self):
     TraversalStrategy.__init__(
         self,
         fqcn=
         "org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.ByModulatorOptimizationStrategy"
     )
Esempio n. 21
0
 def __init__(self):
     TraversalStrategy.__init__(self, fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.EarlyLimitStrategy")
Esempio n. 22
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=optimization_namespace +
                                'IdentityRemovalStrategy')
Esempio n. 23
0
 def __init__(self):
     TraversalStrategy.__init__(self, fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.LambdaRestrictionStrategy")
Esempio n. 24
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=optimization_namespace +
                                'LazyBarrierStrategy')
Esempio n. 25
0
 def __init__(self):
     TraversalStrategy.__init__(self, fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.ReadOnlyStrategy")
Esempio n. 26
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=optimization_namespace +
                                'PathProcessorStrategy')
Esempio n. 27
0
 def __init__(self, log_warning=False, throw_exception=False):
     TraversalStrategy.__init__(self, fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.EdgeLabelVerificationStrategy")
     self.configuration["logWarning"] = log_warning
     self.configuration["throwException"] = throw_exception
Esempio n. 28
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=optimization_namespace +
                                'RepeatUnrollStrategy')
Esempio n. 29
0
 def __init__(self, log_warning=False, throw_exception=False, keys=["id", "label"]):
     TraversalStrategy.__init__(self, fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.ReservedKeysVerificationStrategy")
     self.configuration["logWarning"] = log_warning
     self.configuration["throwException"] = throw_exception
     self.configuration["keys"] = keys
Esempio n. 30
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=optimization_namespace +
                                'EarlyLimitStrategy')
Esempio n. 31
0
 def __init__(self):
     TraversalStrategy.__init__(self, fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.ElementIdStrategy")
Esempio n. 32
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=verification_namespace +
                                'ReadOnlyStrategy')
Esempio n. 33
0
 def __init__(self, halted_traverser_factory=None):
     TraversalStrategy.__init__(self, fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.HaltedTraverserStrategy")
     if halted_traverser_factory is not None:
         self.configuration["haltedTraverserFactory"] = halted_traverser_factory
Esempio n. 34
0
 def __init__(self):
     TraversalStrategy.__init__(self,
                                fqcn=decoration_namespace +
                                'ConnectiveStrategy')
Esempio n. 35
0
 def __init__(self, options=None):
     TraversalStrategy.__init__(self, configuration=options, fqcn="org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.OptionsStrategy")
Esempio n. 36
0
 def __init__(self, options=None):
     TraversalStrategy.__init__(self,
                                configuration=options,
                                fqcn=decoration_namespace +
                                'OptionsStrategy')
Esempio n. 37
0
 def __init__(self, options=None):
     TraversalStrategy.__init__(self, configuration=options)