Package com.graphaware.common.description.property

Examples of com.graphaware.common.description.property.WildcardPropertiesDescription


     * Note that if you want to simply include all nodes, it is more efficient to use {@link com.graphaware.common.policy.all.IncludeAllNodes}.
     *
     * @return a policy including all nodes.
     */
    public static IncludeNodes all() {
        return new IncludeNodes(null, new WildcardPropertiesDescription(Collections.<String, Predicate>emptyMap()));
    }
View Full Code Here


     * Note that if you want to simply include all relationships, it is more efficient to use {@link com.graphaware.common.policy.all.IncludeAllRelationships}.
     *
     * @return a policy including all relationships.
     */
    public static IncludeRelationships all() {
        return new IncludeRelationships(Direction.BOTH, new RelationshipType[0], new WildcardPropertiesDescription(Collections.<String, Predicate>emptyMap()));
    }
View Full Code Here

     * @param pointOfView  node that is looking at this relationship for the purposes of determining direction. Must be one
     *                     of the participating nodes.
     * @return relationship description.
     */
    public static DetachedRelationshipDescription wildcard(Relationship relationship, Node pointOfView) {
        return new DetachedRelationshipDescriptionImpl(relationship.getType(), DirectionUtils.resolveDirection(relationship, pointOfView), new WildcardPropertiesDescription(relationship));
    }
View Full Code Here

     * @param type      of the relationship.
     * @param direction of the relationship.
     * @return relationship description.
     */
    public static DetachedRelationshipDescription wildcard(RelationshipType type, Direction direction) {
        return new DetachedRelationshipDescriptionImpl(type, direction, new WildcardPropertiesDescription(Collections.<String, Predicate>emptyMap()));
    }
View Full Code Here

     * @param type      of the relationship.
     * @param direction of the relationship.
     * @return relationship description.
     */
    public static DetachedRelationshipDescription wildcard(String type, Direction direction) {
        return new DetachedRelationshipDescriptionImpl(withName(type), direction, new WildcardPropertiesDescription(Collections.<String, Predicate>emptyMap()));
    }
View Full Code Here

TOP

Related Classes of com.graphaware.common.description.property.WildcardPropertiesDescription

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.