[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eRawValue\u003c/code\u003e represents a raw datastore value, typically returned by projection queries when a specific type is not defined.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003easStrictType\u003c/code\u003e method retrieves an object of the exact type specified, while \u003ccode\u003easType\u003c/code\u003e returns the object as it would normally be returned by the datastore, with integers as Longs and floating-point values as Doubles.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetValue()\u003c/code\u003e method can return objects of type Boolean, Double, GeoPt, Key, byte[], User, or null.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements \u003ccode\u003eSerializable\u003c/code\u003e and inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, providing standard methods like \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e, and \u003ccode\u003etoString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Class RawValue (2.0.0)\n\n public final class RawValue implements Serializable\n\nA raw datastore value.\n\nThese are returned by projection queries when a [PropertyProjection](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.datastore.PropertyProjection) does not specify a\ntype.\nSee Also: [Query#getProjections()](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.datastore.Query#com_google_appengine_api_datastore_Query_getProjections__) \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e RawValue \n\nImplements\n----------\n\n[Serializable](https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html) \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nMethods\n-------\n\n### \\\u003cT\\\u003easStrictType(Class\\\u003cT\\\u003e type)\n\n public @Nullable T \u003cT\u003easStrictType(Class\u003cT\u003e type)\n\nReturns an object of the exact type passed in.\n\n### asType(Class\\\u003c?\\\u003e type)\n\n public @Nullable Object asType(Class\u003c?\u003e type)\n\nReturns the object normally returned by the datastore if given type is passed in.\n\nAll integer values are returned as Long. All floating point values are returned as\n[Double](https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html).\n\n### equals(@Nullable Object obj)\n\n public boolean equals(@Nullable Object obj)\n\n**Overrides** \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-)\n\n### getValue()\n\n public @Nullable Object getValue()\n\nReturns the raw value.\n\n### hashCode()\n\n public int hashCode()\n\n**Overrides** \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--)\n\n### toString()\n\n public String toString()\n\n**Overrides** \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--)"]]