Package com.macrofocus.molap.dataframe
Class SingleSortKey<Column>
- java.lang.Object
-
- com.macrofocus.molap.dataframe.SingleSortKey<Column>
-
-
Constructor Summary
Constructors Constructor Description SingleSortKey(Column column, SortOrder sortOrder)
SingleSortKey(Column column, SortOrder sortOrder, java.util.Comparator comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <Row> java.lang.Integer
compare(DataFrame<Row,Column,?> dataFrame, Row o1, Row o2)
boolean
equals(java.lang.Object o)
Column
getColumn()
java.util.Comparator
getComparator()
SortOrder
getSortOrder()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getSortOrder
public SortOrder getSortOrder()
- Specified by:
getSortOrder
in interfaceSortKey<Column>
-
getComparator
public java.util.Comparator getComparator()
- Specified by:
getComparator
in interfaceSortKey<Column>
-
compare
public <Row> java.lang.Integer compare(DataFrame<Row,Column,?> dataFrame, Row o1, Row o2)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-