Class ORemoteFetchContext
java.lang.Object
com.orientechnologies.orient.core.fetch.remote.ORemoteFetchContext
- All Implemented Interfaces:
OFetchContext
Fetch context for class
- Author:
- Luca Molino (molino.luca--at--gmail.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidonAfterArray(ODocument iRootRecord, String iFieldName, Object iUserObject) voidonAfterCollection(ODocument iRootRecord, String iFieldName, Object iUserObject) voidonAfterDocument(ODocument iRootRecord, ODocument iDocument, String iFieldName, Object iUserObject) voidonAfterFetch(ODocument iRootRecord) voidonAfterMap(ODocument iRootRecord, String iFieldName, Object iUserObject) voidonAfterStandardField(Object iFieldValue, String iFieldName, Object iUserObject, OType fieldType) voidonBeforeArray(ODocument iRootRecord, String iFieldName, Object iUserObject, OIdentifiable[] iArray) voidonBeforeCollection(ODocument iRootRecord, String iFieldName, Object iUserObject, Iterable<?> iterable) voidonBeforeDocument(ODocument iRecord, ODocument iDocument, String iFieldName, Object iUserObject) voidonBeforeFetch(ODocument iRootRecord) voidonBeforeMap(ODocument iRootRecord, String iFieldName, Object iUserObject) voidonBeforeStandardField(Object iFieldValue, String iFieldName, Object iUserObject, OType fieldType)
-
Constructor Details
-
ORemoteFetchContext
public ORemoteFetchContext()
-
-
Method Details
-
onBeforeStandardField
public void onBeforeStandardField(Object iFieldValue, String iFieldName, Object iUserObject, OType fieldType) - Specified by:
onBeforeStandardFieldin interfaceOFetchContext
-
onAfterStandardField
public void onAfterStandardField(Object iFieldValue, String iFieldName, Object iUserObject, OType fieldType) - Specified by:
onAfterStandardFieldin interfaceOFetchContext
-
onBeforeMap
public void onBeforeMap(ODocument iRootRecord, String iFieldName, Object iUserObject) throws OFetchException - Specified by:
onBeforeMapin interfaceOFetchContext- Throws:
OFetchException
-
onBeforeFetch
- Specified by:
onBeforeFetchin interfaceOFetchContext- Throws:
OFetchException
-
onBeforeArray
public void onBeforeArray(ODocument iRootRecord, String iFieldName, Object iUserObject, OIdentifiable[] iArray) throws OFetchException - Specified by:
onBeforeArrayin interfaceOFetchContext- Throws:
OFetchException
-
onAfterArray
public void onAfterArray(ODocument iRootRecord, String iFieldName, Object iUserObject) throws OFetchException - Specified by:
onAfterArrayin interfaceOFetchContext- Throws:
OFetchException
-
onBeforeDocument
public void onBeforeDocument(ODocument iRecord, ODocument iDocument, String iFieldName, Object iUserObject) throws OFetchException - Specified by:
onBeforeDocumentin interfaceOFetchContext- Throws:
OFetchException
-
onBeforeCollection
public void onBeforeCollection(ODocument iRootRecord, String iFieldName, Object iUserObject, Iterable<?> iterable) throws OFetchException - Specified by:
onBeforeCollectionin interfaceOFetchContext- Throws:
OFetchException
-
onAfterMap
public void onAfterMap(ODocument iRootRecord, String iFieldName, Object iUserObject) throws OFetchException - Specified by:
onAfterMapin interfaceOFetchContext- Throws:
OFetchException
-
onAfterFetch
- Specified by:
onAfterFetchin interfaceOFetchContext- Throws:
OFetchException
-
onAfterDocument
public void onAfterDocument(ODocument iRootRecord, ODocument iDocument, String iFieldName, Object iUserObject) throws OFetchException - Specified by:
onAfterDocumentin interfaceOFetchContext- Throws:
OFetchException
-
onAfterCollection
public void onAfterCollection(ODocument iRootRecord, String iFieldName, Object iUserObject) throws OFetchException - Specified by:
onAfterCollectionin interfaceOFetchContext- Throws:
OFetchException
-
fetchEmbeddedDocuments
public boolean fetchEmbeddedDocuments()- Specified by:
fetchEmbeddedDocumentsin interfaceOFetchContext
-