Provides an interface for interacting with records in a result-set.

Managing Results

Results are the records that OrientDB returns from queries. You typically get them from the OResultSet interface. In order to use OResult you need to import the class into your code.

import com.orientechnologies.orient.core.sql.executor.OResult;


Typing Results

OResult provides a series of methods to determine whether the result is of one type or another. All of these methods return boolean values.

isBlob()Returns true if the result is an OBlob instance
isEdge()Returns true if the result is an OEdge instance
isElement()Returns true if the result is an OElement instance
isRecord()Returns true if the result is a record
isVertex()Returns true if the result is an OVertex element