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

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

public static class QueryGenerator.Request.SimpleQuery
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.SimpleQuery(Query 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.SimpleQuery

public QueryGenerator.Request.SimpleQuery(Query 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.