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

com.buschmais.xo.neo4j.spi.Neo4jDatastoreSession Maven / Gradle / Ivy

There is a newer version: 2.2.9
Show newest version
package com.buschmais.xo.neo4j.spi;

import java.util.Set;

import com.buschmais.xo.neo4j.api.model.Neo4jLabel;
import com.buschmais.xo.neo4j.api.model.Neo4jNode;
import com.buschmais.xo.neo4j.api.model.Neo4jRelationship;
import com.buschmais.xo.neo4j.api.model.Neo4jRelationshipType;
import com.buschmais.xo.neo4j.spi.metadata.NodeMetadata;
import com.buschmais.xo.neo4j.spi.metadata.PropertyMetadata;
import com.buschmais.xo.neo4j.spi.metadata.RelationshipMetadata;
import com.buschmais.xo.spi.datastore.DatastoreSession;

import lombok.*;

/**
 * Defines the Neo4j specific {@link DatastoreSession} interface.
 */
public interface Neo4jDatastoreSession
    extends DatastoreSession, L, Long, R, RelationshipMetadata, T, PropertyMetadata> {

    String getNeo4jVersion();

    Object convertValue(Object value);

    Object convertParameter(Object value);

    Set getIndexes();

    void createIndexes(Set indexes);

    @Builder
    @Getter
    @EqualsAndHashCode
    @ToString
    class Index {

        @Singular
        private final Set labels;

        @Singular
        private final Set properties;

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy