Package com.oracle.bmc.nosql.model
Class IndexKey.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.model.IndexKey.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexKey
build()
IndexKey.Builder
columnName(String columnName)
The name of a column to be included as an index key.IndexKey.Builder
copy(IndexKey model)
IndexKey.Builder
jsonFieldType(String jsonFieldType)
If the specified column is of type JSON, jsonFieldType contains the type of the field indicated by jsonPath.IndexKey.Builder
jsonPath(String jsonPath)
If the specified column is of type JSON, jsonPath contains a dotted path indicating the field within the JSON object that will be the index key.
-
-
-
Method Detail
-
columnName
public IndexKey.Builder columnName(String columnName)
The name of a column to be included as an index key.- Parameters:
columnName
- the value to set- Returns:
- this builder
-
jsonPath
public IndexKey.Builder jsonPath(String jsonPath)
If the specified column is of type JSON, jsonPath contains a dotted path indicating the field within the JSON object that will be the index key.- Parameters:
jsonPath
- the value to set- Returns:
- this builder
-
jsonFieldType
public IndexKey.Builder jsonFieldType(String jsonFieldType)
If the specified column is of type JSON, jsonFieldType contains the type of the field indicated by jsonPath.- Parameters:
jsonFieldType
- the value to set- Returns:
- this builder
-
build
public IndexKey build()
-
copy
public IndexKey.Builder copy(IndexKey model)
-
-