Class Cursor (2.17.6)

public final class Cursor implements Serializable

A Google Cloud Datastore cursor. The cursor can be used to as a starting point or an ending point for a Query

Inheritance

Object > Cursor

Implements

Serializable

Static Methods

copyFrom(byte[] bytes)

public static Cursor copyFrom(byte[] bytes)
Parameter
NameDescription
bytesbyte[]
Returns
TypeDescription
Cursor

fromUrlSafe(String urlSafe)

public static Cursor fromUrlSafe(String urlSafe)

Create a Cursor given its URL safe encoded form.

Parameter
NameDescription
urlSafeString
Returns
TypeDescription
Cursor

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides

toUrlSafe()

public String toUrlSafe()

Returns the cursor in an encoded form that can be used as part of a URL.

Returns
TypeDescription
String