com.netflix.astyanax.thrift.ThriftCql2Factory Maven / Gradle / Ivy
package com.netflix.astyanax.thrift;
import com.netflix.astyanax.cql.CqlStatement;
import com.netflix.astyanax.query.CqlQuery;
public class ThriftCql2Factory implements ThriftCqlFactory {
@Override
public CqlStatement createCqlStatement(ThriftKeyspaceImpl keyspace) {
return new ThriftCqlStatement(keyspace);
}
@Override
public CqlQuery createCqlQuery(ThriftColumnFamilyQueryImpl cfQuery, String cql) {
return new ThriftCqlQuery(cfQuery, cql);
}
}