public static class PrimitiveObjectInspectorConverter.TimestampConverter extends Object implements ObjectInspectorConverters.Converter
Constructor and Description |
---|
TimestampConverter(PrimitiveObjectInspector inputOI,
SettableTimestampObjectInspector outputOI) |
Modifier and Type | Method and Description |
---|---|
Object |
convert(Object input) |
void |
setIntToTimestampInSeconds(boolean intToTimestampInSeconds) |
public TimestampConverter(PrimitiveObjectInspector inputOI, SettableTimestampObjectInspector outputOI)
public void setIntToTimestampInSeconds(boolean intToTimestampInSeconds)
public Object convert(Object input)
convert
in interface ObjectInspectorConverters.Converter
Copyright © 2016 The Apache Software Foundation. All rights reserved.