public class ConstraintsSerializer extends Object implements JsonWriter.Serializer
UTF_8
Constructor and Description |
---|
ConstraintsSerializer(List<SQLPrimaryKey> pks,
List<SQLForeignKey> fks,
List<SQLUniqueConstraint> uks,
List<SQLNotNullConstraint> nns,
HiveConf hiveConf) |
Modifier and Type | Method and Description |
---|---|
void |
writeTo(JsonWriter writer,
ReplicationSpec additionalPropertiesProvider) |
public ConstraintsSerializer(List<SQLPrimaryKey> pks, List<SQLForeignKey> fks, List<SQLUniqueConstraint> uks, List<SQLNotNullConstraint> nns, HiveConf hiveConf)
public void writeTo(JsonWriter writer, ReplicationSpec additionalPropertiesProvider) throws SemanticException, IOException
writeTo
in interface JsonWriter.Serializer
SemanticException
IOException
Copyright © 2022 The Apache Software Foundation. All rights reserved.