Package org.apache.calcite.sql2rel
Class StandardConvertletTable.TrimConvertlet
- java.lang.Object
-
- org.apache.calcite.sql2rel.StandardConvertletTable.TrimConvertlet
-
- All Implemented Interfaces:
SqlRexConvertlet
- Enclosing class:
- StandardConvertletTable
private static class StandardConvertletTable.TrimConvertlet extends java.lang.Object implements SqlRexConvertlet
Convertlet that convertsLTRIM
andRTRIM
toTRIM
.
-
-
Field Summary
Fields Modifier and Type Field Description private SqlTrimFunction.Flag
flag
-
Constructor Summary
Constructors Constructor Description TrimConvertlet(SqlTrimFunction.Flag flag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RexNode
convertCall(SqlRexContext cx, SqlCall call)
-
-
-
Field Detail
-
flag
private final SqlTrimFunction.Flag flag
-
-
Constructor Detail
-
TrimConvertlet
TrimConvertlet(SqlTrimFunction.Flag flag)
-
-
Method Detail
-
convertCall
public RexNode convertCall(SqlRexContext cx, SqlCall call)
- Specified by:
convertCall
in interfaceSqlRexConvertlet
-
-