public class LazyTimestamp extends LazyPrimitive<LazyTimestampObjectInspector,TimestampWritable>
data, isNull
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(java.io.OutputStream out,
TimestampWritable i)
Writes a Timestamp in JDBC timestamp format to the output stream
|
getObject, hashCode, logExceptionMessage, toString
getInspector, setInspector
public LazyTimestamp(LazyTimestampObjectInspector oi)
public LazyTimestamp(LazyTimestamp copy)
public void init(ByteArrayRef bytes, int start, int length)
init
in class LazyObjectBase
bytes
- start
- length
- ByteArrayRef
public static void writeUTF8(java.io.OutputStream out, TimestampWritable i) throws java.io.IOException
out
- The output streami
- The Timestamp to writejava.io.IOException
public TimestampWritable getWritableObject()
getWritableObject
in class LazyPrimitive<LazyTimestampObjectInspector,TimestampWritable>
Copyright © 2012 The Apache Software Foundation