Package org.apache.iceberg.view
Class ViewMetadataParser
- java.lang.Object
-
- org.apache.iceberg.view.ViewMetadataParser
-
public class ViewMetadataParser extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ViewMetadata
fromJson(com.fasterxml.jackson.databind.JsonNode json)
static ViewMetadata
fromJson(java.lang.String json)
static ViewMetadata
fromJson(java.lang.String metadataLocation, com.fasterxml.jackson.databind.JsonNode json)
static ViewMetadata
fromJson(java.lang.String metadataLocation, java.lang.String json)
static void
overwrite(ViewMetadata metadata, OutputFile outputFile)
static ViewMetadata
read(InputFile file)
static java.lang.String
toJson(ViewMetadata metadata)
static java.lang.String
toJson(ViewMetadata metadata, boolean pretty)
static void
toJson(ViewMetadata metadata, com.fasterxml.jackson.core.JsonGenerator gen)
static void
write(ViewMetadata metadata, OutputFile outputFile)
-
-
-
Method Detail
-
toJson
public static java.lang.String toJson(ViewMetadata metadata)
-
toJson
public static java.lang.String toJson(ViewMetadata metadata, boolean pretty)
-
toJson
public static void toJson(ViewMetadata metadata, com.fasterxml.jackson.core.JsonGenerator gen) throws java.io.IOException
- Throws:
java.io.IOException
-
fromJson
public static ViewMetadata fromJson(java.lang.String metadataLocation, java.lang.String json)
-
fromJson
public static ViewMetadata fromJson(java.lang.String json)
-
fromJson
public static ViewMetadata fromJson(com.fasterxml.jackson.databind.JsonNode json)
-
fromJson
public static ViewMetadata fromJson(java.lang.String metadataLocation, com.fasterxml.jackson.databind.JsonNode json)
-
overwrite
public static void overwrite(ViewMetadata metadata, OutputFile outputFile)
-
write
public static void write(ViewMetadata metadata, OutputFile outputFile)
-
read
public static ViewMetadata read(InputFile file)
-
-