Package com.odiago.flumebase.lang

Examples of com.odiago.flumebase.lang.ScalarFunc


    streamBuilder.addEvent("3,-4");
    StreamSymbol stream = streamBuilder.build();
    getSymbolTable().addSymbol(stream);

    // Register the 'max2' function we use in some tests.
    ScalarFunc max2Func = new max2();
    getSymbolTable().addSymbol(new FnSymbol("max2", max2Func, max2Func.getReturnType(),
        max2Func.getArgumentTypes(), max2Func.getVarArgTypes()));

    // Register the 'concatstrs' function we use in some tests.
    ScalarFunc strcatFunc = new concatstrs();
    getSymbolTable().addSymbol(new FnSymbol("concatstrs", strcatFunc, strcatFunc.getReturnType(),
        strcatFunc.getArgumentTypes(), strcatFunc.getVarArgTypes()));

    getConf().set(SelectStmt.CLIENT_SELECT_TARGET_KEY, "testSelect");

    // With all configuration complete, connect to the environment.
    LocalEnvironment env = getEnvironment();
View Full Code Here

TOP

Related Classes of com.odiago.flumebase.lang.ScalarFunc

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.