public class DefaultPojoStatementFactory extends Object implements PojoStatementFactory
Constructor and Description |
---|
DefaultPojoStatementFactory(com.datastax.driver.core.Session session) |
Modifier and Type | Method and Description |
---|---|
com.datastax.driver.core.PreparedStatement |
createDelete(PojoBinding<?> binding,
String tableName) |
com.datastax.driver.core.PreparedStatement |
createFindByKey(PojoBinding<?> binding,
String tableName) |
com.datastax.driver.core.PreparedStatement |
createInsert(PojoBinding<?> binding,
String tableName) |
protected com.datastax.driver.core.PreparedStatement |
loadFindByKey(CacheKey key) |
protected com.datastax.driver.core.PreparedStatement |
loadInsert(CacheKey key) |
public DefaultPojoStatementFactory(com.datastax.driver.core.Session session)
public com.datastax.driver.core.PreparedStatement createDelete(PojoBinding<?> binding, String tableName)
createDelete
in interface PojoStatementFactory
public com.datastax.driver.core.PreparedStatement createFindByKey(PojoBinding<?> binding, String tableName)
createFindByKey
in interface PojoStatementFactory
public com.datastax.driver.core.PreparedStatement createInsert(PojoBinding<?> binding, String tableName)
createInsert
in interface PojoStatementFactory
protected com.datastax.driver.core.PreparedStatement loadFindByKey(CacheKey key)
protected com.datastax.driver.core.PreparedStatement loadInsert(CacheKey key)
Copyright © 2012-2016 Savoir Technologies, Inc.. All Rights Reserved.