public class OJSONFetchListener extends Object implements OFetchListener
Constructor and Description |
---|
OJSONFetchListener() |
Modifier and Type | Method and Description |
---|---|
Object |
fetchLinked(ODocument iRecord,
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 iRecord,
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 |
processStandardCollectionValue(Object iFieldValue,
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.
|
void |
skipStandardField(ODocument iRecord,
String iFieldName,
OFetchContext iContext,
Object iUserObject,
String iFormat) |
public boolean requireFieldProcessing()
OFetchListener
requireFieldProcessing
in interface OFetchListener
public void processStandardField(ODocument iRecord, Object iFieldValue, String iFieldName, OFetchContext iContext, Object iusObject, String iFormat, OType filedType)
processStandardField
in interface OFetchListener
public void processStandardCollectionValue(Object iFieldValue, OFetchContext iContext) throws OFetchException
OFetchException
public Object fetchLinked(ODocument iRecord, Object iUserObject, String iFieldName, ODocument iLinked, OFetchContext iContext) throws OFetchException
OFetchListener
fetchLinked
in interface OFetchListener
OFetchException
public Object fetchLinkedMapEntry(ODocument iRecord, Object iUserObject, String iFieldName, String iKey, ODocument iLinked, OFetchContext iContext) throws OFetchException
fetchLinkedMapEntry
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 fetchLinkedCollectionValue(ODocument iRoot, Object iUserObject, String iFieldName, ODocument iLinked, OFetchContext iContext) throws OFetchException
fetchLinkedCollectionValue
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.