public class AcidTableSerializer extends Object
AcidTables
into strings so that they can be easily transported as
Configuration
properties.Constructor and Description |
---|
AcidTableSerializer() |
Modifier and Type | Method and Description |
---|---|
static AcidTable |
decode(String encoded)
Returns the
AcidTable instance decoded from a base 64 representation. |
static String |
encode(AcidTable table)
Returns a base 64 encoded representation of the supplied
AcidTable . |
public static String encode(AcidTable table) throws IOException
AcidTable
.IOException
public static AcidTable decode(String encoded) throws IOException
AcidTable
instance decoded from a base 64 representation.IOException
Copyright © 2021 The Apache Software Foundation. All rights reserved.