@FunctionalInterface public interface SessionFactory
SessionFactoryobject is the preferred means of getting a connection. The
SessionFactoryinterface is implemented by a
SessionFactoryobject can have properties that can be modified when necessary. For example, if the
CqlSessionis moved to a different server, the property for the server can be changed. The benefit is that because the data source's properties can be changed, any code accessing that
SessionFactorydoes not need to be changed.
CqlSessionwith the connection infrastructure that this
CqlSessionto Apache Cassandra.
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.