Summary: Hector Cassandra Client
OverviewA wrapper around the Hector Library used for communicating with Cassandra. This component is used by both the Cassandra Space Synchronization Endpoint and the Cassandra Space Data Source. The main usage is related to metadata operations (such as creating column families, adding secondary indexes, reading column families metadata, etc...). ConfigurationLibrary DependenciesSee Hector library dependencies for required dependencies. Setup
Spring
<bean id="hectorClient" class="org.openspaces.persistency.cassandra.HectorCassandraClientFactoryBean"> <!-- comma separated seed list --> <property name="hosts" value="${cassandra.host}" /> <!-- cassandra rpc communication port --> <property name="port" value="${cassandra.port}" /> <!-- keyspace name to work with --> <property name="keyspaceName" value="${cassandra.keyspace}" /> </bean> Code HectorCassandraClient hectorClient = new HectorCassandraClientConfigurer()
.hosts(cassandraHosts)
.port(cassandraPort)
.keyspaceName(cassandraKeyspaceName)
.create();
HectorCassandraClient Properties
|
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |