org.vertexium.cypher.functions.math.CeilFunction Maven / Gradle / Ivy
package org.vertexium.cypher.functions.math;
import org.vertexium.cypher.VertexiumCypherQueryContext;
import org.vertexium.cypher.executor.ExpressionScope;
public class CeilFunction extends CypherUnaryMathFunction {
@Override
protected Object invokeDouble(VertexiumCypherQueryContext ctx, double value, ExpressionScope scope) {
return Math.ceil(value);
}
}