@Immutable public class HoodieIndexingConfig extends HoodieConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
HoodieIndexingConfig.Builder |
| Modifier and Type | Field and Description |
|---|---|
static ConfigProperty<String> |
INDEX_DEFINITION_CHECKSUM |
static String |
INDEX_DEFINITION_FILE |
static String |
INDEX_DEFINITION_FILE_BACKUP |
static ConfigProperty<String> |
INDEX_FUNCTION |
static ConfigProperty<String> |
INDEX_NAME |
static ConfigProperty<String> |
INDEX_TYPE |
CONFIG_VALUES_DELIMITER, MAX_READ_RETRIES, props, READ_RETRY_DELAY_MSEC| Constructor and Description |
|---|
HoodieIndexingConfig() |
contains, contains, getBoolean, getBooleanOrDefault, getBooleanOrDefault, getBooleanOrDefault, getDouble, getDoubleOrDefault, getFloat, getFloatOrDefault, getInt, getIntOrDefault, getLong, getLongOrDefault, getProps, getProps, getSplitStrings, getSplitStrings, getString, getString, getStringOrDefault, getStringOrDefault, getStringOrThrow, setAll, setDefault, setDefaultOnCondition, setDefaults, setDefaultValue, setDefaultValue, setValue, setValuepublic static final String INDEX_DEFINITION_FILE
public static final String INDEX_DEFINITION_FILE_BACKUP
public static final ConfigProperty<String> INDEX_NAME
public static final ConfigProperty<String> INDEX_TYPE
public static final ConfigProperty<String> INDEX_FUNCTION
public static final ConfigProperty<String> INDEX_DEFINITION_CHECKSUM
public static void create(HoodieStorage storage, StoragePath metadataFolder, Properties properties) throws IOException
IOExceptionpublic static void update(HoodieStorage storage, StoragePath metadataFolder, Properties updatedProps)
public static void delete(HoodieStorage storage, StoragePath metadataFolder, Set<String> deletedProps)
public static void recover(HoodieStorage storage, StoragePath metadataFolder) throws IOException
IOExceptionpublic static long generateChecksum(Properties props)
public static boolean validateChecksum(Properties props)
public static HoodieIndexingConfig.Builder newBuilder()
public static HoodieIndexingConfig copy(HoodieIndexingConfig functionalIndexConfig)
public static HoodieIndexingConfig merge(HoodieIndexingConfig functionalIndexConfig1, HoodieIndexingConfig functionalIndexConfig2)
public static HoodieIndexingConfig fromIndexDefinition(HoodieIndexDefinition indexDefinition)
public String getIndexName()
public String getIndexType()
public String getIndexFunction()
public boolean isIndexUsingBloomFilter()
public boolean isIndexUsingLucene()
public boolean isIndexUsingColumnStats()
public boolean isIndexUsingRecordIndex()
Copyright © 2024 The Apache Software Foundation. All rights reserved.