public class HoodieIndexMetadata extends Object implements Serializable
| Constructor and Description |
|---|
HoodieIndexMetadata() |
HoodieIndexMetadata(Map<String,HoodieIndexDefinition> indexDefinitions) |
| Modifier and Type | Method and Description |
|---|---|
static HoodieIndexMetadata |
fromJson(String json)
Deserialize from JSON string to create an instance of this class.
|
Map<String,HoodieIndexDefinition> |
getIndexDefinitions() |
void |
setIndexDefinitions(Map<String,HoodieIndexDefinition> indexDefinitions) |
String |
toJson()
Serialize this object to JSON string.
|
String |
toString() |
public HoodieIndexMetadata()
public HoodieIndexMetadata(Map<String,HoodieIndexDefinition> indexDefinitions)
public Map<String,HoodieIndexDefinition> getIndexDefinitions()
public void setIndexDefinitions(Map<String,HoodieIndexDefinition> indexDefinitions)
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException - If any serialization errors occur.public static HoodieIndexMetadata fromJson(String json) throws IOException
json - Input JSON string.IOException - If any deserialization errors occur.Copyright © 2024 The Apache Software Foundation. All rights reserved.