@InterfaceAudience.Public @InterfaceStability.Stable public class InsertEvent extends ListenerEvent
| Constructor and Description |
|---|
InsertEvent(String catName,
String db,
String table,
List<String> partVals,
org.apache.hadoop.hive.metastore.api.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
|
org.apache.hadoop.hive.metastore.api.Partition |
getPartitionObj() |
org.apache.hadoop.hive.metastore.api.Table |
getTableObj() |
boolean |
isReplace() |
getEnvironmentContext, getHandler, getIHMSHandler, getParameters, getStatus, putParameter, putParameters, setEnvironmentContextpublic InsertEvent(String catName, String db, String table, List<String> partVals, org.apache.hadoop.hive.metastore.api.InsertEventRequestData insertData, boolean status, IHMSHandler handler) throws org.apache.hadoop.hive.metastore.api.MetaException, org.apache.hadoop.hive.metastore.api.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 eventorg.apache.hadoop.hive.metastore.api.MetaExceptionorg.apache.hadoop.hive.metastore.api.NoSuchObjectExceptionpublic org.apache.hadoop.hive.metastore.api.Table getTableObj()
public org.apache.hadoop.hive.metastore.api.Partition getPartitionObj()
public boolean isReplace()
public List<String> getFiles()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.