Package hydra.query

Class TriplePattern

  • All Implemented Interfaces:
    java.io.Serializable

    public class TriplePattern
    extends java.lang.Object
    implements java.io.Serializable
    A subject/predicate/object pattern
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_NAME

        public static final Name TYPE_NAME
      • FIELD_NAME_SUBJECT

        public static final Name FIELD_NAME_SUBJECT
      • FIELD_NAME_PREDICATE

        public static final Name FIELD_NAME_PREDICATE
      • FIELD_NAME_OBJECT

        public static final Name FIELD_NAME_OBJECT
      • subject

        public final Node subject
      • predicate

        public final Path predicate
      • object

        public final Node object
    • Constructor Detail

      • TriplePattern

        public TriplePattern​(Node subject,
                             Path predicate,
                             Node object)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object