| Package | Description |
|---|---|
| org.apache.calcite.rel |
Defines relational expressions.
|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| org.apache.calcite.tools |
Provides utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
RelFieldCollation.Direction |
RelFieldCollation.direction
Direction of sorting.
|
| Modifier and Type | Method and Description |
|---|---|
RelFieldCollation.Direction |
RelFieldCollation.getDirection() |
static RelFieldCollation.Direction |
RelFieldCollation.Direction.of(SqlMonotonicity monotonicity)
Converts a
SqlMonotonicity to a direction. |
static RelFieldCollation.Direction |
RelFieldCollation.Direction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelFieldCollation.Direction[] |
RelFieldCollation.Direction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
RelFieldCollation(int fieldIndex,
RelFieldCollation.Direction direction)
Creates a field collation with unspecified null direction.
|
RelFieldCollation(int fieldIndex,
RelFieldCollation.Direction direction,
RelFieldCollation.NullDirection nullDirection)
Creates a field collation.
|
| Modifier and Type | Method and Description |
|---|---|
RelFieldCollation.Direction |
RexFieldCollation.getDirection() |
| Modifier and Type | Method and Description |
|---|---|
RelFieldCollation.NullDirection |
SqlDialect.defaultNullDirection(RelFieldCollation.Direction direction)
Returns whether NULL values are sorted first or last, in this dialect,
in an ORDER BY item of a given direction.
|
| Modifier and Type | Method and Description |
|---|---|
protected RelFieldCollation |
SqlToRelConverter.convertOrderItem(SqlSelect select,
SqlNode orderItem,
List<SqlNode> extraExprs,
RelFieldCollation.Direction direction,
RelFieldCollation.NullDirection nullDirection) |
private static boolean |
SqlToRelConverter.desc(RelFieldCollation.Direction direction) |
| Modifier and Type | Method and Description |
|---|---|
private static RelFieldCollation |
RelBuilder.collation(RexNode node,
RelFieldCollation.Direction direction,
RelFieldCollation.NullDirection nullDirection,
List<RexNode> extraNodes) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.