Class Time

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 Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Field Summary

    Fields inherited from class com.google.flatbuffers.Table

    bb, bb_pos
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    __assign(int _i, ByteBuffer _bb)
     
    void
    __init(int _i, ByteBuffer _bb)
     
    static void
    addBitWidth(com.google.flatbuffers.FlatBufferBuilder builder, int bitWidth)
     
    static void
    addUnit(com.google.flatbuffers.FlatBufferBuilder builder, short unit)
     
    int
     
    static int
    createTime(com.google.flatbuffers.FlatBufferBuilder builder, short unit, int bitWidth)
     
    static int
    endTime(com.google.flatbuffers.FlatBufferBuilder builder)
     
    static Time
     
    static Time
     
    static void
    startTime(com.google.flatbuffers.FlatBufferBuilder builder)
     
    short
     
    static void
     

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Time

      public Time()
  • Method Details

    • ValidateVersion

      public static void ValidateVersion()
    • getRootAsTime

      public static Time getRootAsTime(ByteBuffer _bb)
    • getRootAsTime

      public static Time getRootAsTime(ByteBuffer _bb, Time obj)
    • __init

      public void __init(int _i, ByteBuffer _bb)
    • __assign

      public Time __assign(int _i, ByteBuffer _bb)
    • unit

      public short unit()
    • bitWidth

      public int bitWidth()
    • createTime

      public static int createTime(com.google.flatbuffers.FlatBufferBuilder builder, short unit, int bitWidth)
    • startTime

      public static void startTime(com.google.flatbuffers.FlatBufferBuilder builder)
    • addUnit

      public static void addUnit(com.google.flatbuffers.FlatBufferBuilder builder, short unit)
    • addBitWidth

      public static void addBitWidth(com.google.flatbuffers.FlatBufferBuilder builder, int bitWidth)
    • endTime

      public static int endTime(com.google.flatbuffers.FlatBufferBuilder builder)