3536373839404142
super(PrimitiveObjectInspectorUtils.timestampTypeEntry); } @Override public Timestamp getPrimitiveJavaObject(Object o) { TimestampWritable writable = getPrimitiveWritableObject(o); return writable == null ? null : writable.getTimestamp(); }
521522523524525526527528529530531
int nextCalls = 0; @Override public Object next(Object previous) throws IOException { if (nextCalls == 0) { return new TimestampWritable(new Timestamp(1)); } throw new IOException("next should only be called once"); }
6465666768697071
@Override public Object getListElement(Object data, int index) { if (data == null) { return null; } LazyArray array = (LazyArray) data; return array.getListElementObject(index, separator, nullSequence); }
7374757677787980
@Override public int getListLength(Object data) { if (data == null) { return -1; } LazyArray array = (LazyArray) data; return array.getListLength(separator, nullSequence); }
8283848586878889
@Override public List<?> getList(Object data) { if (data == null) { return null; } LazyArray array = (LazyArray) data; return array.getList(separator, nullSequence); }
7071727374757677
@Override public Object getListElement(Object data, int index) { if (data == null) { return null; } LazyArray array = (LazyArray) data; return array.getListElementObject(index); }
7980818283848586
@Override public int getListLength(Object data) { if (data == null) { return -1; } LazyArray array = (LazyArray) data; return array.getListLength(); }
8889909192939495
@Override public List<?> getList(Object data) { if (data == null) { return null; } LazyArray array = (LazyArray) data; return array.getList(); }
7273747576777879
8182838485868788