Package | Description |
---|---|
com.datastax.driver.dse | |
com.datastax.driver.dse.graph |
Modifier and Type | Method and Description |
---|---|
GraphResultSet |
DseSession.executeGraph(GraphStatement statement)
Executes the provided graph query.
|
com.google.common.util.concurrent.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.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) . |
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.
|