Package org.apache.jena.query
Class SortCondition
- java.lang.Object
-
- org.apache.jena.sparql.util.PrintSerializableBase
-
- org.apache.jena.query.SortCondition
-
- All Implemented Interfaces:
org.apache.jena.atlas.io.Printable
,PrintSerializable
public class SortCondition extends PrintSerializableBase
-
-
Field Summary
Fields Modifier and Type Field Description int
direction
Expr
expression
-
Constructor Summary
Constructors Constructor Description SortCondition(Node var, int dir)
SortCondition(Var var, int dir)
SortCondition(Expr expr, int dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
void
format(FmtExprSPARQL fmt, org.apache.jena.atlas.io.IndentedWriter writer)
int
getDirection()
Expr
getExpression()
int
hashCode()
void
output(org.apache.jena.atlas.io.IndentedWriter out)
Normally overridden for better informationvoid
output(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)
-
Methods inherited from class org.apache.jena.sparql.util.PrintSerializableBase
toString, toString
-
-
-
-
Field Detail
-
expression
public Expr expression
-
direction
public int direction
-
-
Method Detail
-
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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.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 interfaceorg.apache.jena.atlas.io.Printable
- Overrides:
output
in classPrintSerializableBase
-
output
public void output(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)
-
-