public class AddDefaultConstraintHandler extends Object
EventHandler.Context
Modifier and Type | Method and Description |
---|---|
DumpType |
dumpType() |
long |
fromEventId() |
void |
handle(EventHandler.Context withinContext) |
long |
toEventId() |
protected void |
writeEncodedDumpFiles(EventHandler.Context withinContext,
Iterable<String> files,
org.apache.hadoop.fs.Path dataPath) |
protected void |
writeFileEntry(Table table,
Partition ptn,
String file,
EventHandler.Context withinContext) |
public void handle(EventHandler.Context withinContext) throws Exception
Exception
public DumpType dumpType()
public long fromEventId()
fromEventId
in interface EventHandler
public long toEventId()
toEventId
in interface EventHandler
protected void writeEncodedDumpFiles(EventHandler.Context withinContext, Iterable<String> files, org.apache.hadoop.fs.Path dataPath) throws IOException, SemanticException
IOException
SemanticException
protected void writeFileEntry(Table table, Partition ptn, String file, EventHandler.Context withinContext) throws IOException, LoginException, HiveFatalException
Copyright © 2022 The Apache Software Foundation. All rights reserved.