public class LazyTimestamp extends LazyPrimitive<LazyTimestampObjectInspector,TimestampWritable>
data, isNulloi| Constructor and Description |
|---|
LazyTimestamp(LazyTimestamp copy) |
LazyTimestamp(LazyTimestampObjectInspector oi) |
| Modifier and Type | Method and Description |
|---|---|
TimestampWritable |
getWritableObject() |
void |
init(ByteArrayRef bytes,
int start,
int length)
Initilizes LazyTimestamp object by interpreting the input bytes
as a JDBC timestamp string
|
static void |
writeUTF8(java.io.OutputStream out,
TimestampWritable i)
Writes a Timestamp in JDBC timestamp format to the output stream
|
getObject, hashCode, logExceptionMessage, toStringgetInspector, setInspectorpublic LazyTimestamp(LazyTimestampObjectInspector oi)
public LazyTimestamp(LazyTimestamp copy)
public void init(ByteArrayRef bytes, int start, int length)
init in class LazyObjectBasebytes - start - length - ByteArrayRefpublic static void writeUTF8(java.io.OutputStream out,
TimestampWritable i)
throws java.io.IOException
out - The output streami - The Timestamp to writejava.io.IOExceptionpublic TimestampWritable getWritableObject()
getWritableObject in class LazyPrimitive<LazyTimestampObjectInspector,TimestampWritable>Copyright © 2012 The Apache Software Foundation