Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help


search: keywords: ['Java API', 'OClass', 'OIndex', 'index', 'get class involved indexes', 'getClassInvolvedIndexes']

OClass - getClassInvolvedIndexes()

This method retrieves indexes that contain the given field names as their first keys.

Retrieving Class Involved Indexes

Syntax

// METHOD 1
Set<OIndex<?>> OClass().getClassInvolvedIndexes(Collection<String> colFields)

// METHOD 2
Set<OIndex<?>> OClass().getClassInvolvedIndexes(String... strFields)
ArgumentTypeDescription
colFieldsCollection<String>Defines the fields to check
strFieldsStringDefines the fileds to check

Return Value

This method returns a Set instance that contains instances of OIndex<?> for each index that includes the given fields as first keys.