Class CredentialParser
- java.lang.Object
-
- org.apache.iceberg.rest.credentials.CredentialParser
-
public class CredentialParser extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Credential
fromJson(com.fasterxml.jackson.databind.JsonNode json)
static Credential
fromJson(java.lang.String json)
static java.lang.String
toJson(Credential credential)
static java.lang.String
toJson(Credential credential, boolean pretty)
static void
toJson(Credential credential, com.fasterxml.jackson.core.JsonGenerator gen)
-
-
-
Method Detail
-
toJson
public static java.lang.String toJson(Credential credential)
-
toJson
public static java.lang.String toJson(Credential credential, boolean pretty)
-
toJson
public static void toJson(Credential credential, com.fasterxml.jackson.core.JsonGenerator gen) throws java.io.IOException
- Throws:
java.io.IOException
-
fromJson
public static Credential fromJson(java.lang.String json)
-
fromJson
public static Credential fromJson(com.fasterxml.jackson.databind.JsonNode json)
-
-