Examples of FloatScalar


Examples of org.apache.drill.exec.ref.values.ScalarValues.FloatScalar

    case FLOAT:
      float f = 0f;
      for(int i =0; i < values.length; i++){
        f += values[i].getAsFloat();
      }
      return new FloatScalar(f);     
    case INT:
      int x = 0;
      for(int i =0; i < values.length; i++){
        x += values[i].getAsInt();
      }
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.