public class DateColumnVector extends LongColumnVector
ColumnVector.Type
NULL_VALUE, vector
isNull, isRepeating, noNulls, type
Constructor and Description |
---|
DateColumnVector() |
DateColumnVector(int len)
Don't use this except for testing purposes.
|
Modifier and Type | Method and Description |
---|---|
void |
changeCalendar(boolean useProleptic,
boolean updateData)
Change the calendar to or from proleptic.
|
String |
formatDate(int i) |
boolean |
isUsingProlepticCalendar()
Detect whether this data is using the proleptic calendar.
|
DateColumnVector |
setUsingProlepticCalendar(boolean usingProlepticCalendar) |
void |
shallowCopyTo(ColumnVector otherCv)
Shallow copy of the contents of this vector to the other vector;
replaces other vector's values.
|
copySelected, copySelected, ensureSize, fill, fillWithNulls, flatten, setElement, stringifyValue
decRef, flattenNoNulls, flattenPush, flattenRepeatingNulls, getRef, incRef, init, reset, setRepeating, unFlatten
public DateColumnVector()
public DateColumnVector(int len)
len
- the number of rowspublic void changeCalendar(boolean useProleptic, boolean updateData)
public String formatDate(int i)
public DateColumnVector setUsingProlepticCalendar(boolean usingProlepticCalendar)
public boolean isUsingProlepticCalendar()
public void shallowCopyTo(ColumnVector otherCv)
ColumnVector
shallowCopyTo
in class LongColumnVector
Copyright © 2021 The Apache Software Foundation. All rights reserved.