T - The type of object returned from applying this callbackpublic interface GraphCallback<T>
Session to be executed in a transaction
and with access to the underlying OGM meta-data.| Modifier and Type | Method and Description |
|---|---|
T |
apply(RequestHandler requestHandler,
Transaction transaction,
MetaData metaData)
Called by the OGM
Session in a transaction to perform some arbitrary database operation. |
T apply(RequestHandler requestHandler, Transaction transaction, MetaData metaData)
Session in a transaction to perform some arbitrary database operation.requestHandler - The RequestHandler for communication with the databasetransaction - The Transaction in which the database communication is taking placemetaData - The mapping MetaData that pertains to the current sessionnull) based on the desired behaviour of this callback functionCopyright © 2015 Neo Technology, Inc.. All rights reserved.