com.datastax.driver.stress
Class QueryGenerator

java.lang.Object
  extended by com.datastax.driver.stress.QueryGenerator
All Implemented Interfaces:
Iterator<QueryGenerator.Request>

public abstract class QueryGenerator
extends Object
implements Iterator<QueryGenerator.Request>


Nested Class Summary
static interface QueryGenerator.Builder
           
static interface QueryGenerator.Request
           
 
Field Summary
protected  int iterations
           
 
Constructor Summary
protected QueryGenerator(int iterations)
           
 
Method Summary
abstract  void createSchema(Session session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Field Detail

iterations

protected final int iterations
Constructor Detail

QueryGenerator

protected QueryGenerator(int iterations)
Method Detail

createSchema

public abstract void createSchema(Session session)
                           throws NoHostAvailableException
Throws:
NoHostAvailableException


Copyright © 2013. All Rights Reserved.