@InterfaceAudience.Public @InterfaceStability.Stable public class InsertEvent extends ListenerEvent
| Constructor and Description |
|---|
InsertEvent(String catName,
String db,
String table,
List<String> partVals,
InsertEventRequestData insertData,
boolean status,
IHMSHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getFileChecksums()
Get a list of file checksums corresponding to the files created (if available)
|
List<String> |
getFiles()
Get list of files created as a result of this DML operation
|
Partition |
getPartitionObj() |
Table |
getTableObj() |
boolean |
isReplace() |
getEnvironmentContext, getHandler, getIHMSHandler, getParameters, getStatus, putParameter, putParameters, setEnvironmentContextpublic InsertEvent(String catName, String db, String table, List<String> partVals, InsertEventRequestData insertData, boolean status, IHMSHandler handler) throws MetaException, NoSuchObjectException
db - name of the database the table is intable - name of the table being inserted intopartVals - list of partition values, can be nullinsertData - the inserted files and their checksumsstatus - status of insert, true = success, false = failurehandler - handler that is firing the eventMetaExceptionNoSuchObjectExceptionpublic Table getTableObj()
public Partition getPartitionObj()
public boolean isReplace()
public List<String> getFiles()
Copyright © 2024 The Apache Software Foundation. All rights reserved.