public class CQLStep extends Object implements Step
class attribute with one of the following as its value,
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Properties properties)
Bind the set of provided properties to the input step.
|
void |
execute()
Perform the actual work of the step.
|
void |
setSession(com.datastax.driver.core.Session session)
Invoked prior to
Step.execute(). |
String |
toString() |
public CQLStep(String query)
public void setSession(com.datastax.driver.core.Session session)
StepStep.execute(). Note that this is the same session used by SchemaManager and it
should not be closed.setSession in interface Steppublic void bind(Properties properties)
StepBind the set of provided properties to the input step. The text should have all the variable to be bound in %variable_name% form.
This method should be called even if no properties are provided because it will throw a runtime exception if the text contains properties that are expected to be bound but the list of variable is either empty or does not contain them.
This method is invoked prior to Step.execute()
public void execute()
StepCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.