public class InsertEvent extends ListenerEvent
| Constructor and Description |
|---|
InsertEvent(String db,
String table,
List<String> partVals,
List<String> files,
boolean status,
HiveMetaStore.HMSHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDb() |
List<String> |
getFiles()
Get list of files created as a result of this DML operation
|
Map<String,String> |
getPartitionKeyValues() |
String |
getTable() |
getEnvironmentContext, getHandler, getStatus, setEnvironmentContextpublic InsertEvent(String db, String table, List<String> partVals, List<String> files, boolean status, HiveMetaStore.HMSHandler 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 nullstatus - status of insert, true = success, false = failurehandler - handler that is firing the eventMetaExceptionNoSuchObjectExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.