Examples of AnyTypeAllowed


Examples of org.apache.drill.common.expression.ArgumentValidators.AnyTypeAllowed

  static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(AggregationFunctions.class);

  @Override
  public FunctionDefinition[] getFunctionDefintions() {
    return new FunctionDefinition[] {
        FunctionDefinition.aggregator("count"new AnyTypeAllowed(1), OutputTypeDeterminer.FIXED_BIGINT),
        FunctionDefinition.aggregator("sum"new AnyTypeAllowed(1), new OutputTypeDeterminer.SameAsFirstInput())
    };
  }
View Full Code Here

Examples of org.apache.drill.common.expression.ArgumentValidators.AnyTypeAllowed

public class TypeFunctions implements CallProvider{

  @Override
  public FunctionDefinition[] getFunctionDefintions() {
    return new FunctionDefinition[]{
        FunctionDefinition.simple("isNumber", new AnyTypeAllowed(1), OutputTypeDeterminer.FIXED_BIT),
    };

  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.