public class InsertEvent extends ListenerEvent
Constructor and Description |
---|
InsertEvent(String db,
String table,
List<String> partVals,
InsertEventRequestData insertData,
boolean status,
HiveMetaStore.HMSHandler handler) |
Modifier and Type | Method and Description |
---|---|
String |
getDb() |
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
|
Map<String,String> |
getPartitionKeyValues() |
String |
getTable() |
getEnvironmentContext, getHandler, getParameters, getStatus, putParameter, putParameters, setEnvironmentContext
public InsertEvent(String db, String table, List<String> partVals, InsertEventRequestData insertData, 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 nullinsertData
- the inserted files & their checksumsstatus
- status of insert, true = success, false = failurehandler
- handler that is firing the eventMetaException
NoSuchObjectException
public String getDb()
public String getTable()
public Map<String,String> getPartitionKeyValues()
public List<String> getFiles()
Copyright © 2021 The Apache Software Foundation. All rights reserved.