public class DrillCalciteWrapperUtility extends Object
DrillCalciteSqlWrapper, DrillCalciteSqlOperatorWrapper
DrillCalciteSqlFunctionWrapper and DrillCalciteSqlAggFunctionWrapper.| Modifier and Type | Method and Description |
|---|---|
static org.apache.calcite.sql.SqlAggFunction |
extractSqlOperatorFromWrapper(org.apache.calcite.sql.SqlAggFunction sqlAggFunction)
This static method will extract the SqlAggFunction inside the given SqlAggFunction if the given SqlFunction is wrapped
in DrillCalciteSqlAggFunctionWrapper and will just return the given SqlAggFunction if it is not wrapped.
|
static org.apache.calcite.sql.SqlFunction |
extractSqlOperatorFromWrapper(org.apache.calcite.sql.SqlFunction sqlFunction)
This static method will extract the SqlFunction inside the given SqlFunction if the given SqlFunction is wrapped
in DrillCalciteSqlFunctionWrapper and will just return the given SqlFunction if it is not wrapped.
|
static org.apache.calcite.sql.SqlOperator |
extractSqlOperatorFromWrapper(org.apache.calcite.sql.SqlOperator sqlOperator)
This static method will extract the SqlOperator inside the given SqlOperator if the given SqlOperator is wrapped
in DrillCalciteSqlWrapper and will just return the given SqlOperator if it is not wrapped.
|
public static org.apache.calcite.sql.SqlOperator extractSqlOperatorFromWrapper(org.apache.calcite.sql.SqlOperator sqlOperator)
public static org.apache.calcite.sql.SqlFunction extractSqlOperatorFromWrapper(org.apache.calcite.sql.SqlFunction sqlFunction)
public static org.apache.calcite.sql.SqlAggFunction extractSqlOperatorFromWrapper(org.apache.calcite.sql.SqlAggFunction sqlAggFunction)
Copyright © 2021 The Apache Software Foundation. All rights reserved.