public class TableMetadataParser
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TableMetadataParser.Codec |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getFileExtension(java.lang.String codecName) |
static java.lang.String |
getFileExtension(TableMetadataParser.Codec codec) |
static java.lang.String |
getOldFileExtension(TableMetadataParser.Codec codec) |
static void |
internalWrite(TableMetadata metadata,
OutputFile outputFile,
boolean overwrite) |
static void |
overwrite(TableMetadata metadata,
OutputFile outputFile) |
static TableMetadata |
read(FileIO io,
InputFile file) |
static TableMetadata |
read(FileIO io,
java.lang.String path) |
static TableMetadata |
read(TableOperations ops,
InputFile file)
Deprecated.
will be removed in 0.9.0; use read(FileIO, InputFile) instead.
|
static java.lang.String |
toJson(TableMetadata metadata) |
static void |
write(TableMetadata metadata,
OutputFile outputFile) |
public static void overwrite(TableMetadata metadata, OutputFile outputFile)
public static void write(TableMetadata metadata, OutputFile outputFile)
public static void internalWrite(TableMetadata metadata, OutputFile outputFile, boolean overwrite)
public static java.lang.String getFileExtension(java.lang.String codecName)
public static java.lang.String getFileExtension(TableMetadataParser.Codec codec)
public static java.lang.String getOldFileExtension(TableMetadataParser.Codec codec)
public static java.lang.String toJson(TableMetadata metadata)
@Deprecated public static TableMetadata read(TableOperations ops, InputFile file)
public static TableMetadata read(FileIO io, java.lang.String path)
public static TableMetadata read(FileIO io, InputFile file)