public abstract class ORemoteFetchListener extends Object implements OFetchListener
Whenever a record has to be fetched it will be added to the list of records to send
Constructor and Description |
---|
ORemoteFetchListener() |
Modifier and Type | Method and Description |
---|---|
Object |
fetchLinked(ODocument iRoot,
Object iUserObject,
String iFieldName,
ODocument iLinked,
OFetchContext iContext)
Fetch the linked field.
|
Object |
fetchLinkedCollectionValue(ODocument iRoot,
Object iUserObject,
String iFieldName,
ODocument iLinked,
OFetchContext iContext) |
Object |
fetchLinkedMapEntry(ODocument iRoot,
Object iUserObject,
String iFieldName,
String iKey,
ODocument iLinked,
OFetchContext iContext) |
void |
parseLinked(ODocument iRootRecord,
OIdentifiable iLinked,
Object iUserObject,
String iFieldName,
OFetchContext iContext) |
void |
parseLinkedCollectionValue(ODocument iRootRecord,
OIdentifiable iLinked,
Object iUserObject,
String iFieldName,
OFetchContext iContext) |
void |
processStandardField(ODocument iRecord,
Object iFieldValue,
String iFieldName,
OFetchContext iContext,
Object iusObject,
String iFormat,
OType filedType) |
boolean |
requireFieldProcessing()
Returns true if the listener fetches he fields.
|
protected abstract void |
sendRecord(ORecord iLinked) |
void |
skipStandardField(ODocument iRecord,
String iFieldName,
OFetchContext iContext,
Object iUserObject,
String iFormat) |
public boolean requireFieldProcessing()
OFetchListener
requireFieldProcessing
in interface OFetchListener
protected abstract void sendRecord(ORecord iLinked)
public void processStandardField(ODocument iRecord, Object iFieldValue, String iFieldName, OFetchContext iContext, Object iusObject, String iFormat, OType filedType) throws OFetchException
processStandardField
in interface OFetchListener
OFetchException
public void parseLinked(ODocument iRootRecord, OIdentifiable iLinked, Object iUserObject, String iFieldName, OFetchContext iContext) throws OFetchException
parseLinked
in interface OFetchListener
OFetchException
public void parseLinkedCollectionValue(ODocument iRootRecord, OIdentifiable iLinked, Object iUserObject, String iFieldName, OFetchContext iContext) throws OFetchException
parseLinkedCollectionValue
in interface OFetchListener
OFetchException
public Object fetchLinkedMapEntry(ODocument iRoot, Object iUserObject, String iFieldName, String iKey, ODocument iLinked, OFetchContext iContext) throws OFetchException
fetchLinkedMapEntry
in interface OFetchListener
OFetchException
public Object fetchLinkedCollectionValue(ODocument iRoot, Object iUserObject, String iFieldName, ODocument iLinked, OFetchContext iContext) throws OFetchException
fetchLinkedCollectionValue
in interface OFetchListener
OFetchException
public Object fetchLinked(ODocument iRoot, Object iUserObject, String iFieldName, ODocument iLinked, OFetchContext iContext) throws OFetchException
OFetchListener
fetchLinked
in interface OFetchListener
OFetchException
public void skipStandardField(ODocument iRecord, String iFieldName, OFetchContext iContext, Object iUserObject, String iFormat) throws OFetchException
skipStandardField
in interface OFetchListener
OFetchException
Copyright © 2009–2020 OrientDB. All rights reserved.