Class SegmentMetadataFetcher
- java.lang.Object
-
- org.apache.pinot.server.api.resources.SegmentMetadataFetcher
-
public class SegmentMetadataFetcher extends Object
This is a wrapper class for fetching segment metadata related information.
-
-
Method Summary
Modifier and Type Method Description static StringgetSegmentMetadata(org.apache.pinot.segment.local.data.manager.SegmentDataManager segmentDataManager, List<String> columns)This is a helper method that fetches the segment metadata for a given segment.
-
-
-
Method Detail
-
getSegmentMetadata
public static String getSegmentMetadata(org.apache.pinot.segment.local.data.manager.SegmentDataManager segmentDataManager, List<String> columns) throws com.fasterxml.jackson.core.JsonProcessingException
This is a helper method that fetches the segment metadata for a given segment.- Parameters:
columns- Columns to include for metadata- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-