Package com.linkedin.venice.views
Class ViewUtils
java.lang.Object
com.linkedin.venice.views.ViewUtils
- Direct Known Subclasses:
ViewWriterUtils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
flatViewConfigMapString
(Map<String, ViewConfig> viewConfigMap) static VeniceView
getVeniceView
(String viewClass, Properties params, String veniceStoreName, Map<String, String> extraParameters) static Map<String,
VeniceProperties> getViewTopicsAndConfigs
(Collection<ViewConfig> viewConfigs, Properties veniceViewProperties, String storeName, int version) static Map<String,
ViewConfig> parseViewConfigMapString
(String flatViewConfigMapString)
-
Field Details
-
PARTITION_COUNT
- See Also:
-
USE_FAST_KAFKA_OPERATION_TIMEOUT
- See Also:
-
LOG_COMPACTION_ENABLED
- See Also:
-
ETERNAL_TOPIC_RETENTION_ENABLED
- See Also:
-
NEARLINE_PRODUCER_COMPRESSION_ENABLED
- See Also:
-
NEARLINE_PRODUCER_COUNT_PER_WRITER
- See Also:
-
-
Constructor Details
-
ViewUtils
public ViewUtils()
-
-
Method Details
-
getVeniceView
public static VeniceView getVeniceView(String viewClass, Properties params, String veniceStoreName, Map<String, String> extraParameters) -
flatViewConfigMapString
public static String flatViewConfigMapString(Map<String, ViewConfig> viewConfigMap) throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
parseViewConfigMapString
public static Map<String,ViewConfig> parseViewConfigMapString(String flatViewConfigMapString) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getViewTopicsAndConfigs
public static Map<String,VeniceProperties> getViewTopicsAndConfigs(Collection<ViewConfig> viewConfigs, Properties veniceViewProperties, String storeName, int version)
-