public interface FastStreamingDocsCallback
Modifier and Type | Method and Description |
---|---|
default void |
endDoc(Object docObj)
A document ends
|
void |
field(DataEntry field,
Object docObj)
FOund a new field
|
default Object |
initDocList(Long numFound,
Long start,
Float maxScore)
callback for a doclist
|
default Object |
startChildDoc(Object parentDocObj)
A new child doc starts
|
Object |
startDoc(Object docListObj)
Started a document
|
default Object initDocList(Long numFound, Long start, Float maxScore)
startDoc(Object)
} calls. return null if nothing needs to be sharedObject startDoc(Object docListObj)
docListObj
- This object is the value returned by the {initDocList(Long, Long, Float)
} methodvoid field(DataEntry field, Object docObj)
field
- Read the appropriate valuedocObj
- The object returned by {startDoc(Object)
} methoddefault void endDoc(Object docObj)
docObj
- The object returned by {startDoc(Object)
} methoddefault Object startChildDoc(Object parentDocObj)
parentDocObj
- an objec that will be shared across all the {field(DataEntry, Object)
}Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.