Class SystemFieldDecoratorFactory
- java.lang.Object
-
- org.apache.druid.data.input.impl.systemfield.SystemFieldDecoratorFactory
-
public class SystemFieldDecoratorFactory extends Object
Decorator ofInputRowfrom anInputEntity.
-
-
Field Summary
Fields Modifier and Type Field Description static SystemFieldDecoratorFactoryNONEDecorator factory that does not generate system fields.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<InputRow,InputRow>decorator(InputEntity entity)Create a decorator for the givenInputEntity.static SystemFieldDecoratorFactoryfromInputSource(SystemFieldInputSource source)Create a decorator factory for a givenSystemFieldInputSource.
-
-
-
Field Detail
-
NONE
public static final SystemFieldDecoratorFactory NONE
Decorator factory that does not generate system fields.
-
-
Method Detail
-
fromInputSource
public static SystemFieldDecoratorFactory fromInputSource(SystemFieldInputSource source)
Create a decorator factory for a givenSystemFieldInputSource.
-
decorator
public Function<InputRow,InputRow> decorator(InputEntity entity)
Create a decorator for the givenInputEntity. AllInputRowfor a givenInputEntityhave the same value for allSystemField.
-
-