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

com.dooapp.gaedo.blueprints.queries.tests.MapContainsKey Maven / Gradle / Ivy

package com.dooapp.gaedo.blueprints.queries.tests;


import java.util.Map;

import com.dooapp.gaedo.blueprints.GraphDatabaseDriver;
import com.dooapp.gaedo.blueprints.strategies.GraphMappingStrategy;
import com.dooapp.gaedo.blueprints.transformers.MapEntryTransformer;
import com.dooapp.gaedo.blueprints.transformers.Tuples;
import com.dooapp.gaedo.properties.Property;
import com.tinkerpop.blueprints.Vertex;

public class MapContainsKey extends MonovaluedValuedVertexTest implements VertexTest {

	public MapContainsKey(GraphMappingStrategy strategy, GraphDatabaseDriver driver, Iterable p, Object value) {
		super(strategy, driver, ((MapEntryTransformer) Tuples.get(Map.Entry.class)).constructMapEntryKeyIterable(p), value);
	}

	@Override
	protected boolean callMatchManaged(Vertex currentVertex, Property finalProperty) {
		// TODO Auto-generated method stub
		throw new UnsupportedOperationException("method "+MonovaluedValuedVertexTest.class.getName()+"#callMatchManaged has not yet been implemented AT ALL");
	}

	@Override
	public void accept(VertexTestVisitor visitor) {
		visitor.visit(this);
	}

	@Override
	protected boolean callMatchLiteral(Vertex currentVertex, Property finalProperty) {
		// TODO Auto-generated method stub
		throw new UnsupportedOperationException("method "+MonovaluedValuedVertexTest.class.getName()+"#callMatchLiteral has not yet been implemented AT ALL");
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy