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

org.vertexium.elasticsearch5.ElasticsearchVertex Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.elasticsearch5;

import org.vertexium.*;
import org.vertexium.mutation.ExistingElementMutation;
import org.vertexium.query.VertexQuery;

@SuppressWarnings("unchecked")
public class ElasticsearchVertex extends ElasticsearchElement implements Vertex {
    private String className = ElasticsearchElement.class.getSimpleName();

    public ElasticsearchVertex(
        Graph graph,
        String id,
        FetchHints fetchHints,
        Authorizations authorizations
    ) {
        super(graph, id, fetchHints, authorizations);
    }

    @Override
    public Iterable getEdges(Direction direction, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdges(Direction direction, FetchHints fetchHints, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdges(Direction direction, FetchHints fetchHints, Long endTime, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdgeIds(Direction direction, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeIds is not supported on " + className);
    }

    @Override
    public Iterable getEdges(Direction direction, String label, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdges(Direction direction, String label, FetchHints fetchHints, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdgeIds(Direction direction, String label, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeIds is not supported on " + className);
    }

    @Override
    public Iterable getEdges(Direction direction, String[] labels, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdges(Direction direction, String[] labels, FetchHints fetchHints, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdgeIds(Direction direction, String[] labels, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeIds is not supported on " + className);
    }

    @Override
    public Iterable getEdges(Vertex otherVertex, Direction direction, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdges(Vertex otherVertex, Direction direction, FetchHints fetchHints, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdgeIds(Vertex otherVertex, Direction direction, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeIds is not supported on " + className);
    }

    @Override
    public Iterable getEdges(Vertex otherVertex, Direction direction, String label, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdges(Vertex otherVertex, Direction direction, String label, FetchHints fetchHints, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdgeIds(Vertex otherVertex, Direction direction, String label, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeIds is not supported on " + className);
    }

    @Override
    public Iterable getEdges(Vertex otherVertex, Direction direction, String[] labels, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdges(Vertex otherVertex, Direction direction, String[] labels, FetchHints fetchHints, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdges is not supported on " + className);
    }

    @Override
    public Iterable getEdgeIds(Vertex otherVertex, Direction direction, String[] labels, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeIds is not supported on " + className);
    }

    @Override
    public EdgesSummary getEdgesSummary(Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgesSummary is not supported on " + className);
    }

    @Override
    public Iterable getEdgeInfos(Direction direction, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeInfos is not supported on " + className);
    }

    @Override
    public Iterable getEdgeInfos(Direction direction, String label, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeInfos is not supported on " + className);
    }

    @Override
    public Iterable getEdgeInfos(Direction direction, String[] labels, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeInfos is not supported on " + className);
    }

    @Override
    public Iterable getVertices(Direction direction, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getProperties is not supported on " + className);
    }

    @Override
    public Iterable getVertices(Direction direction, FetchHints fetchHints, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getVertices is not supported on " + className);
    }

    @Override
    public Iterable getVertices(Direction direction, String label, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getVertices is not supported on " + className);
    }

    @Override
    public Iterable getVertices(Direction direction, String label, Long endTime, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getVertices is not supported on " + className);
    }

    @Override
    public Iterable getVertices(Direction direction, String label, FetchHints fetchHints, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getVertices is not supported on " + className);
    }

    @Override
    public Iterable getVertices(Direction direction, String label, FetchHints fetchHints, Long endTime, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getVertices is not supported on " + className);
    }

    @Override
    public Iterable getVertices(Direction direction, String[] labels, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getVertices is not supported on " + className);
    }

    @Override
    public Iterable getVertices(Direction direction, String[] labels, FetchHints fetchHints, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getVertices is not supported on " + className);
    }

    @Override
    public Iterable getVertices(Direction direction, String[] labels, FetchHints fetchHints, Long endTime, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getVertices is not supported on " + className);
    }

    @Override
    public Iterable getVertexIds(Direction direction, String label, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getVertexIds is not supported on " + className);
    }

    @Override
    public Iterable getVertexIds(Direction direction, String[] labels, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getVertexIds is not supported on " + className);
    }

    @Override
    public Iterable getVertexIds(Direction direction, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getVertexIds is not supported on " + className);
    }

    @Override
    public VertexQuery query(Authorizations authorizations) {
        return query(null, authorizations);
    }

    @Override
    public VertexQuery query(String queryString, Authorizations authorizations) {
        return getGraph().getSearchIndex().queryVertex(getGraph(), this, queryString, authorizations);
    }

    @Override
    public ExistingElementMutation prepareMutation() {
        throw new VertexiumNotSupportedException("prepareMutation is not supported on " + className);
    }

    @Override
    public Iterable getEdgeVertexPairs(Direction direction, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeVertexPairs is not supported on " + className);
    }

    @Override
    public Iterable getEdgeVertexPairs(Direction direction, FetchHints fetchHints, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeVertexPairs is not supported on " + className);
    }

    @Override
    public Iterable getEdgeVertexPairs(Direction direction, FetchHints fetchHints, Long endTime, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeVertexPairs is not supported on " + className);
    }

    @Override
    public Iterable getEdgeVertexPairs(Direction direction, String label, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeVertexPairs is not supported on " + className);
    }

    @Override
    public Iterable getEdgeVertexPairs(Direction direction, String label, FetchHints fetchHints, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeVertexPairs is not supported on " + className);
    }

    @Override
    public Iterable getEdgeVertexPairs(Direction direction, String[] labels, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeVertexPairs is not supported on " + className);
    }

    @Override
    public Iterable getEdgeVertexPairs(Direction direction, String[] labels, FetchHints fetchHints, Authorizations authorizations) {
        throw new VertexiumNotSupportedException("getEdgeVertexPairs is not supported on " + className);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy