public class ScalarIndexParams extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ScalarIndexParams.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ScalarIndexParams |
create(String indexType)
Create a new ScalarIndexParams with the given index type and no parameters.
|
static ScalarIndexParams |
create(String indexType,
String jsonParams)
Create a new ScalarIndexParams with the given index type and JSON parameters.
|
String |
getIndexType() |
Optional<String> |
getJsonParams() |
String |
toString() |
public static ScalarIndexParams create(String indexType)
indexType - the index type (e.g., "btree", "zonemap", "bitmap", "inverted", "labellist",
"ngram")public static ScalarIndexParams create(String indexType, String jsonParams)
indexType - the index type (e.g., "btree", "zonemap", "bitmap", "inverted", "labellist",
"ngram")jsonParams - JSON string containing index-specific parameterspublic String getIndexType()
Copyright © 2025. All rights reserved.