Package oracle.nosql.driver.ops
Class GetIndexesResult.IndexInfo
- java.lang.Object
-
- oracle.nosql.driver.ops.GetIndexesResult.IndexInfo
-
- Enclosing class:
- GetIndexesResult
public static class GetIndexesResult.IndexInfo extends Object
IndexInfo represents the information about a single index including its name and field names.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getFieldNames()
Returns the array of field names that define the index.String[]
getFieldTypes()
Returns the array of field types corresponding to the array of field names.String
getIndexName()
Returns the name of the index.String
toString()
-
-
-
Method Detail
-
getIndexName
public String getIndexName()
Returns the name of the index.- Returns:
- the index name
-
getFieldNames
public String[] getFieldNames()
Returns the array of field names that define the index.- Returns:
- the field names
-
getFieldTypes
public String[] getFieldTypes()
Returns the array of field types corresponding to the array of field names. The type is only non-null if the index is on a field of type JSON and is explicitly typed. If using a server that does not support this information, this will be null- Returns:
- the field types
- Since:
- 5.4
-
-