Class ScyllaDBPreparedStatement
java.lang.Object
org.eclipse.jnosql.databases.scylladb.communication.ScyllaDBPreparedStatement
Wrapper class for
PreparedStatement in JNoSQL.
Allows execution of CQL queries and binding of parameters.-
Method Summary
Modifier and TypeMethodDescriptionBinds values to the prepared statement.Stream<org.eclipse.jnosql.communication.semistructured.CommunicationEntity>Executes the prepared statement as a query and returns the results as a stream of CommunicationEntity.toString()Returns a string representation of this ScyllaDBPreparedStatement.
-
Method Details
-
executeQuery
Executes the prepared statement as a query and returns the results as a stream of CommunicationEntity.- Returns:
- a stream of CommunicationEntity containing the results of the query
-
bind
Binds values to the prepared statement.- Parameters:
values- the values to bind- Returns:
- this ScyllaDBPreparedStatement instance
-
toString
Returns a string representation of this ScyllaDBPreparedStatement.
-