public class Transformer extends Object
Modifier and Type | Field and Description |
---|---|
protected DecimalFormat |
decf |
protected DecimalFormat |
intf |
protected org.apache.commons.jexl2.JexlEngine |
jexl |
Modifier | Constructor and Description |
---|---|
protected |
Transformer(SourceSchema schema) |
Modifier and Type | Method and Description |
---|---|
static Transformer |
create(SourceSchema schema) |
protected org.apache.commons.jexl2.Expression[] |
getExpressions() |
String[] |
getHeader(boolean transform) |
SourceSchema |
getSchema() |
protected void |
setExpressions(org.apache.commons.jexl2.Expression[] expressions) |
void |
setSchema(SourceSchema schema) |
String[] |
transformRow(Object[] row,
int dateLength)
Runs all the row transformations
|
protected DecimalFormat decf
protected DecimalFormat intf
protected org.apache.commons.jexl2.JexlEngine jexl
protected Transformer(SourceSchema schema)
public static Transformer create(SourceSchema schema)
public String[] getHeader(boolean transform)
public String[] transformRow(Object[] row, int dateLength)
row
- the row datadateLength
- public SourceSchema getSchema()
public void setSchema(SourceSchema schema)
protected org.apache.commons.jexl2.Expression[] getExpressions()
protected void setExpressions(org.apache.commons.jexl2.Expression[] expressions)
Copyright © 2014. All rights reserved.