public static class ShuffleKey.Order extends Object
| Constructor and Description |
|---|
Order(String property,
ShuffleKey.Direction direction)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ShuffleKey.Direction |
getDirection()
Returns the ordering direction.
|
String |
getProperty()
Returns the property name of ordering key.
|
int |
hashCode() |
static ShuffleKey.Order |
parse(String string)
Parses a string form of
<property-name> <direction> (as same as toString()),
and returns the corresponded ShuffleKey.Order object. |
String |
toString() |
public Order(String property, ShuffleKey.Direction direction)
property - the property namedirection - the ordering directionIllegalArgumentException - if some parameters are nullpublic String getProperty()
public ShuffleKey.Direction getDirection()
public static ShuffleKey.Order parse(String string)
<property-name> <direction> (as same as toString()),
and returns the corresponded ShuffleKey.Order object.string - a string of toString()null if the string is not valid formIllegalArgumentException - if the parameter is nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.