OCluster - getNextPosition()

Retrieves the next Record ID position in the cluster.

Getting Record Positions

When you query OrientDB, the records in the result-set each have a Record ID, which is composed of two numbers. The first number is the Cluster ID, the second is the record's position in the cluster. Using this method you can retrieve the next record position in this cluster.

Syntax

long OCluster().getNextPosition()

Return Value

This method returns a long value that represents the next record position in the cluster.

results matching ""

    No results matching ""