Package org.apache.tajo.engine.function

Examples of org.apache.tajo.engine.function.FunctionContext


        FunctionContext [] contexts = hashTable.get(keyTuple);
        for(int i = 0; i < aggFunctions.length; i++) {
          aggFunctions[i].merge(contexts[i], inSchema, tuple);
        }
      } else { // if the key occurs firstly
        FunctionContext contexts [] = new FunctionContext[aggFunctionsNum];
        for(int i = 0; i < aggFunctionsNum; i++) {
          contexts[i] = aggFunctions[i].newContext();
          aggFunctions[i].merge(contexts[i], inSchema, tuple);
        }
        hashTable.put(keyTuple, contexts);
View Full Code Here

TOP

Related Classes of org.apache.tajo.engine.function.FunctionContext

Copyright © 2018 www.massapicom. 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.