public class LazyTimestamp extends LazyPrimitive<LazyTimestampObjectInspector,TimestampWritable>
dataisNull, oi| 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(OutputStream out,
TimestampWritable i)
Writes a Timestamp in JDBC timestamp format to the output stream
|
equals, hashCode, logExceptionMessage, toStringgetInspector, getObject, setInspector, setNullpublic LazyTimestamp(LazyTimestampObjectInspector oi)
public LazyTimestamp(LazyTimestamp copy)
public void init(ByteArrayRef bytes, int start, int length)
init in interface LazyObjectBaseinit in class LazyObject<LazyTimestampObjectInspector>bytes - start - length - ByteArrayRefpublic static void writeUTF8(OutputStream out, TimestampWritable i) throws IOException
out - The output streami - The Timestamp to writeIOExceptionpublic TimestampWritable getWritableObject()
getWritableObject in class LazyPrimitive<LazyTimestampObjectInspector,TimestampWritable>Copyright © 2017 The Apache Software Foundation. All rights reserved.