|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.datastore.Projection
com.google.appengine.api.datastore.PropertyProjection
public final class PropertyProjection
A property projection. If specified on a query, this will cause the query return the specified property.
Query.getProjections(),
Serialized Form| Constructor Summary | |
|---|---|
PropertyProjection(java.lang.String propertyName,
java.lang.Class<?> type)
Constructs a property projection. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Returns the name of the property this projection populates. |
java.lang.Class<?> |
getType()
Returns the type specified for this projection. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyProjection(java.lang.String propertyName,
java.lang.Class<?> type)
RawValue.asType(Class) will be used to restore
the original value of the property. Otherwise instances of RawValue
will be returned.
propertyName - The name of the property to projecttype - The type of values stored in the projected properties or
if the type is not known or variable. If null, RawValues are returned.| Method Detail |
|---|
public java.lang.String getName()
Projection
getName in class Projectionpublic java.lang.Class<?> getType()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||