public interface Session
Record
, Field
, and other Node
subclasses to attach transient values to data flowing through the
pipeline. Values stored in session properties are ignored by Data Pipeline's readers, writers, and operators.
Note: Session is created as an interface (with one real implementation -- Session.SessionImpl
) due to Java's lack of multiple
inheritance. It is not intended to be implemented by developers.
Node
,
Record
,
Field
,
ArrayValue
,
SingleValue
,
ValueNode
Modifier and Type | Interface and Description |
---|---|
static class |
Session.SessionImpl |
Modifier and Type | Method and Description |
---|---|
<T> boolean |
containsSessionProperty(Class<T> type) |
<T> boolean |
containsSessionProperty(Class<T> type,
String name) |
boolean |
containsSessionProperty(String name) |
void |
copySessionPropertiesFrom(Session session) |
<T> T |
getSessionProperty(Class<T> type) |
<T> T |
getSessionProperty(Class<T> type,
String name) |
<T> T |
getSessionProperty(String name) |
Set<String> |
keySet() |
<T> void |
setSessionProperty(Class<T> type,
Object value) |
<T> void |
setSessionProperty(Class<T> type,
String name,
Object value) |
void |
setSessionProperty(String name,
Object value) |
<T> boolean containsSessionProperty(Class<T> type)
boolean containsSessionProperty(String name)
<T> T getSessionProperty(Class<T> type)
<T> T getSessionProperty(String name)
void copySessionPropertiesFrom(Session session)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.