public class RemoteSourceSimpleGraphStatement extends GraphStatement
GraphStatement specifically used for remote traversal sources
connected via a DseSession. This implementation will be used by
the DseRemoteConnection, the main reason for this class is that it only supports GraphSON
2 sub-protocol and does not require configuration, which is not the case of the default SimpleGraphStatement.logger, WARNED_GRAPHSON1| Constructor and Description |
|---|
RemoteSourceSimpleGraphStatement(String query) |
| Modifier and Type | Method and Description |
|---|---|
GraphStatement |
executingAs(String userOrRole) |
ConsistencyLevel |
getConsistencyLevel() |
long |
getDefaultTimestamp() |
int |
getReadTimeoutMillis() |
GraphStatement |
setConsistencyLevel(ConsistencyLevel consistencyLevel) |
GraphStatement |
setDefaultTimestamp(long defaultTimestamp) |
GraphStatement |
setReadTimeoutMillis(int readTimeoutMillis) |
Statement |
unwrap()
Deprecated.
|
Statement |
unwrap(GraphOptions graphOptions) |
Statement |
unwrap(GraphProtocol graphProtocol)
Deprecated.
|
getGraphInternalOption, getGraphLanguage, getGraphName, getGraphReadConsistencyLevel, getGraphSource, getGraphWriteConsistencyLevel, getTransformResultFunction, isIdempotent, isSystemQuery, setGraphInternalOption, setGraphLanguage, setGraphName, setGraphReadConsistencyLevel, setGraphSource, setGraphWriteConsistencyLevel, setIdempotent, setSystemQuery, setTransformResultFunctionpublic RemoteSourceSimpleGraphStatement(String query)
public GraphStatement setConsistencyLevel(ConsistencyLevel consistencyLevel)
setConsistencyLevel in class GraphStatementpublic ConsistencyLevel getConsistencyLevel()
getConsistencyLevel in class GraphStatementpublic GraphStatement setDefaultTimestamp(long defaultTimestamp)
setDefaultTimestamp in class GraphStatementpublic long getDefaultTimestamp()
getDefaultTimestamp in class GraphStatementpublic int getReadTimeoutMillis()
getReadTimeoutMillis in class GraphStatementpublic GraphStatement setReadTimeoutMillis(int readTimeoutMillis)
setReadTimeoutMillis in class GraphStatementpublic GraphStatement executingAs(String userOrRole)
executingAs in class GraphStatement@Deprecated public Statement unwrap()
unwrap in class GraphStatement@Deprecated public Statement unwrap(GraphProtocol graphProtocol)
unwrap in class GraphStatementpublic Statement unwrap(GraphOptions graphOptions)
unwrap in class GraphStatementCopyright © 2012–2019. All rights reserved.