All Implemented Interfaces:
NamedWriteable, Writeable, PostAnalysisPlanVerificationAware, Resolvable, SurrogateExpression

public class Scalar extends AggregateFunction implements SurrogateExpression
Returns the sample value if there is exactly one element, otherwise returns NaN.