Package | Description |
---|---|
com.datastax.driver.dse | |
com.datastax.driver.dse.graph | |
com.datastax.dse.graph.api | |
com.datastax.dse.graph.internal.utils |
Modifier and Type | Method and Description |
---|---|
GraphResultSet |
DseSession.executeGraph(GraphStatement statement)
Executes the provided graph query.
|
ListenableFuture<GraphResultSet> |
DseSession.executeGraphAsync(GraphStatement statement)
Executes the provided Graph query asynchronously.
|
Modifier and Type | Class and Description |
---|---|
class |
RegularGraphStatement
A regular (non-prepared and non batched) graph statement.
|
class |
SimpleGraphStatement
A simple graph statement implementation.
|
Modifier and Type | Method and Description |
---|---|
GraphStatement |
SimpleGraphStatement.executingAs(String userOrRole) |
GraphStatement |
GraphStatement.executingAs(String userOrRole)
Allows this statement to be executed as a different user/role
than the one currently authenticated (a.k.a.
|
GraphStatement |
SimpleGraphStatement.setConsistencyLevel(ConsistencyLevel consistencyLevel) |
abstract GraphStatement |
GraphStatement.setConsistencyLevel(ConsistencyLevel consistencyLevel)
Sets the consistency level to use for this statement.
|
GraphStatement |
SimpleGraphStatement.setDefaultTimestamp(long defaultTimestamp) |
abstract GraphStatement |
GraphStatement.setDefaultTimestamp(long defaultTimestamp)
Sets the default timestamp for this query (in microseconds since the epoch).
|
GraphStatement |
GraphStatement.setGraphInternalOption(String optionKey,
String optionValue)
Sets additional graph option.
|
GraphStatement |
GraphStatement.setGraphLanguage(String graphLanguage)
Sets the graph language to use with this statement.
|
GraphStatement |
GraphStatement.setGraphName(String graphName)
Sets the graph name to use with this statement.
|
GraphStatement |
GraphStatement.setGraphReadConsistencyLevel(ConsistencyLevel consistencyLevel)
Sets the read consistency level to use for this statement.
|
GraphStatement |
GraphStatement.setGraphSource(String graphSource)
Sets the graph traversal source name to use with this statement.
|
GraphStatement |
GraphStatement.setGraphWriteConsistencyLevel(ConsistencyLevel consistencyLevel)
Sets the write consistency level to use for this statement.
|
GraphStatement |
GraphStatement.setIdempotent(boolean idempotent)
Sets whether this statement is idempotent.
|
GraphStatement |
SimpleGraphStatement.setReadTimeoutMillis(int readTimeoutMillis) |
abstract GraphStatement |
GraphStatement.setReadTimeoutMillis(int readTimeoutMillis)
Overrides the default per-host read timeout (
GraphOptions.setReadTimeoutMillis(int) ) for this statement. |
GraphStatement |
GraphStatement.setSystemQuery()
Forces this statement to use no graph name, even if a default graph name was defined with
GraphOptions.setGraphName(String) . |
GraphStatement |
GraphStatement.setTransformResultFunction(Function<Row,GraphNode> transformResultFunction)
|
Modifier and Type | Method and Description |
---|---|
Map<String,ByteBuffer> |
GraphOptions.buildPayloadWithDefaults(GraphStatement statement)
Builds the custom payload for the given statement, providing defaults from these graph options if necessary.
|
Modifier and Type | Method and Description |
---|---|
static <S,E> GraphStatement |
DseGraph.statementFromTraversal(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<S,E> traversal)
|
Modifier and Type | Method and Description |
---|---|
static GraphStatement |
GraphSONUtils.getStatementFromBytecode(org.apache.tinkerpop.gremlin.process.traversal.Bytecode bytecode) |
Copyright © 2012–2017. All rights reserved.