java.lang.Object
org.apache.jena.sparql.util.PrintSerializableBase
org.apache.jena.query.SortCondition
- All Implemented Interfaces:
org.apache.jena.atlas.io.Printable
,PrintSerializable
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSortCondition
(org.apache.jena.graph.Node var, int dir) SortCondition
(Var var, int dir) SortCondition
(Expr expr, int dir) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
format
(FmtExprSPARQL fmt, org.apache.jena.atlas.io.IndentedWriter writer) int
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 Details
-
expression
-
direction
public int direction
-
-
Constructor Details
-
SortCondition
-
SortCondition
public SortCondition(org.apache.jena.graph.Node var, int dir) -
SortCondition
-
-
Method Details
-
format
-
getDirection
public int getDirection()- Returns:
- Returns the direction.
-
getExpression
- Returns:
- Returns the expression.
-
hashCode
public int hashCode() -
equals
-
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
-