com.dooapp.gaedo.blueprints.indexable.PropertyUtils 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.indexable;
import java.util.LinkedList;
import java.util.List;
import com.dooapp.gaedo.blueprints.Properties;
import com.tinkerpop.blueprints.Edge;
import com.tinkerpop.blueprints.Element;
import com.tinkerpop.blueprints.Vertex;
public class PropertyUtils {
public static List> appliesTo(Properties p) {
List> returned = new LinkedList>();
switch(p) {
case collection_index:
case label:
returned.add(Edge.class);
break;
case kind:
case type:
case value:
returned.add(Vertex.class);
break;
}
return returned;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy