com.datasalt.pangool.tuplemr
Class Criteria.SortElement

java.lang.Object
  extended by com.datasalt.pangool.tuplemr.Criteria.SortElement
Enclosing class:
Criteria

public static class Criteria.SortElement
extends Object

Basic Criteria element. Just a structure containing field's name, order, and custom comparator.


Constructor Summary
Criteria.SortElement(String name, Criteria.Order order, Criteria.NullOrder nullOrder)
           
Criteria.SortElement(String name, Criteria.Order order, Criteria.NullOrder nullOrder, org.apache.hadoop.io.RawComparator<?> comparator)
           
 
Method Summary
 boolean equals(Object a)
           
 org.apache.hadoop.io.RawComparator<?> getCustomComparator()
           
 String getName()
           
 Criteria.NullOrder getNullOrder()
           
 Criteria.Order getOrder()
           
 int hashCode()
           
 void setCustomComparator(org.apache.hadoop.io.RawComparator<?> customComparator)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Criteria.SortElement

public Criteria.SortElement(String name,
                            Criteria.Order order,
                            Criteria.NullOrder nullOrder)

Criteria.SortElement

public Criteria.SortElement(String name,
                            Criteria.Order order,
                            Criteria.NullOrder nullOrder,
                            org.apache.hadoop.io.RawComparator<?> comparator)
Method Detail

getCustomComparator

public org.apache.hadoop.io.RawComparator<?> getCustomComparator()

setCustomComparator

public void setCustomComparator(org.apache.hadoop.io.RawComparator<?> customComparator)

getName

public String getName()

getOrder

public Criteria.Order getOrder()

getNullOrder

public Criteria.NullOrder getNullOrder()

equals

public boolean equals(Object a)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © –2014 Datasalt Systems S.L.. All rights reserved.