// Path: src/main/java/org/easycassandra/ReplicaStrategy.java
// public enum ReplicaStrategy {
//     /**
//      * SimpleStrategy places the first replica on a node determined by the
//      * partitioner. Additional replicas are placed on the next nodes clockwise
//      * in the ring without considering rack or data center location.
//      */
//     SIMPLES_TRATEGY("'SimpleStrategy'"),
//     /**
//      * is the preferred replication placement strategy when you have information
//      * about how nodes are grouped in your data center, or when you have (or
//      * plan to have) your cluster deployed across multiple data centers. This
//      * strategy allows you to specify how many replicas you want in each data
//      * center.
//      */
//     NETWORK_TOPOLOGY_STRATEGY("'NetworkTopologyStrategy'"),
//     /**
//      * use a custom query.
//      */
//     CUSTOM_STRATEGY("");
// 
//     private String value;
// 
//     ReplicaStrategy(String value) {
//         this.value = value;
//     }
// 
//     public String getValue() {
//         return value;
//     }
// 
// }


import java.util.List;
import org.easycassandra.ReplicaStrategy;
import com.datastax.driver.core.Cluster;
import com.datastax.driver.core.Session;
    }

    @Override
    public Session getSession() {
    	return session;
    }

    protected boolean fixColumnFamily(Session session, String familyColumn,
            Class<?> class1) {
        return new FixColumnFamily().verifyColumnFamily(session,
                clusterInformation.getKeySpace(), familyColumn, class1);
	}

    @Override
    public void createKeySpace(String keySpace,
            ReplicaStrategy replicaStrategy, int factor) {
        verifyKeySpace(keySpace, getSession(), replicaStrategy, factor);
    }

    @Override
    public void close() {
        if (!cluster.isClosed()) {
            cluster.close();
        }
        if (!session.isClosed()) {
            session.close();
        }
    }

    protected void verifyKeySpace(String keySpace, Session session,
// Path: src/main/java/org/easycassandra/ReplicaStrategy.java
// public enum ReplicaStrategy {
//     /**
//      * SimpleStrategy places the first replica on a node determined by the
//      * partitioner. Additional replicas are placed on the next nodes clockwise
//      * in the ring without considering rack or data center location.
//      */
//     SIMPLES_TRATEGY("'SimpleStrategy'"),
//     /**
//      * is the preferred replication placement strategy when you have information
//      * about how nodes are grouped in your data center, or when you have (or
//      * plan to have) your cluster deployed across multiple data centers. This
//      * strategy allows you to specify how many replicas you want in each data
//      * center.
//      */
//     NETWORK_TOPOLOGY_STRATEGY("'NetworkTopologyStrategy'"),
//     /**
//      * use a custom query.
//      */
//     CUSTOM_STRATEGY("");
// 
//     private String value;
// 
//     ReplicaStrategy(String value) {
//         this.value = value;
//     }
// 
//     public String getValue() {
//         return value;
//     }
// 
// }


// Path: src/main/java/org/easycassandra/persistence/cassandra/AbstractCassandraFactory.java
import java.util.List;
import org.easycassandra.ReplicaStrategy;
import com.datastax.driver.core.Cluster;
import com.datastax.driver.core.Session;

    }

    @Override
    public Session getSession() {
    	return session;
    }

    protected boolean fixColumnFamily(Session session, String familyColumn,
            Class<?> class1) {
        return new FixColumnFamily().verifyColumnFamily(session,
                clusterInformation.getKeySpace(), familyColumn, class1);
	}

    @Override
    public void createKeySpace(String keySpace,
            ReplicaStrategy replicaStrategy, int factor) {
        verifyKeySpace(keySpace, getSession(), replicaStrategy, factor);
    }

    @Override
    public void close() {
        if (!cluster.isClosed()) {
            cluster.close();
        }
        if (!session.isClosed()) {
            session.close();
        }
    }

    protected void verifyKeySpace(String keySpace, Session session,
            ReplicaStrategy replicaStrategy, int factor) {