Class Cursor (2.24.3)

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
Name Description
bytes byte[]
Returns
Type Description
Cursor

fromUrlSafe(String urlSafe)

public static Cursor fromUrlSafe(String urlSafe)

Create a Cursor given its URL safe encoded form.

Parameter
Name Description
urlSafe String
Returns
Type Description
Cursor

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides

toUrlSafe()

public String toUrlSafe()

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

Returns
Type Description
String