Class Text
java.lang.Object
com.google.appengine.api.datastore.Text
- All Implemented Interfaces:
Serializable
Text
wraps around a string of unlimited size.
Ordinary Java strings stored as properties in Entity
objects are limited to 1500
bytes. However, Text
objects can also be stored in properties, and are unlimited in size.
However, they will not be indexed for query purposes.
Consider using a standard Java string and storing it with the PropertyContainer.setUnindexedProperty(java.lang.String, java.lang.Object)
method instead.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
Text
Construct a newText
object with the specified value. This object cannot be modified after construction.
-
-
Method Details
-
getValue
Return the value of thisText
. Can benull
. -
hashCode
public int hashCode() -
equals
TwoText
objects are considered equal if their content strings match exactly. -
toString
Returns the first 70 characters of the underlying string.
-