Class CassandraSpaceSynchronizationEndpointConfigurer
java.lang.Object
org.openspaces.persistency.cassandra.CassandraSpaceSynchronizationEndpointConfigurer
A configurer for creating
CassandraSpaceSynchronizationEndpoint instances.- Since:
- 9.1.1
- Author:
- Dan Kilman
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ColumnFamilyNameConverterprotected PropertyValueSerializerprotected PropertyValueSerializerprotected FlattenedPropertiesFilterprotected HectorCassandraClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolumnFamilyNameConverter(ColumnFamilyNameConverter columnFamilyNameConverter) Optional.create()dynamicPropertyValueSerializer(PropertyValueSerializer dynamicPropertyValueSerializer) Optional.fixedPropertyValueSerializer(PropertyValueSerializer fixedPropertyValueSerializer) Optional.flattenedPropertiesFilter(FlattenedPropertiesFilter flattenedPropertiesFilter) Optional.hectorClient(HectorCassandraClient hectorClient)
-
Field Details
-
fixedPropertyValueSerializer
-
dynamicPropertyValueSerializer
-
flattenedPropertiesFilter
-
columnFamilyNameConverter
-
hectorClient
-
-
Constructor Details
-
CassandraSpaceSynchronizationEndpointConfigurer
public CassandraSpaceSynchronizationEndpointConfigurer()
-
-
Method Details
-
fixedPropertyValueSerializer
public CassandraSpaceSynchronizationEndpointConfigurer fixedPropertyValueSerializer(PropertyValueSerializer fixedPropertyValueSerializer) Optional. If set, all fixed properties with a type that is not primitive nor a common java type will be serialized usingPropertyValueSerializer.toByteBuffer(Object)Note: This property must correspond to the property set onCassandraSpaceDataSource. (default: Java object serialization)- Parameters:
fixedPropertyValueSerializer- thePropertyValueSerializerto use.- Returns:
thisinstance.
-
dynamicPropertyValueSerializer
public CassandraSpaceSynchronizationEndpointConfigurer dynamicPropertyValueSerializer(PropertyValueSerializer dynamicPropertyValueSerializer) Optional. If set, all dynamic properties will be serialized usingPropertyValueSerializer.fromByteBuffer(java.nio.ByteBuffer). Note: This property must correspond to the property set onCassandraSpaceSynchronizationEndpoint. (defaultDynamicPropertyValueSerializer)- Parameters:
dynamicPropertyValueSerializer- thePropertyValueSerializerto use.- Returns:
thisinstance.
-
flattenedPropertiesFilter
public CassandraSpaceSynchronizationEndpointConfigurer flattenedPropertiesFilter(FlattenedPropertiesFilter flattenedPropertiesFilter) Optional.- Parameters:
flattenedPropertiesFilter- theFlattenedPropertiesFilterto use. (default:DefaultFlattenedPropertiesFilter)- Returns:
thisinstance.- See Also:
-
columnFamilyNameConverter
public CassandraSpaceSynchronizationEndpointConfigurer columnFamilyNameConverter(ColumnFamilyNameConverter columnFamilyNameConverter) Optional.- Parameters:
columnFamilyNameConverter- TheColumnFamilyNameConverterto use. (default:DefaultColumnFamilyNameConverter)- Returns:
thisinstance.- See Also:
-
hectorClient
public CassandraSpaceSynchronizationEndpointConfigurer hectorClient(HectorCassandraClient hectorClient) - Parameters:
hectorClient- an instance ofHectorCassandraClient.- Returns:
thisinstance.
-
create
- Returns:
- An instance of
CassandraSpaceSynchronizationEndpointmatching this configurer configuration.
-