public class LazyDate extends LazyPrimitive<LazyDateObjectInspector,DateWritable>
dataisNull, 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(OutputStream out,
DateWritable d)
Writes a Date in SQL date format to the output stream.
|
equals, getWritableObject, hashCode, logExceptionMessage, toStringgetInspector, getObject, setInspector, setNullpublic LazyDate(LazyDateObjectInspector oi)
public LazyDate(LazyDate copy)
public void init(ByteArrayRef bytes, int start, int length)
init in interface LazyObjectBaseinit in class LazyObject<LazyDateObjectInspector>bytes - start - length - ByteArrayRefpublic static void writeUTF8(OutputStream out, DateWritable d) throws IOException
out - The output streami - The Date to writeIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.