| 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.NullDirection |
RelFieldCollation.nullDirection
Direction of sorting of nulls.
|
| Modifier and Type | Method and Description |
|---|---|
RelFieldCollation.NullDirection |
RelFieldCollation.Direction.defaultNullDirection()
Returns the null direction if not specified.
|
static RelFieldCollation.NullDirection |
RelFieldCollation.NullDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelFieldCollation.NullDirection[] |
RelFieldCollation.NullDirection.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,
RelFieldCollation.NullDirection nullDirection)
Creates a field collation.
|
| Modifier and Type | Method and Description |
|---|---|
RelFieldCollation.NullDirection |
RexFieldCollation.getNullDirection() |
| 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) |
| 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.