Default execution profile for graph execution. See :class:`.ExecutionProfile` for base attributes. Note that if not explicitly set, the row_factory and graph_options.graph_protocol are resolved during the query execution. These options will resolve to graph_graphson
(self, load_balancing_policy=_NOT_SET, retry_policy=None,
consistency_level=_NOT_SET, serial_consistency_level=None,
request_timeout=30.0, row_factory=None,
graph_options=None, continuous_paging_options=_NOT_SET)
| 453 | """ |
| 454 | |
| 455 | def __init__(self, load_balancing_policy=_NOT_SET, retry_policy=None, |
| 456 | consistency_level=_NOT_SET, serial_consistency_level=None, |
| 457 | request_timeout=30.0, row_factory=None, |
| 458 | graph_options=None, continuous_paging_options=_NOT_SET): |
| 459 | """ |
| 460 | Default execution profile for graph execution. |
| 461 | |
| 462 | See :class:`.ExecutionProfile` for base attributes. Note that if not explicitly set, |
| 463 | the row_factory and graph_options.graph_protocol are resolved during the query execution. |
| 464 | These options will resolve to graph_graphson3_row_factory and GraphProtocol.GRAPHSON_3_0 |
| 465 | for the core graph engine (DSE 6.8+), otherwise graph_object_row_factory and GraphProtocol.GRAPHSON_1_0 |
| 466 | |
| 467 | In addition to default parameters shown in the signature, this profile also defaults ``retry_policy`` to |
| 468 | :class:`cassandra.policies.NeverRetryPolicy`. |
| 469 | """ |
| 470 | retry_policy = retry_policy or NeverRetryPolicy() |
| 471 | super(GraphExecutionProfile, self).__init__(load_balancing_policy, retry_policy, consistency_level, |
| 472 | serial_consistency_level, request_timeout, row_factory, |
| 473 | continuous_paging_options=continuous_paging_options) |
| 474 | self.graph_options = graph_options or GraphOptions(graph_source=b'g', |
| 475 | graph_language=b'gremlin-groovy') |
| 476 | |
| 477 | |
| 478 | class GraphAnalyticsExecutionProfile(GraphExecutionProfile): |
nothing calls this directly
no test coverage detected