Package com.google.appengine.api.datastore

Examples of com.google.appengine.api.datastore.Projection


    }

    @Test
    public void testProjection() {
        Query query = new Query(kindName, rootKey);
        Projection pp = new PropertyProjection("stringData", String.class);
        assertEquals("stringData", pp.getName());
        query.addProjection(pp);
        assertEquals(1, query.getProjections().size());
        pp = new PropertyProjection("intData", Integer.class);
        query.addProjection(pp);
        for (Projection p : query.getProjections()) {
View Full Code Here

TOP

Related Classes of com.google.appengine.api.datastore.Projection

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.