Class NanoTime
- java.lang.Object
-
- org.apache.parquet.example.data.simple.Primitive
-
- org.apache.parquet.example.data.simple.NanoTime
-
public class NanoTime extends Primitive
-
-
Constructor Summary
Constructors Constructor Description NanoTime(int julianDay, long timeOfDayNanos)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NanoTimefromBinary(Binary bytes)static NanoTimefromInt96(Int96Value int96)intgetJulianDay()longgetTimeOfDayNanos()BinarytoBinary()Int96ValuetoInt96()StringtoString()voidwriteValue(RecordConsumer recordConsumer)-
Methods inherited from class org.apache.parquet.example.data.simple.Primitive
getBinary, getBoolean, getDouble, getFloat, getInt96, getInteger, getLong, getString
-
-
-
-
Method Detail
-
fromInt96
public static NanoTime fromInt96(Int96Value int96)
-
getJulianDay
public int getJulianDay()
-
getTimeOfDayNanos
public long getTimeOfDayNanos()
-
toBinary
public Binary toBinary()
-
toInt96
public Int96Value toInt96()
-
writeValue
public void writeValue(RecordConsumer recordConsumer)
- Specified by:
writeValuein classPrimitive
-
-