public abstract class AnalysisEventListener<T> extends Object implements ReadListener<T>
构造器和说明 |
---|
AnalysisEventListener() |
限定符和类型 | 方法和说明 |
---|---|
void |
extra(CellExtra extra,
AnalysisContext context)
The current method is called when extra information is returned
|
boolean |
hasNext(AnalysisContext context)
Verify that there is another piece of data.You can stop the read by returning false
|
void |
invokeHead(Map<Integer,CellData> headMap,
AnalysisContext context)
When analysis one head row trigger invoke function.
|
void |
invokeHeadMap(Map<Integer,String> headMap,
AnalysisContext context)
Returns the header as a map.Override the current method to receive header data.
|
void |
onException(Exception exception,
AnalysisContext context)
All listeners receive this method when any one Listener does an error report.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doAfterAllAnalysed, invoke
public void invokeHead(Map<Integer,CellData> headMap, AnalysisContext context)
ReadListener
invokeHead
在接口中 ReadListener<T>
public void invokeHeadMap(Map<Integer,String> headMap, AnalysisContext context)
headMap
- context
- public void extra(CellExtra extra, AnalysisContext context)
extra
在接口中 ReadListener<T>
extra
- extra informationcontext
- analysis contextpublic void onException(Exception exception, AnalysisContext context) throws Exception
onException
在接口中 ReadListener<T>
exception
- context
- Exception
public boolean hasNext(AnalysisContext context)
ReadListener
hasNext
在接口中 ReadListener<T>
Copyright © 2018–2021 Alibaba Group. All rights reserved.