ODtabaseDocument - declareIntent()

Declares an intent for the database. This defines common use-cases in order to optimize execution.

Declaring Intents

OrientDB supports three intents: OIntentMassiveInsert, OIntentMassiveRead, OIntentNoCache. They are all sub-classes of the OIntent class. Using this method, you can activate an intent for the database.

Syntax

boolean ODatabaseDocument().declareIntent(OIntent intent)
Argument Type Description
intent OIntent Defines the intent you want to enable.

Return Type

This method returns a boolean instance, indicating whether the intent was successfully enabled.

results matching ""

    No results matching ""