Class PositionRelation.GreaterThan

    • Field Detail

      • TYPE

        public static int TYPE
    • Constructor Detail

      • GreaterThan

        public GreaterThan()
      • GreaterThan

        public GreaterThan​(int fromSlot,
                           int toSlot,
                           boolean orEquals)
      • GreaterThan

        public GreaterThan​(int fromSlot,
                           int toSlot,
                           boolean orEquals,
                           boolean optional,
                           boolean follow,
                           int maxLength)
    • Method Detail

      • isExact

        public boolean isExact()
        Specified by:
        isExact in class Relation
      • write

        public void write​(java.io.DataOutput out)
                   throws java.io.IOException
        Description copied from interface: Writable
        Serialize the fields of this object to out.
        Specified by:
        write in interface Writable
        Overrides:
        write in class PositionRelation
        Parameters:
        out - DataOuput to serialize this object into.
        Throws:
        java.io.IOException
      • readFields

        public void readFields​(java.io.DataInput in,
                               Model m)
                        throws java.io.IOException
        Description copied from interface: Writable
        Deserialize the fields of this object from in.

        For efficiency, implementations should attempt to re-use storage in the existing object where possible.

        Specified by:
        readFields in interface Writable
        Overrides:
        readFields in class PositionRelation
        Parameters:
        in - DataInput to deseriablize this object from.
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object