@Test public void microsecond() { FunctionExpression expr = dsl.interval(DSL.literal(1), DSL.literal("microsecond")); assertEquals(INTERVAL, expr.type()); assertEquals(intervalValue(Duration.ofNanos(1000)), expr.valueOf(env)); }
private ExprValue microsecond(ExprValue value) { return new ExprIntervalValue(Duration.ofNanos(getLongValue(value) * 1000)); }
IntervalClause { private ExprValue microsecond(ExprValue value) { return new ExprIntervalValue(Duration.ofNanos(getLongValue(value) * 1000)); } }
IntervalClause { private ExprValue microsecond(ExprValue value) { return new ExprIntervalValue(Duration.ofNanos(getLongValue(value) * 1000)); }  }
IntervalClause { private ExprValue microsecond(ExprValue value) { return new ExprIntervalValue(Duration.ofNanos(getLongValue(value) * 1000)); }  void register(BuiltinFunctionRepository repository); }
IntervalClause { private ExprValue microsecond(ExprValue value) { return new ExprIntervalValue(Duration.ofNanos(getLongValue(value) * 1000)); }  void register(BuiltinFunctionRepository repository);  }