1 // Copyright 2012 Google Inc. All Rights Reserved.
3 package com
.google
.appengine
.api
.datastore
;
5 import java
.io
.Serializable
;
11 * @see Query#getProjections()
13 public abstract class Projection
implements Serializable
{
18 * Returns the name of the property this projection populates.
20 public abstract String
getName();
23 * Returns the name of the original datastore property.
25 abstract String
getPropertyName();
28 * Generates the projection value from the given entity values.
30 abstract Object
getValue(Map
<String
, Object
> values
);