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

org.unipop.schema.element.ElementSchema Maven / Gradle / Ivy

There is a newer version: 0.2.1
Show newest version
package org.unipop.schema.element;

import org.apache.tinkerpop.gremlin.structure.Element;
import org.unipop.query.predicates.PredicatesHolder;
import org.unipop.structure.UniGraph;

import java.util.*;

public interface ElementSchema {
    Collection fromFields(Map fields);
    Map toFields(E element);
    Set toFields(Set propertyKeys);
    PredicatesHolder toPredicates(PredicatesHolder predicatesHolder);
    String getFieldByPropertyKey(String key);

    default Set getChildSchemas() { return Collections.emptySet(); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy