com.datastax.driver.stress
Class QueryGenerator.Request.PreparedQuery

java.lang.Object
  extended by com.datastax.driver.stress.QueryGenerator.Request.PreparedQuery
All Implemented Interfaces:
QueryGenerator.Request
Enclosing interface:
QueryGenerator.Request

public static class QueryGenerator.Request.PreparedQuery
extends Object
implements QueryGenerator.Request


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.datastax.driver.stress.QueryGenerator.Request
QueryGenerator.Request.PreparedQuery, QueryGenerator.Request.SimpleQuery
 
Constructor Summary
QueryGenerator.Request.PreparedQuery(BoundStatement query)
           
 
Method Summary
 ResultSet execute(Session session)
           
 ResultSetFuture executeAsync(Session session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryGenerator.Request.PreparedQuery

public QueryGenerator.Request.PreparedQuery(BoundStatement query)
Method Detail

execute

public ResultSet execute(Session session)
                  throws NoHostAvailableException
Specified by:
execute in interface QueryGenerator.Request
Throws:
NoHostAvailableException

executeAsync

public ResultSetFuture executeAsync(Session session)
                             throws NoHostAvailableException
Specified by:
executeAsync in interface QueryGenerator.Request
Throws:
NoHostAvailableException


Copyright © 2013. All Rights Reserved.