com.bigdata.relation.rule
Class SortOrder<E>

java.lang.Object
  extended by com.bigdata.relation.rule.SortOrder<E>
All Implemented Interfaces:
ISortOrder<E>, Serializable

public class SortOrder<E>
extends Object
implements ISortOrder<E>

Default impl.

Version:
$Id: SortOrder.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
SortOrder(IVariable<E> var, boolean asc)
           
 
Method Summary
 IVariable<E> getVariable()
          The variable whose values will be sorted.
 boolean isAscending()
          true iff the values will be placed into an ascending sort and false if the values will be placed into a descending sort.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortOrder

public SortOrder(IVariable<E> var,
                 boolean asc)
Parameters:
var - The variable.
asc - true for an ascending sort and false for a descending sort.
Method Detail

getVariable

public IVariable<E> getVariable()
Description copied from interface: ISortOrder
The variable whose values will be sorted.

Specified by:
getVariable in interface ISortOrder<E>

isAscending

public boolean isAscending()
Description copied from interface: ISortOrder
true iff the values will be placed into an ascending sort and false if the values will be placed into a descending sort.

Specified by:
isAscending in interface ISortOrder<E>


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