Class SortCondition

All Implemented Interfaces:
org.apache.jena.atlas.io.Printable, PrintSerializable

public class SortCondition extends PrintSerializableBase
  • Field Details

    • expression

      public Expr expression
    • direction

      public int direction
  • Constructor Details

    • SortCondition

      public SortCondition(Var var, int dir)
    • SortCondition

      public SortCondition(org.apache.jena.graph.Node var, int dir)
    • SortCondition

      public SortCondition(Expr expr, int dir)
  • Method Details

    • format

      public void format(FmtExprSPARQL fmt, org.apache.jena.atlas.io.IndentedWriter writer)
    • getDirection

      public int getDirection()
      Returns:
      Returns the direction.
    • getExpression

      public Expr getExpression()
      Returns:
      Returns the expression.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • output

      public void output(org.apache.jena.atlas.io.IndentedWriter out)
      Description copied from class: PrintSerializableBase
      Normally overridden for better information
      Specified by:
      output in interface org.apache.jena.atlas.io.Printable
      Overrides:
      output in class PrintSerializableBase
    • output

      public void output(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)