Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7696357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:45:39+00:00 2026-05-31T21:45:39+00:00

I have an Google App Engine entity called MyFile. It has properties such as

  • 0

I have an Google App Engine entity called MyFile. It has properties such as name, size, path, parentFolder.

Rather than querying to return all the MyFile entities where parent is null like this
Query<MyFile> q1 = objectify.query(MyFile.class).filter(“parentFolder”, null);

I want to return a list of just the ‘name’ values where parent is null (eg List<String>), rather than the entire collection of MyFile entities

How do you do that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T21:45:40+00:00Added an answer on May 31, 2026 at 9:45 pm

    You cannot retrieve particular fields by themselves. It is the nature of the datastore that entities are returned whole or not at all.

    If you really need to exclude some fields from retrieval during a query, you must separate them into a separate entity type. Unless you’re talking about large blob fields, this will almost always be slower and more expensive than storing and retrieving a single entity. Don’t prematurely optimize – unless you have a known problem, don’t complicate your data model.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On Google App Engine in Python, I have a Visit entity that has a
I have a model called Customer in google app engine with python: class Customer(db.Model):
In a Python Google App Engine app I'm writing, I have an entity stored
I'm using Google App Engine and thus Big Table. I have a person entity
I have a Google App Engine app - http://mylovelyapp.appspot.com/ It has a page -
The Google App Engine Datastore allows each entity to have a parent entity ,
In google app engine can I have www.domain.com point to version X of my
I have made an update on Google App Engine with a small fix and
I have a Python Facebook project hosted on Google App Engine and use the
I have created a datastore on the google app engine but would like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.