@NotThreadSafe public final class ValueBinder extends java.lang.Object implements ValueVisitor
Value
s to a BoundStatement
Constructor and Description |
---|
ValueBinder(com.datastax.driver.core.BoundStatement bound)
Constructs
ValueBinder with the specified BoundStatement |
Modifier and Type | Method and Description |
---|---|
void |
visit(BigIntValue value)
Sets the specified
BigIntValue to the bound statement |
void |
visit(BlobValue value)
Sets the specified
BlobValue to the bound statement |
void |
visit(BooleanValue value)
Sets the specified
BooleanValue to the bound statement |
void |
visit(DoubleValue value)
Sets the specified
DoubleValue to the bound statement |
void |
visit(FloatValue value)
Sets the specified
FloatValue to the bound statement |
void |
visit(IntValue value)
Sets the specified
IntValue to the bound statement |
void |
visit(TextValue value)
Sets the specified
TextValue to the bound statement |
public ValueBinder(com.datastax.driver.core.BoundStatement bound)
ValueBinder
with the specified BoundStatement
bound
- a BoundStatement
to be boundpublic void visit(BooleanValue value)
BooleanValue
to the bound statementvisit
in interface ValueVisitor
value
- a BooleanValue
to be setpublic void visit(IntValue value)
IntValue
to the bound statementvisit
in interface ValueVisitor
value
- a IntValue
to be setpublic void visit(BigIntValue value)
BigIntValue
to the bound statementvisit
in interface ValueVisitor
value
- a BigIntValue
to be setpublic void visit(FloatValue value)
FloatValue
to the bound statementvisit
in interface ValueVisitor
value
- a FloatValue
to be setpublic void visit(DoubleValue value)
DoubleValue
to the bound statementvisit
in interface ValueVisitor
value
- a DoubleValue
to be setpublic void visit(TextValue value)
TextValue
to the bound statementvisit
in interface ValueVisitor
value
- a TextValue
to be setpublic void visit(BlobValue value)
BlobValue
to the bound statementvisit
in interface ValueVisitor
value
- a BlobValue
to be set