| Package | Description | 
|---|---|
| io.druid.math.expr | |
| io.druid.query.expression | |
| io.druid.segment.filter | |
| io.druid.segment.virtual | |
| io.druid.sql.calcite.expression | 
| Modifier and Type | Method and Description | 
|---|---|
Expr | 
ExprMacroTable.ExprMacro.apply(List<Expr> args)  | 
static Expr | 
Evals.binaryOp(io.druid.math.expr.BinaryOpExprBase binary,
        Expr left,
        Expr right)  | 
static Expr | 
Parser.flatten(Expr expr)  | 
Expr | 
ExprMacroTable.get(String functionName,
   List<Expr> args)
Returns an expr corresponding to a function call if this table has an entry for  
functionName. | 
static Expr | 
Parser.parse(String in,
     ExprMacroTable macroTable)  | 
abstract Expr | 
ExprEval.toExpr()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Expr | 
Evals.binaryOp(io.druid.math.expr.BinaryOpExprBase binary,
        Expr left,
        Expr right)  | 
static List<String> | 
Parser.findRequiredBindings(Expr expr)  | 
static Expr | 
Parser.flatten(Expr expr)  | 
static String | 
Parser.getIdentifierIfIdentifier(Expr expr)  | 
static boolean | 
Evals.isAllConstants(Expr... exprs)  | 
void | 
Expr.Visitor.visit(Expr expr)  | 
| Modifier and Type | Method and Description | 
|---|---|
Expr | 
ExprMacroTable.ExprMacro.apply(List<Expr> args)  | 
Expr | 
ExprMacroTable.get(String functionName,
   List<Expr> args)
Returns an expr corresponding to a function call if this table has an entry for  
functionName. | 
static boolean | 
Evals.isAllConstants(List<Expr> exprs)  | 
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
TimestampFloorExprMacro.TimestampFloorDynamicExpr  | 
static class  | 
TimestampFloorExprMacro.TimestampFloorExpr  | 
| Modifier and Type | Method and Description | 
|---|---|
Expr | 
LookupExprMacro.apply(List<Expr> args)  | 
Expr | 
TrimExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampShiftExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampParseExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampFormatExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampFloorExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampExtractExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampCeilExprMacro.apply(List<Expr> args)  | 
Expr | 
RegexpExtractExprMacro.apply(List<Expr> args)  | 
Expr | 
LikeExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampFloorExprMacro.TimestampFloorExpr.getArg()
Exposed for Druid SQL: this is used by Expressions.toQueryGranularity. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static PeriodGranularity | 
ExprUtils.toPeriodGranularity(Expr periodArg,
                   Expr originArg,
                   Expr timeZoneArg,
                   Expr.ObjectBinding bindings)  | 
static org.joda.time.DateTimeZone | 
ExprUtils.toTimeZone(Expr timeZoneArg)  | 
| Modifier and Type | Method and Description | 
|---|---|
Expr | 
LookupExprMacro.apply(List<Expr> args)  | 
Expr | 
TrimExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampShiftExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampParseExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampFormatExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampFloorExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampExtractExprMacro.apply(List<Expr> args)  | 
Expr | 
TimestampCeilExprMacro.apply(List<Expr> args)  | 
Expr | 
RegexpExtractExprMacro.apply(List<Expr> args)  | 
Expr | 
LikeExprMacro.apply(List<Expr> args)  | 
| Constructor and Description | 
|---|
TimestampFloorDynamicExpr(List<Expr> args)  | 
TimestampFloorExpr(List<Expr> args)  | 
| Constructor and Description | 
|---|
ExpressionFilter(Expr expr)  | 
| Modifier and Type | Method and Description | 
|---|---|
static ColumnValueSelector | 
ExpressionSelectors.makeColumnValueSelector(ColumnSelectorFactory columnSelectorFactory,
                       Expr expression)
Makes a ColumnValueSelector whose getObject method returns an Object that is the value computed by
 an  
ExprEval. | 
static DimensionSelector | 
ExpressionSelectors.makeDimensionSelector(ColumnSelectorFactory columnSelectorFactory,
                     Expr expression,
                     ExtractionFn extractionFn)  | 
static ColumnValueSelector<ExprEval> | 
ExpressionSelectors.makeExprEvalSelector(ColumnSelectorFactory columnSelectorFactory,
                    Expr expression)
Makes a ColumnValueSelector whose getObject method returns an  
ExprEval. | 
| Constructor and Description | 
|---|
ExpressionColumnValueSelector(Expr expression,
                             Expr.ObjectBinding bindings)  | 
LruEvalCache(Expr expression,
            Expr.ObjectBinding bindings)  | 
SingleLongInputCachingExpressionColumnValueSelector(ColumnValueSelector selector,
                                                   Expr expression)  | 
SingleStringInputCachingExpressionColumnValueSelector(DimensionSelector selector,
                                                     Expr expression)  | 
SingleStringInputDimensionSelector(DimensionSelector selector,
                                  Expr expression)  | 
| Modifier and Type | Method and Description | 
|---|---|
Expr | 
DruidExpression.parse(ExprMacroTable macroTable)  | 
Copyright © 2011–2018. All rights reserved.