public class OrderBy extends Object implements Serializable
| Constructor and Description |
|---|
OrderBy(Column column,
SqlEnum order,
boolean ignoreCase)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Checks whether two orderBy are equal.
|
Column |
getColumn()
Returns the column to order by.
|
SqlEnum |
getOrder()
Returns the order to order by (ASC or DESC).
|
int |
hashCode() |
boolean |
isIgnoreCase()
Returns whether case should be ignored for String columns.
|
public OrderBy(Column column, SqlEnum order, boolean ignoreCase)
column - the column to order by, not null.order - the order, either SqlEnum.DESC or SqlEnum.ASC, not null.ignoreCase - whether case should be ignored for String columnsNullPointerException - if null is passed.IllegalArgumentException - if an unknown order is passed.public Column getColumn()
public SqlEnum getOrder()
public boolean isIgnoreCase()
public boolean equals(Object obj)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.