public class SQLBuilderBase.OrderByBuilderBase extends Object implements SQLBuilder.OrderByBuilder
Modifier and Type | Field and Description |
---|---|
protected boolean |
ascending |
protected String |
custom |
protected String |
value |
Constructor and Description |
---|
OrderByBuilderBase() |
Modifier and Type | Method and Description |
---|---|
void |
accept(ExpressionBuilder.Visitor visitor,
ExpressionBuilder.VisitorFilter filter) |
SQLBuilder.OrderByBuilder |
ascending() |
SQLBuilder.OrderByBuilder |
ascending(boolean asc) |
SQLBuilder.OrderByBuilder |
column(String name) |
SQLBuilder.OrderByBuilder |
custom(String order) |
SQLBuilder.OrderByBuilder |
descending() |
String |
toString() |
protected String value
protected String custom
protected boolean ascending
public void accept(ExpressionBuilder.Visitor visitor, ExpressionBuilder.VisitorFilter filter)
accept
in interface ExpressionBuilder.Visitable
public SQLBuilder.OrderByBuilder column(String name)
column
in interface SQLBuilder.OrderByBuilder
public SQLBuilder.OrderByBuilder custom(String order)
custom
in interface SQLBuilder.OrderByBuilder
public SQLBuilder.OrderByBuilder ascending()
ascending
in interface SQLBuilder.OrderByBuilder
public SQLBuilder.OrderByBuilder ascending(boolean asc)
ascending
in interface SQLBuilder.OrderByBuilder
public SQLBuilder.OrderByBuilder descending()
descending
in interface SQLBuilder.OrderByBuilder