public class MetaDataExportListener extends MetaStorePreEventListener
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
MetaDataExportListener(org.apache.hadoop.conf.Configuration config)
Configure the export listener
|
Modifier and Type | Method and Description |
---|---|
void |
onEvent(PreEventContext context)
Listen for an event; if it is a DROP_TABLE event, call export_meta_data
|
getConf, setConf
public MetaDataExportListener(org.apache.hadoop.conf.Configuration config)
public void onEvent(PreEventContext context) throws MetaException, NoSuchObjectException, InvalidOperationException
onEvent
in class MetaStorePreEventListener
MetaException
NoSuchObjectException
InvalidOperationException
Copyright © 2016 The Apache Software Foundation. All rights reserved.