Package org.apache.iceberg.catalog
Class TableIdentifierParser
java.lang.Object
org.apache.iceberg.catalog.TableIdentifierParser
Parses TableIdentifiers from a JSON representation, which is the JSON representation utilized in
the REST catalog.
For TableIdentifier.of("dogs", "owners.and.handlers", "food"), we'd have the following JSON representation, where the dot character of an individual level is in the namespace is replaced by the unit separator byte character.
{
"namespace": ["dogs", "owners.and.handlers"],
"name": "food"
}
-
Method Summary
Modifier and TypeMethodDescriptionstatic TableIdentifierfromJson(com.fasterxml.jackson.databind.JsonNode node) static TableIdentifierstatic StringtoJson(TableIdentifier identifier) static StringtoJson(TableIdentifier identifier, boolean pretty) static voidtoJson(TableIdentifier identifier, com.fasterxml.jackson.core.JsonGenerator generator)
-
Method Details
-
toJson
-
toJson
-
toJson
public static void toJson(TableIdentifier identifier, com.fasterxml.jackson.core.JsonGenerator generator) throws IOException - Throws:
IOException
-
fromJson
-
fromJson
-