Package org.apache.iceberg
Class ContentFileParser
java.lang.Object
org.apache.iceberg.ContentFileParser
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContentFile
<?> fromJson
(com.fasterxml.jackson.databind.JsonNode jsonNode, Map<Integer, PartitionSpec> specsById) static ContentFile
<?> fromJson
(com.fasterxml.jackson.databind.JsonNode jsonNode, PartitionSpec spec) static String
toJson
(ContentFile<?> contentFile, PartitionSpec spec) static void
toJson
(ContentFile<?> contentFile, PartitionSpec spec, com.fasterxml.jackson.core.JsonGenerator generator)
-
Method Details
-
toJson
-
toJson
public static void toJson(ContentFile<?> contentFile, PartitionSpec spec, com.fasterxml.jackson.core.JsonGenerator generator) throws IOException - Throws:
IOException
-
fromJson
public static ContentFile<?> fromJson(com.fasterxml.jackson.databind.JsonNode jsonNode, PartitionSpec spec) -
fromJson
public static ContentFile<?> fromJson(com.fasterxml.jackson.databind.JsonNode jsonNode, Map<Integer, PartitionSpec> specsById)
-