Class ScyllaDBPreparedStatement

java.lang.Object
org.eclipse.jnosql.databases.scylladb.communication.ScyllaDBPreparedStatement

public class ScyllaDBPreparedStatement extends Object
Wrapper class for PreparedStatement in JNoSQL. Allows execution of CQL queries and binding of parameters.
  • Method Details

    • executeQuery

      public Stream<org.eclipse.jnosql.communication.semistructured.CommunicationEntity> 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

      public ScyllaDBPreparedStatement bind(Object... values)
      Binds values to the prepared statement.
      Parameters:
      values - the values to bind
      Returns:
      this ScyllaDBPreparedStatement instance
    • toString

      public String toString()
      Returns a string representation of this ScyllaDBPreparedStatement.
      Overrides:
      toString in class Object
      Returns:
      a string representation of this ScyllaDBPreparedStatement