Package cz.o2.proxima.core.transform
Interface ElementWiseProxyTransform
-
- All Superinterfaces:
DataOperatorAgnostic
,DataOperatorAware
,ProxyTransform
,java.io.Serializable
- All Known Implementing Classes:
IdentityTransformation
@Evolving public interface ElementWiseProxyTransform extends ProxyTransform, DataOperatorAgnostic
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ElementWiseProxyTransform.ProxySetupContext
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static ElementWiseProxyTransform
composite(ElementWiseProxyTransform... transforms)
static ElementWiseProxyTransform
droppingUntilCharacter(char character, java.lang.String rawPrefix)
static ElementWiseProxyTransform
from(UnaryFunction<java.lang.String,java.lang.String> fromProxy, UnaryFunction<java.lang.String,java.lang.String> toProxy)
java.lang.String
fromProxy(java.lang.String proxy)
Apply transformation to attribute name from proxy naming.static ElementWiseProxyTransform
identity()
static ElementWiseProxyTransform
renaming(java.lang.String proxy, java.lang.String raw)
Proxy renaming attribute.default void
setup(AttributeDescriptor<?> target)
Deprecated.default void
setup(ElementWiseProxyTransform.ProxySetupContext context)
Setup this transform with specified target and source attribute.java.lang.String
toProxy(java.lang.String raw)
Apply transformation to attribute name to proxy naming.-
Methods inherited from interface cz.o2.proxima.core.transform.DataOperatorAgnostic
isContextual, isDelegateOf
-
Methods inherited from interface cz.o2.proxima.core.transform.DataOperatorAware
as
-
Methods inherited from interface cz.o2.proxima.core.transform.ProxyTransform
asContextual, asElementWise
-
-
-
-
Method Detail
-
identity
static ElementWiseProxyTransform identity()
-
composite
static ElementWiseProxyTransform composite(ElementWiseProxyTransform... transforms)
-
renaming
static ElementWiseProxyTransform renaming(java.lang.String proxy, java.lang.String raw)
Proxy renaming attribute.- Parameters:
proxy
- name of proxy attributeraw
- name of raw attribute- Returns:
- the transform performing the rename operation
-
droppingUntilCharacter
static ElementWiseProxyTransform droppingUntilCharacter(char character, java.lang.String rawPrefix)
-
from
static ElementWiseProxyTransform from(UnaryFunction<java.lang.String,java.lang.String> fromProxy, UnaryFunction<java.lang.String,java.lang.String> toProxy)
-
fromProxy
java.lang.String fromProxy(java.lang.String proxy)
Apply transformation to attribute name from proxy naming.- Parameters:
proxy
- name of the attribute in proxy namespace- Returns:
- the raw attribute
-
toProxy
java.lang.String toProxy(java.lang.String raw)
Apply transformation to attribute name to proxy naming.- Parameters:
raw
- the raw attribute name- Returns:
- the proxy attribute name
-
setup
@Deprecated default void setup(AttributeDescriptor<?> target)
Deprecated.Setup this transform for given target attribute.- Parameters:
target
- the target attribute descriptor
-
setup
default void setup(ElementWiseProxyTransform.ProxySetupContext context)
Setup this transform with specified target and source attribute.- Parameters:
context
- context of the setup
-
-