Package com.lucidworks.apollo.pipeline
Interface Context
- All Superinterfaces:
Map<String,,Object> PropertyContext
- All Known Implementing Classes:
DefaultContext
Additional context to pass along with messages in the pipeline
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyOf()flatten()Return this context's immediate parentgetProperty(String key) <T> TgetProperty(String name, Class<T> clazz) <M> StageCallback<M>booleanhasProperty(String key) booleanisSignal()booleannewChildContext(StageCallback<?> callback) removeProperty(String key) voidsetProperties(Map<String, Object> props) voidsetProperty(String key, Object value) voidvoidsetStageCallback(StageCallback<?> stageCallback) Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from interface com.lucidworks.apollo.pipeline.PropertyContext
getBoolean, getBoolean, getDouble, getDouble, getInt, getInt, getLong, getLong, getString, getString
-
Field Details
-
PipelineId
- See Also:
-
PipeLineInstanceId
- See Also:
-
JobId
- See Also:
-
Simulate
- See Also:
-
Signal
- See Also:
-
ThrowOnError
- See Also:
-
Echo
- See Also:
-
EchoMaxCount
- See Also:
-
Stats
- See Also:
-
COLLECTION_PROPERTY
- See Also:
-
HTTP_METHOD
- See Also:
-
ASYNC
- See Also:
-
REQUEST_HANDLER
- See Also:
-
EXCLUDE_EXTENSIONS
- See Also:
-
SIMULATE
- See Also:
-
STAGE_INDEX
- See Also:
-
REQUEST_PARAMS
- See Also:
-
RESPONSE_TRANSFORMER
- See Also:
-
AUTHZ_CONTEXT
- See Also:
-
DEBUG
- See Also:
-
INNER_PIPELINE
- See Also:
-
REQUEST_CONTENT_TYPE
- See Also:
-
REQUEST_HEADERS
- See Also:
-
EndOfBatchSignal
- See Also:
-
SolrCommitSignal
- See Also:
-
SolrDeleteByIdSignal
- See Also:
-
SolrDeleteByQuerySignal
- See Also:
-
EXPERIMENT_ID
- See Also:
-
EXPERIMENT_VARIANT
- See Also:
-
EXPERIMENT_COLLECTION_FOR_SIGNALS
- See Also:
-
ANNOTATED_QUERY
- See Also:
-
-
Method Details
-
copyOf
Context copyOf() -
newChildContext
Context newChildContext() -
newChildContext
-
getParentContext
Return this context's immediate parent- Returns:
-
isSignal
boolean isSignal() -
isSignal
-
getSignal
Optional<Context.Signal> getSignal() -
setSignal
-
clearSignal
void clearSignal() -
set
- Specified by:
setin interfacePropertyContext
-
getProperty
-
hasProperty
-
getProperty
-
setProperty
-
removeProperty
-
setProperties
-
getRequestHeaders
-
flatten
-
getStageCallback
-
setStageCallback
-