java.lang.Object
com.google.flatbuffers.Table
org.apache.arrow.flatbuf.Time
public final class Time
extends com.google.flatbuffers.Table
Time is either a 32-bit or 64-bit signed integer type representing an
 elapsed time since midnight, stored in either of four units: seconds,
 milliseconds, microseconds or nanoseconds.
 The integer `bitWidth` depends on the `unit` and must be one of the following:
 * SECOND and MILLISECOND: 32 bits
 * MICROSECOND and NANOSECOND: 64 bits
 The allowed values are between 0 (inclusive) and 86400 (=24*60*60) seconds
 (exclusive), adjusted for the time unit (for example, up to 86400000
 exclusive for the MILLISECOND unit).
 This definition doesn't allow for leap seconds. Time values from
 measurements with leap seconds will need to be corrected when ingesting
 into Arrow (for example by replacing the value 86400 with 86399).
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class com.google.flatbuffers.Tablebb, bb_pos
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static voidaddBitWidth(com.google.flatbuffers.FlatBufferBuilder builder, int bitWidth) static voidaddUnit(com.google.flatbuffers.FlatBufferBuilder builder, short unit) intbitWidth()static intcreateTime(com.google.flatbuffers.FlatBufferBuilder builder, short unit, int bitWidth) static intendTime(com.google.flatbuffers.FlatBufferBuilder builder) static TimegetRootAsTime(ByteBuffer _bb) static TimegetRootAsTime(ByteBuffer _bb, Time obj) static voidstartTime(com.google.flatbuffers.FlatBufferBuilder builder) shortunit()static voidMethods inherited from class com.google.flatbuffers.Table__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
- 
Constructor Details- 
Timepublic Time()
 
- 
- 
Method Details- 
ValidateVersionpublic static void ValidateVersion()
- 
getRootAsTime
- 
getRootAsTime
- 
__init
- 
__assign
- 
unitpublic short unit()
- 
bitWidthpublic int bitWidth()
- 
createTimepublic static int createTime(com.google.flatbuffers.FlatBufferBuilder builder, short unit, int bitWidth) 
- 
startTimepublic static void startTime(com.google.flatbuffers.FlatBufferBuilder builder) 
- 
addUnitpublic static void addUnit(com.google.flatbuffers.FlatBufferBuilder builder, short unit) 
- 
addBitWidthpublic static void addBitWidth(com.google.flatbuffers.FlatBufferBuilder builder, int bitWidth) 
- 
endTimepublic static int endTime(com.google.flatbuffers.FlatBufferBuilder builder) 
 
-