com.bigdata.rdf.sparql.ast
Class OrderByExpr

java.lang.Object
  extended by com.bigdata.bop.CoreBaseBOp
      extended by com.bigdata.bop.ModifiableBOpBase
          extended by com.bigdata.rdf.sparql.ast.ASTBase
              extended by com.bigdata.rdf.sparql.ast.OrderByExpr
All Implemented Interfaces:
BOp, IValueExpressionNodeContainer, IPropertySet, Serializable, Cloneable

public class OrderByExpr
extends ASTBase
implements IValueExpressionNodeContainer

An IValueExpressionNode paired with a flag to indicating an ascending or descending sort order.

Version:
$Id$
Author:
Bryan Thompson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bigdata.bop.CoreBaseBOp
DEFAULT_INITIAL_CAPACITY
 
Fields inherited from interface com.bigdata.bop.BOp
NOANNS, NOARGS
 
Constructor Summary
OrderByExpr(BOp[] args, Map<String,Object> annotations)
          Required shallow copy constructor.
OrderByExpr(IValueExpressionNode ve, boolean ascending)
           
OrderByExpr(OrderByExpr op)
          Required deep copy constructor.
 
Method Summary
 IValueExpression<? extends IV> getValueExpression()
           
 IValueExpressionNode getValueExpressionNode()
          Return the value expression node.
 boolean isAscending()
           
 void setAscending(boolean ascending)
           
 
Methods inherited from class com.bigdata.rdf.sparql.ast.ASTBase
getQueryHint, getQueryHint, getQueryHintAsBoolean, getQueryHintAsBoolean, getQueryHints, replaceAllWith, setQueryHint, setQueryHints
 
Methods inherited from class com.bigdata.bop.ModifiableBOpBase
addArg, addArg, addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, mutation, removeArg, replaceWith, setArg, setArgs, setId, setProperty, setUnboundProperty, toArray, toArray
 
Methods inherited from class com.bigdata.bop.CoreBaseBOp
annotationsEqual, annotationsToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, toShortString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderByExpr

public OrderByExpr(OrderByExpr op)
Required deep copy constructor.


OrderByExpr

public OrderByExpr(BOp[] args,
                   Map<String,Object> annotations)
Required shallow copy constructor.


OrderByExpr

public OrderByExpr(IValueExpressionNode ve,
                   boolean ascending)
Method Detail

isAscending

public final boolean isAscending()

setAscending

public final void setAscending(boolean ascending)

getValueExpressionNode

public IValueExpressionNode getValueExpressionNode()
Description copied from interface: IValueExpressionNodeContainer
Return the value expression node.

Specified by:
getValueExpressionNode in interface IValueExpressionNodeContainer

getValueExpression

public IValueExpression<? extends IV> getValueExpression()


Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.