Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
BoundStatement |
PreparedStatement.bind()
Creates a new BoundStatement object for this prepared statement.
|
BoundStatement |
DefaultPreparedStatement.bind() |
BoundStatement |
PreparedStatement.bind(Object... values)
Creates a new BoundStatement object and bind its variables to the
provided values.
|
BoundStatement |
DefaultPreparedStatement.bind(Object... values) |
BoundStatement |
BoundStatement.bind(Object... values)
Bound values to the variables of this statement.
|
BoundStatement |
BoundStatement.setBool(int i,
boolean v)
Sets the
i th value to the provided boolean. |
BoundStatement |
BoundStatement.setBool(String name,
boolean v)
Sets the value for (all occurrences of) variable
name to the
provided boolean. |
BoundStatement |
BoundStatement.setBytes(int i,
ByteBuffer v)
Sets the
i th value to the provided byte buffer. |
BoundStatement |
BoundStatement.setBytes(String name,
ByteBuffer v)
Sets the value for (all occurrences of) variable
name to the
provided byte buffer. |
BoundStatement |
BoundStatement.setBytesUnsafe(int i,
ByteBuffer v)
Sets the
i th value to the provided byte buffer. |
BoundStatement |
BoundStatement.setBytesUnsafe(String name,
ByteBuffer v)
Sets the value for (all occurrences of) variable
name to the
provided byte buffer. |
BoundStatement |
BoundStatement.setDate(int i,
Date v)
Set the
i th value to the provided date. |
BoundStatement |
BoundStatement.setDate(String name,
Date v)
Sets the value for (all occurrences of) variable
name to the
provided date. |
BoundStatement |
BoundStatement.setDecimal(int i,
BigDecimal v)
Sets the
i th value to the provided big decimal. |
BoundStatement |
BoundStatement.setDecimal(String name,
BigDecimal v)
Sets the value for (all occurrences of) variable
name to the
provided big decimal. |
BoundStatement |
BoundStatement.setDouble(int i,
double v)
Sets the
i th value to the provided double. |
BoundStatement |
BoundStatement.setDouble(String name,
double v)
Sets the value for (all occurrences of) variable
name to the
provided double. |
BoundStatement |
BoundStatement.setFloat(int i,
float v)
Sets the
i th value to the provided float. |
BoundStatement |
BoundStatement.setFloat(String name,
float v)
Sets the value for (all occurrences of) variable
name to the
provided float. |
BoundStatement |
BoundStatement.setInet(int i,
InetAddress v)
Sets the
i th value to the provided inet address. |
BoundStatement |
BoundStatement.setInet(String name,
InetAddress v)
Sets the value for (all occurrences of) variable
name to the
provided inet address. |
BoundStatement |
BoundStatement.setInt(int i,
int v)
Set the
i th value to the provided integer. |
BoundStatement |
BoundStatement.setInt(String name,
int v)
Sets the value for (all occurrences of) variable
name to the
provided integer. |
<T> BoundStatement |
BoundStatement.setList(int i,
List<T> v)
Sets the
i th value to the provided list. |
<T> BoundStatement |
BoundStatement.setList(String name,
List<T> v)
Sets the value for (all occurrences of) variable
name to the
provided list. |
BoundStatement |
BoundStatement.setLong(int i,
long v)
Sets the
i th value to the provided long. |
BoundStatement |
BoundStatement.setLong(String name,
long v)
Sets the value for (all occurrences of) variable
name to the
provided long. |
<K,V> BoundStatement |
BoundStatement.setMap(int i,
Map<K,V> v)
Sets the
i th value to the provided map. |
<K,V> BoundStatement |
BoundStatement.setMap(String name,
Map<K,V> v)
Sets the value for (all occurrences of) variable
name to the
provided map. |
BoundStatement |
BoundStatement.setPartitionKeyToken(Token v)
Sets the value for (all occurrences of) variable "
partition key token "
to the provided token (this is the name generated by Cassandra for markers
corresponding to a token(...) call). |
BoundStatement |
BoundStatement.setRoutingKey(ByteBuffer routingKey)
Sets the routing key for this bound statement.
|
<T> BoundStatement |
BoundStatement.setSet(int i,
Set<T> v)
Sets the
i th value to the provided set. |
<T> BoundStatement |
BoundStatement.setSet(String name,
Set<T> v)
Sets the value for (all occurrences of) variable
name to the
provided set. |
BoundStatement |
BoundStatement.setString(int i,
String v)
Sets the
i th value to the provided string. |
BoundStatement |
BoundStatement.setString(String name,
String v)
Sets the value for (all occurrences of) variable
name to the
provided string. |
BoundStatement |
BoundStatement.setToken(int i,
Token v)
Sets the
i th value to the provided Token . |
BoundStatement |
BoundStatement.setToken(String name,
Token v)
Sets the value for (all occurrences of) variable
name to the
provided token. |
BoundStatement |
BoundStatement.setToNull(int i)
Sets the
i th value to null . |
BoundStatement |
BoundStatement.setToNull(String name)
Sets the value for (all occurrences of) variable
name to null . |
BoundStatement |
BoundStatement.setTupleValue(int i,
TupleValue v)
Sets the
i th value to the provided tuple value. |
BoundStatement |
BoundStatement.setTupleValue(String name,
TupleValue v)
Sets the value for (all occurrences of) variable
name to the
provided tuple value. |
BoundStatement |
BoundStatement.setUDTValue(int i,
UDTValue v)
Sets the
i th value to the provided UDT value. |
BoundStatement |
BoundStatement.setUDTValue(String name,
UDTValue v)
Sets the value for (all occurrences of) variable
name to the
provided UDT value. |
BoundStatement |
BoundStatement.setUUID(int i,
UUID v)
Sets the
i th value to the provided UUID. |
BoundStatement |
BoundStatement.setUUID(String name,
UUID v)
Sets the value for (all occurrences of) variable
name to the
provided UUID. |
BoundStatement |
BoundStatement.setVarint(int i,
BigInteger v)
Sets the
i th value to the provided big integer. |
BoundStatement |
BoundStatement.setVarint(String name,
BigInteger v)
Sets the value for (all occurrences of) variable
name to the
provided big integer. |
Modifier and Type | Method and Description |
---|---|
protected int |
QueryLogger.appendParameters(BoundStatement statement,
StringBuilder buffer,
int remaining) |