All Downloads are FREE. Search and download functionalities are using the official Maven repository.

us.datanucleus-cassandra.4.0.0-m2.source-code.plugin.xml Maven / Gradle / Ivy

There is a newer version: 6.0.0-release
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!--**********************************************************************
Copyright (c) 2014 Andy Jefferson and others. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Contributors:
    ...
**********************************************************************-->

<plugin>
    <!-- STORE MANAGER -->
    <extension point="org.datanucleus.store_manager">
        <store-manager class-name="org.datanucleus.store.cassandra.CassandraStoreManager" key="cassandra" url-key="cassandra"/>
    </extension>

    <!-- CONNECTION FACTORY -->
    <extension point="org.datanucleus.store_connectionfactory">
        <connectionfactory name="cassandra" class-name="org.datanucleus.store.cassandra.ConnectionFactoryImpl" transactional="true" datastore="cassandra"/>
    </extension>

    <!-- PERSISTENCE PROPERTIES -->
    <extension point="org.datanucleus.persistence_properties">
        <persistence-property name="datanucleus.cassandra.sessionPerManager" datastore="true" value="false"
            validator="org.datanucleus.properties.BooleanPropertyValidator"/>
        <persistence-property name="datanucleus.cassandra.compression" datastore="true"
            validator="org.datanucleus.store.cassandra.CassandraPropertyValidator"/>
        <persistence-property name="datanucleus.cassandra.metrics" datastore="true"
            validator="org.datanucleus.properties.BooleanPropertyValidator"/>
        <persistence-property name="datanucleus.cassandra.ssl" datastore="true"
            validator="org.datanucleus.properties.BooleanPropertyValidator"/>
        <persistence-property name="datanucleus.cassandra.socket.readTimeoutMillis" datastore="true"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
        <persistence-property name="datanucleus.cassandra.socket.connectTimeoutMillis" datastore="true"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
    </extension>

    <!-- QUERY LANGUAGES -->
    <extension point="org.datanucleus.store_query_query">
        <query class-name="org.datanucleus.store.cassandra.query.JDOQLQuery" datastore="cassandra" name="JDOQL"/>
        <query class-name="org.datanucleus.store.cassandra.query.JPQLQuery" datastore="cassandra" name="JPQL"/>
        <query class-name="org.datanucleus.store.cassandra.query.CQLQuery" datastore="cassandra" name="CQL"/>
    </extension>

    <!-- VALUE GENERATORS -->
    <extension point="org.datanucleus.store_valuegenerator">
        <valuegenerator name="increment" class-name="org.datanucleus.store.cassandra.valuegenerator.IncrementGenerator" datastore="cassandra"/>
    </extension>
</plugin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy