public abstract class RegularGraphStatement extends GraphStatement
SimpleGraphStatement
is provided as a simple implementation to build a RegularGraphStatement
directly
from its query string.Constructor and Description |
---|
RegularGraphStatement() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getQueryString()
Returns the graph query string for this statement.
|
abstract RegularStatement |
unwrap()
"Unwraps" the current graph statement, that is,
returns an executable
Statement object corresponding to this graph statement. |
getConsistencyLevel, getDefaultTimestamp, getGraphInternalOption, getGraphLanguage, getGraphName, getGraphReadConsistencyLevel, getGraphSource, getGraphWriteConsistencyLevel, getReadTimeoutMillis, isIdempotent, isSystemQuery, setConsistencyLevel, setDefaultTimestamp, setGraphInternalOption, setGraphLanguage, setGraphName, setGraphReadConsistencyLevel, setGraphSource, setGraphWriteConsistencyLevel, setIdempotent, setReadTimeoutMillis, setSystemQuery
public abstract String getQueryString()
public abstract RegularStatement unwrap()
GraphStatement
Statement
object corresponding to this graph statement.
This method is intended for internal use only, users wishing to execute graph statements
should use DseSession.executeGraph(GraphStatement)
.
This method acts as a bridge between graph statements and
regular Statement
s.
Implementations are free to cache the returned Statement
if appropriate.unwrap
in class GraphStatement
Statement
.