com.dooapp.gaedo.blueprints.queries.tests.StartsWith Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gaedo-blueprints Show documentation
Show all versions of gaedo-blueprints Show documentation
Implementation of gaedo mechanisms backed by blueprints graph layer
package com.dooapp.gaedo.blueprints.queries.tests;
import com.dooapp.gaedo.blueprints.GraphDatabaseDriver;
import com.dooapp.gaedo.blueprints.GraphUtils;
import com.dooapp.gaedo.blueprints.strategies.GraphMappingStrategy;
import com.dooapp.gaedo.blueprints.transformers.LiteralTransformer;
import com.dooapp.gaedo.blueprints.transformers.Literals;
import com.dooapp.gaedo.properties.Property;
import com.tinkerpop.blueprints.Vertex;
public class StartsWith extends AbstractStringVertexTest implements VertexTest {
public StartsWith(GraphMappingStrategy> strategy, GraphDatabaseDriver driver, Iterable p, String value) {
super(strategy, driver, p, value);
}
@Override
public void accept(VertexTestVisitor visitor) {
visitor.visit(this);
}
@Override
protected boolean testString(String searched, String expected) {
return searched.startsWith(expected);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy