Package org.datanucleus.store.mongodb.query.expression

Examples of org.datanucleus.store.mongodb.query.expression.MongoLiteral


    protected Object processLiteral(Literal expr)
    {
        Object litValue = expr.getLiteral();
        if (litValue instanceof Number)
        {
            MongoLiteral lit = new MongoLiteral(litValue);
            stack.push(lit);
            return lit;
        }
        else if (litValue instanceof String)
        {
            MongoLiteral lit = new MongoLiteral(litValue);
            stack.push(lit);
            return lit;
        }
        // TODO Handle all MongoDB supported (literal) types
View Full Code Here

TOP

Related Classes of org.datanucleus.store.mongodb.query.expression.MongoLiteral

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.