public class TransformSpec extends Object
Transform
for details on how each transform works.Modifier and Type | Field and Description |
---|---|
static TransformSpec |
NONE |
Constructor and Description |
---|
TransformSpec(DimFilter filter,
List<Transform> transforms) |
Modifier and Type | Method and Description |
---|---|
<T> InputRowParser<T> |
decorate(InputRowParser<T> parser) |
boolean |
equals(Object o) |
static <T> TransformSpec |
fromInputRowParser(InputRowParser<T> parser) |
DimFilter |
getFilter() |
List<Transform> |
getTransforms() |
int |
hashCode() |
String |
toString() |
Transformer |
toTransformer()
Create a
Transformer from this TransformSpec, when the rows to be transformed do not have a known
signature. |
Transformer |
toTransformer(Map<String,ValueType> rowSignature)
Create a
Transformer from this TransformSpec, taking advantage of the known signature of the rows
to be transformed. |
public static final TransformSpec NONE
public static <T> TransformSpec fromInputRowParser(InputRowParser<T> parser)
public <T> InputRowParser<T> decorate(InputRowParser<T> parser)
public Transformer toTransformer()
Transformer
from this TransformSpec, when the rows to be transformed do not have a known
signature.public Transformer toTransformer(@Nullable Map<String,ValueType> rowSignature)
Transformer
from this TransformSpec, taking advantage of the known signature of the rows
to be transformed.Copyright © 2011–2018. All rights reserved.