Search in sources :

Example 6 with PlanNodeSchema

use of com.hazelcast.sql.impl.plan.node.PlanNodeSchema in project hazelcast by hazelcast.

the class SortPhysicalRel method offset.

public Expression<?> offset(QueryParameterMetadata parameterMetadata) {
    PlanNodeSchema schema = schema(parameterMetadata);
    RexVisitor<Expression<?>> visitor = OptUtils.createRexToExpressionVisitor(schema, parameterMetadata);
    return offset.accept(visitor);
}
Also used : Expression(com.hazelcast.sql.impl.expression.Expression) PlanNodeSchema(com.hazelcast.sql.impl.plan.node.PlanNodeSchema)

Aggregations

PlanNodeSchema (com.hazelcast.sql.impl.plan.node.PlanNodeSchema)6 HazelcastTable (com.hazelcast.jet.sql.impl.schema.HazelcastTable)3 Expression (com.hazelcast.sql.impl.expression.Expression)2 RexNode (org.apache.calcite.rex.RexNode)1