Package xbird.xquery.func

Examples of xbird.xquery.func.BuiltInFunction


                    _hasContextualFilter = true;
                    continue;
                }
            } else if(e instanceof FunctionCall) {
                FunctionCall fc = (FunctionCall) e;
                BuiltInFunction fnlast = PredefinedFunctions.lookup(Last.SYMBOL);
                if(fnlast.getName().equals(fc.getFuncName())) { // if fn:last()
                    final LastFilter filter = new LastFilter(baseType);
                    _predicates.set(i, filter);
                    baseType = filter.getType();
                    _hasContextualFilter = true;
                    continue;
View Full Code Here


    @Override
    public void writeExternal(ObjectOutput out) throws IOException {
        super.writeExternal(out);
        if(func instanceof BuiltInFunction) {
            out.writeBoolean(true);
            BuiltInFunction builtIn = (BuiltInFunction) func;
            builtIn.writeTo(out);
        } else {
            out.writeBoolean(false);
            out.writeObject(func);
        }
    }
View Full Code Here

TOP

Related Classes of xbird.xquery.func.BuiltInFunction

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.