public class LazyDate extends LazyPrimitive<LazyDateObjectInspector,DateWritable>
data, isNull
oi
Constructor and Description |
---|
LazyDate(LazyDate copy) |
LazyDate(LazyDateObjectInspector oi) |
Modifier and Type | Method and Description |
---|---|
void |
init(ByteArrayRef bytes,
int start,
int length)
Initializes LazyDate object by interpreting the input bytes as a SQL date string.
|
static void |
writeUTF8(java.io.OutputStream out,
DateWritable d)
Writes a Date in SQL date format to the output stream.
|
getObject, getWritableObject, hashCode, logExceptionMessage, toString
getInspector, setInspector
public LazyDate(LazyDateObjectInspector oi)
public LazyDate(LazyDate 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, DateWritable d) throws java.io.IOException
out
- The output streami
- The Date to writejava.io.IOException
Copyright © 2012 The Apache Software Foundation