Class ORuntimeResult
java.lang.Object
com.orientechnologies.orient.core.sql.ORuntimeResult
Handles runtime results.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Constructor Summary
ConstructorsConstructorDescriptionORuntimeResult(Object iFieldValue, Map<String, Object> iProjections, int iProgressive, OCommandContext iContext) -
Method Summary
Modifier and TypeMethodDescriptionapplyRecord(OIdentifiable iRecord) static ODocumentapplyRecord(ODocument iValue, Map<String, Object> iProjections, OCommandContext iContext, OIdentifiable iRecord) voidapplyValue(String iName, Object iValue) Set a single value.static ODocumentcreateProjectionDocument(int iProgressive) static ODocumentgetProjectionResult(int iId, Map<String, Object> iProjections, OCommandContext iContext, OIdentifiable iRecord) static ODocument
-
Constructor Details
-
ORuntimeResult
public ORuntimeResult(Object iFieldValue, Map<String, Object> iProjections, int iProgressive, OCommandContext iContext)
-
-
Method Details
-
createProjectionDocument
-
applyRecord
public static ODocument applyRecord(ODocument iValue, Map<String, Object> iProjections, OCommandContext iContext, OIdentifiable iRecord) -
getResult
-
getProjectionResult
public static ODocument getProjectionResult(int iId, Map<String, Object> iProjections, OCommandContext iContext, OIdentifiable iRecord) -
applyRecord
-
applyValue
Set a single value. This is useful in case of query optimization like with indexes- Parameters:
iName- Field nameiValue- Field value
-
getResult
-
getFieldValue
-